Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : Loading Movie Clips


seb
6/16/2004 7:52:54 PM

You can load external .swf in a .swf.
So make the clip you want to load as a separate movie (another flash
document), publish it, and load it in the main movie whenever you want.

If you've already built the MC in your main movie, copy that MC, start a
new document, and paste that MC in it. Then delete it in the main movie.

I'd recommend you make an empty MC in your main movie to "hold" the
external movie you load.
Let's say you make an empty MC and call it (instance name it) McHolder.
in a keyframe of your main movie, here's the code you need, to load the
external .swf:

_root.McHolder.loadMovie ("yourMovieName.swf");

Place McHolder wherever you want the loading movie to be placed.


[quoted text, click to view]

Talking Wall
6/16/2004 10:25:10 PM
AddThis Social Bookmark Button