PDA

View Full Version : AS3 loads AS2 swf. AS2 swf not displayed


darbar
07-20-2007, 09:12 PM
Hi all,

I have written an AS3 class that loads an AS2 swf. The AS3 code successfully communicates to the AS2 swf via local connections, and the AS2 swf successfully runs its code. However, I can't get the AS2 swf to display within my AS3 class.

What I did to troubleshoot was to modify the Loader.load call in the AS3 class to load a JPEG rather than the AS2 swf. The jpeg successfully displayed.

This same AS2 swf is displayed fine if it is loaded in another AS2 swf.

Is there some known issue with trying to display an AS2 swf in AS3? Is it a virtual machine issue? Is there something special I have to do to get it to display?

Thanks,
D