View Full Version : yet another nobish question
snake13
02-29-2004, 08:38 PM
How can I open another swf/exe (flash movie) with a button?
you could use something like:
on(release){
loadMovie("file.swf","targetMovieClip");
}
snake13
02-29-2004, 09:17 PM
Thank you but I don't really understand targetMovieClip. Is that movie clip in the same movie as the button or is it in the one that I'm loading? And should I leave it blank or what?
When you load another swf, you generally want to load it somewhere specific. For example, lets the SWF you are about to load is just a scrolling text box and you want it location to be specific. You can place an empty movie clip on the stage, give it an instance name. When you load the SWF, you can load it into that movieclip, hence, the targetMovieClip. Or you can just use a level.
loadMovie("File.swf", 1);
The targetMovieClip can be a movieclip, or level.
jubei
03-01-2004, 08:57 PM
Shouldn't it be "loadMovieNum" if it's a level?
Yes, you're correct, my mistake. LoadMovie for targeted clips, and LoadMovieNum for levels.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.