PDA

View Full Version : 3 SWF loadMovie & loadMovieNum


aelmassry214
05-25-2008, 11:43 AM
I am making a web site that the main window has 3 buttons, each button is to load a SWF file.

When I tried the loadMovie method the the first SWF only appears, the other two buttons does not load their SWF file.

However when I tried the loadMovieNum, all of the SWFs appear ok, but I cannot click on the buttons in side every SWF, while the buttons were working with the loadMovie method.

Any help Please

Sekhar
05-25-2008, 02:14 PM
In AS3, use Loader() to load the SWFs - I'm assuming you're using AS3 since you posted in the AS3 forum. E.g.,

var loader:Loader = new Loader();
loader.load(new URLRequest("Clip1.swf"));
addChild(loader);

aelmassry214
05-25-2008, 03:57 PM
Thanks Sekhar, since I am customizing a template, and I am using Flash CS3, so I assumed that I am using AS3, but when I opened th publishing menu, it was AS1.

The code, as you said, will not work with AS3, so I am stuck with AS1 since there are other commands that I do not want to change right now. any suggestions please.