Groups | Blog | Home
all groups > flash actionscript > december 2006 >

flash actionscript : Loading an external SWF


macccc
12/31/2006 4:14:51 PM
I am just trying to load an external SWF into the background of my main Flash
movie. Basically, I have these clouds in one SWF that I want to play in the
background of my main movie. I have tried to use the LoadMovie option, but to
no success. I am not sure I am using the TARGET function correctly... can
anyone help this idiot???
arunbe
12/31/2006 7:43:20 PM
Can you see your code ???
arunbe
12/31/2006 7:43:26 PM
Can I see your code ???
Shandy Elliott
1/1/2007 9:13:39 AM
All depends on what you are trying to load that cloud swf file into. Do you
have an empty movie clip somewhere on your main stage? You can do something
like

mcEmptyClip.loadMovie ("name of swf file.swf");

mcEmptyClip would be the empty clip on your main timeline.
Otherwise, you could load the cloud swf into a level (does anyone load into
levels anymore)? I never used levels, but I would create an empty movie clip
and place on the main stage (give it an instance name), then depending on what
else you have going on, should be able to use the code above.
AddThis Social Bookmark Button