Hi am was wondering when I load a movie into an empty MC...and it is in the foreground....how do you close the movie...or make it stop?
Example: I have 3 menu options that come to the foreground with 75% transparency..there is a close button on the menu options but what action do I use to terminate the menu movies?
ContainerMC would be the instance name of the Movieclip you loaded your external movie into. Just place the function above on the frame that contains your movieclip and it should work. I also attached a sample file to help you as well, I hope that is what you're looking for.
Hmmm....I've used a similar setup and this is the method I use cause I think it's easier. Instead of using a empty moviecip that is sitting on the stage, we'll use createEmptyMovieClip which will create a empty movieclip so that you can load your external swf into. So on the button that loads the external swf, apply this script:
Yeah, those define the x and y cordinates of where your movieclip will be placed. You can actually replace Stage.width/2 and Stage.width/4 with actual numbers instead. Something like this:
_root.emptyMC._x = 50
_root.emptyMC._y = 50
Just play around and plug in different numbers and see what happens.