Hi all. I am new to actionscript and having trouble running an external swf that I imported into my main fla library. The external swf I created is an image with keyboard interactivity (essentially text appearing with the image when you tap on a key). On import, I created AS 3 linkage by going into the properties window of the swf in the main library. In the properties window I gave the linkage a class name of “balloon” and checked “export for actionscript.” After that I wrote up the code in the first frame of my main Timeline to display the swf. When I test my movie the swf image appears but the text appears without any keyboard interactivity and loops on and off. I am unsure why this is happening and want the external swf to play as it would on its own. Keep in mind the external swf on its own works fine and only displays the text when a key is pressed.
Here is the code in the main fla:
import flash.display.MovieClip;
import flash.events.MouseEvent;
var myMovieClip:MovieClip = new balloon();
addChild(myMovieClip)
That is all there is so far.This is just a small test run for a bigger project. Any help would be greatly appreciated.
Thanks,
Frezno