PDA

View Full Version : Are AS3 movieclips in a AS2 website possible?



Login418
March 30th, 2008, 09:21 AM
I have built and uploaded a website created in Flash with AS2. I bought a really cool Papervision AS3 animation from FlashDen that I want use as one of my webpages. Is it true that an AS3 movieclip won't work if I load it into a AS2 scene? Does this mean I have convert the entire site to AS3 or just the main scene? What should I do? I don't know AS3:diss:

K2xL
March 30th, 2008, 10:23 AM
I have built and uploaded a website created in Flash with AS2. I bought a really cool Papervision AS3 animation from FlashDen that I want use as one of my webpages. Is it true that an AS3 movieclip won't work if I load it into a AS2 scene? Does this mean I have convert the entire site to AS3 or just the main scene? What should I do? I don't know AS3:diss:



Yes, an AS3 movieclip won't work in an AS2 scene as they use different virtual machines. Yes in order to use that animation you'll have to convert your site to AS3.

Or what you can do is create a wrapper SWF in AS3 AVM2 and load the AVM (AS2) SWF into the AS3 file. Then you can externally load the AS3 papervision from the wrapper too.

It's theory, but it could work.

-Danny