NEW: Papervision3D Component 2.1

10 08 2009

I’ve just posted the latest version of the component for the Flash IDE:

http://code.google.com/p/papervision3d/downloads/list

It’s been a long long wait and I’ve been handing the component out at Flash conferences and classes that I’ve taught, but was waiting for Flash CS4 to be fixed to work with my component.  CS4 has alot of known issues with components, Adobe is well aware of the issues that cause my component not to work and I’m sure it’ll be fixed down the road sometime.

So for now, the component will only work in Flash CS3 IDE.

New Features and bug fixes:

1.  new Materials panel – now you can deal with your materials through this panel that Andy Zupko added oh so long ago ;)

2.  Code Templates:  I’ve put in 2 templates for writing code against the component all flushed out with all the event listeners etc.

3.  Many bugs fixed

Thanks all, and enjoy!

John


Actions

Information

25 responses

10 08 2009
10 08 2009
samBrown

thanks for the update – this is awesome.

10 08 2009
localToGlobal » Blog Archive » news review -> 32th week of 2009

[...] NEW: Papervision3D Component 2.1 by neoriley [...]

10 08 2009
makc

did you open any bugs at adobe jira that we can vote for?

10 08 2009
neoriley

No, they already know about it ;) The vote would be for “fix CS4′s support for components”!

12 08 2009
makc

yeah but I sort of expected to read juicy details in the bug report :)

10 08 2009
dim

incredible – thanks a lot

11 08 2009
danny

Hey John,

I was wondering what issues you were having with CS4 components. I recently was dealing with a few but glad to say I found workarounds.

12 08 2009
André

I always create components in flash CS4 and all of them works very well… maybe you´re forgetting to wrap something… the only bug i´ve noticed in CS4 is when your OS language is different of the flash language, if you double click the component to install it will not list in flash, you need to open flash, goto help menu them extension manager, it will open the extension manager in the same language of flash, not the same language of the OS… i´ve made a component that creates code hints for AS3, and it works only for flash CS4…

12 08 2009
neoriley

it’s not on *my* end this time, it’s a confirmed bug with the IDE not updating the stage. My component relies on being able to get the 5 EnterFrame events that are afforded a component so that I can make visual updates. That feature is broken and therefore, so is my component in CS4

12 08 2009
makc

what about timeouts?

12 08 2009
danny

Are you talking about live preview updates ?

12 08 2009
neoriley

yeah, i’m trying to remember back as it’s been a while but essentially, it had to do with the updates on the IDE Stage. In cs3, you were given 5 EnterFrame events to do your work and update the stage. In CS4, the updating of the stage or those events or both got lost. It’s been awhile since I worked on it, so I’m a little foggy on the details. Sorry about that.

12 08 2009
danny

The gist of livePreview is that you have to extend fl.livepreview.LivePreviewParent, overwrite the onLoad or onUpdate functions, and make sure you have only one movieclip on the stage.

With CS4 since fl.livepreview.LivePreviewParent isn’t available, just copy that file from CS3 locally and import it that way. However you will notice that overwriting onUpdate won’t work. You will also notice that onUpdate sets the values of the changed Component Inspector properties onto that one movieClip on the stage. So if you just write setters for those properties in that movieClip you can intercept and do what you need. Don’t bother writing traces during debug because they won’t show/fire.

Hackish, but gets the job done untill a fix is released

Hope that helps (wasted many hours of trial and error)

12 08 2009
danny

correction: ‘overwrite the onLoad or onUpdate functions’ –> ‘overwrite the onResize or onUpdate functions’

12 08 2009
neoriley

wow thanks very much Danny! I might ping you about some of this later if that’s ok?

I actually have a modified version of LivePreviewParent for my purposes since it sets properties not in any order. So I set a flag when it’s setting and when it’s done so that I can THEN update PV3D. It’s definately hackish but it worked in CS3 just fine. I hated it, but it worked.

12 08 2009
danny

Sure, glad that my sweat and tears may help someone else :)

14 08 2009
20 08 2009
André

So… got it working for CS4?

20 08 2009
neoriley

no, unfortunately, i’m working on a tight deadline and have zero time to put in right now

18 09 2009
Ankush

Hi,
I want to use the interactive3D class, but after I have added the SWC to my Project I am unable to view that class in my project, also I was unable to locate that class anywhere in the source code. could you please help me in locating what I am missing?

Thanks
Ankush

29 09 2009
flash actionscript 3.0 tutorial

i love papervision3d

18 11 2009
Grzes

papervision3d this is what I sought:)

25 11 2009
Mauricio

Please help me, how to add texture by a panel of material you have some tutorial, since the new version of PV3d Component not have any material linkage in the material list….

26 11 2009
Mauricio

How to add texture in PV3d component 2.1 …?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s




Follow

Get every new post delivered to your Inbox.