Groups | Blog | Home
all groups > flash actionscript > april 2004 >

flash actionscript : Lost in External Files


urban65
4/8/2004 10:14:21 PM
Hi people,

Hope this question is easy for any actionscripters:

I created a site which consists of a main.swf file that hold two other
external swf files (portfolio.swf and random.swf)

Basically you click on portfolio and the portfolio.swf displays, within
portfolio is a link to load an external swf file (illo1.swf) into where the
random.swf file is located on the main.swf file, how do I tell flash to open a
link from one swf file to dispaly in another, I have set up an empty_mc to load
it into but I am not sure how to target this externally.

Hope I have explained it enough, I bascially just wanna target an external swf
file.

Thanks
Lee
Ed Massey
4/9/2004 12:16:17 AM
So basically you have a parentMC(movie clip) that has 1 childMC loaded into
it already.
You want to load a second childMC into a placeholderMC in the parentMC from
the first childMC....
In the 1st childMC use:

_level0.placeHolderMC.loadMovie("2ndChildMC.swf");

hth,
Ed

AddThis Social Bookmark Button