all groups > flash actionscript > november 2006 >
You're in the

flash actionscript

group:

loadMovieNum and unloadMovieNum


loadMovieNum and unloadMovieNum izulismail
11/28/2006 10:32:47 PM
flash actionscript:
Hi there first of all i'm begginer.

i have main.swf that call contact .swf use

[Q] loadMovieNum("http://www.mysite.net/contact.swf", 1); [/Q]

Then to unload the movie clip contact.swf i use

[Q] unloadMovieNum(1); [/Q]

the problem is movie clip contact.swf failed to unload, and for your
information unload command was write in contact.swf.

Thanks in advanced


Re: loadMovieNum and unloadMovieNum kglad
11/29/2006 2:32:10 AM
Re: loadMovieNum and unloadMovieNum izulismail
12/10/2006 12:00:00 AM
It's not a typo, because when i run the swf on my machine everything is o.k

this is how i work...

---> master.exe ( on my machine ) load main.swf ( on my server ).

---> main.swf load contact.swf via button on main.swf

---> to unload contact.swf , i use button on contact.swf



Re: loadMovieNum and unloadMovieNum kglad
12/10/2006 4:00:28 PM
Re: loadMovieNum and unloadMovieNum izulismail
12/12/2006 1:45:07 PM
Re: loadMovieNum and unloadMovieNum j_mancini
12/12/2006 2:19:36 PM
I am building a game in Flash, and to load many instances of 5 different movie
clips, I've used the following command:

_root.attachMovie("animtesla", "animtesla"+teslacounter+"_mc",
_root.getNextHighestDepth(), {_x:380, _y:210});

It works great, but once I get the "game over" screen, I want all the
instances to disappear. I tried the removeMovieClip function, but it won't
unload them.

Please help!
Re: loadMovieNum and unloadMovieNum kglad
12/12/2006 3:27:04 PM
Re: loadMovieNum and unloadMovieNum kglad
12/12/2006 3:32:49 PM
Re: loadMovieNum and unloadMovieNum izulismail
12/12/2006 5:57:21 PM
i put my unloadMovieNum() statement in contact.swf .

first i load contact.swf from main.swf.

to unload i use button that reside in contact.swf

this is link to http://liquid.radioaktif.net/~noreen/contact.fla

you can find my unloadMovieNum() statement in button close
AddThis Social Bookmark Button