PDA

View Full Version : Playing other SWF files in a flash site


hinrich
03-04-2005, 01:51 PM
Hey there

I have 8 flash files all the same size, and I want to showcase them in my website. I could copy the frames into the flash file but it's too time consuming, especially later down the road when I update the animations. I figured it would make more sense to just play the published SWF files in the flash file.

I'm new to the interactive side of Flash so your help would be greatly appreciated.

Cota
03-04-2005, 03:46 PM
You can load an external SWF into your main SWF using loadMovie();, example:

movieclip.loadMovie("animation.swf");

hinrich
03-04-2005, 08:00 PM
I put the code on the frame and nothing happened. I tried attaching it to a movieclip symbol on the stage and got this:

Statement must appear within on/onClipEvent handler

:confused:

citizenvern
03-07-2005, 06:09 AM
Make sure the files are located within the same folder (and correctly named of course). The quotation marks are just for explanatory purposes. They don't actually go in the loadMovie code. Other than that... good luck.