2
votes

I appreciate loading AS2 into AS3 is never going to be fun, but unfortunately I have to on this one.

I'm using the Loader Class in AS3 to load an external AS2 SWF onto the stage as a AVM1Movie Object. Anything that is placed on the stage in the AS2 FLA displays fine, but no ActionScript runs at all.

The loaded AS2 SWF has one layer, one frame and a few images in the library but nothing heavy. I've tried stripping everything out of the script other than a simple call to change the text on a dynamic textfield on the stage - still nothing.

I have a listener in AS3 waiting for Event.INIT rather than Event.COMPLETE - but neither works.

Am I missing something? Anyone else experienced anything similar? It's like it loads but doesn't run.

1

1 Answers

0
votes

AVM1 movieclip actionscript would not run by itself in AVM2 enironment. You will have to wrtie a wrapper for the same using LocalConnection.

check out an example here http://www.actionscript.org/forums/showthread.php3?t=116805