This content has been marked as final. Show 8 replies
your swf will load into the target movieclip you use in your loadMovie() or loadClip() statement. if you want the display limited to the boundaries of the target movieclip, mask the target movieclip.
Kglad, so can you give me an example of the script that I should use. I know it is simple I just want to make sure I am using the right function. Lets say my external file is photo1.swf, and my internal MC is called wc1 and instance name water1. Do I put the AS on the frame or mc instance.
I did mask the boundry so I think t should show up in the right boundries, hopefully.
Thanks for your help. I have been reading a lot of you responses to others.
if the instance name of your target movieclip is water1, then you can mask water1 in the authoring environment and the mask will apply to anything loaded into water1. to load photo1.swf into water1 use:
much appreciated, will see how it works.
it definately tries to load the swf, but it goes back to the begining of my main movie. When I click on the button to go to the specified frame instance, instead of loading the swf it kicks back to the begining frame 1 of the main scene. I have this loading within another MC that is 4 layers deep.
this is the code I have on the button:
The 'ph2' is the frame instance that I would like the 'water1' mc to load in.
I've tried a bunch of things and it either loads just the swf without my main movie, or it just loads blank within water1.
use the trace() statement to see if if _parent is the correct path reference to the movieclip that contains your loadMovie() statement.