# unloadMovieNum

**URL:** <https://forum.kirupa.com/t/unloadmovienum/29962>\
**Category:** flash\
**Created:** [September 2, 2003, 2:23pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962 "2003-09-02T14:23:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahaab](https://avatars.discourse-cdn.com/v4/letter/a/a3d4f5/32.png) [@ahaab](https://forum.kirupa.com/u/ahaab)\
**Post date:** [September 2, 2003, 2:23pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/1 "2003-09-02T14:23:06Z")

</div>

hello there!  
thanks for helping hand…

In triing to discover if you can program button whit as to:  
unload swf placed level 0 and load another one but jumping to secondary scene.  
please miracle needed… site navigation dependent…

thanks  
Ahaab…Portugal:)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 2:56pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/2 "2003-09-02T14:56:15Z")

</div>

[AS]unloadMovie(0);  
loadMovieNum(“othermovie.swf”, 0);  
gotoAndPlay(“scene2”,1);[/AS]

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 4:42pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/3 "2003-09-02T16:42:32Z")

</div>

There’s no need to unload level 0 just to load it again. When you load a movie into a level that already has a movie it is “pushed” out and replaced by that new movie.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 4:53pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/4 "2003-09-02T16:53:50Z")

</div>

I know, it’s just to show it can be used.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:06pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/5 "2003-09-02T17:06:29Z")

</div>

am i to understand that if you load amovie to te 0 level  
it replaces te main siting on and if you unload it the main is still there.  
you got me confused.  
i believed that the main was discarded and you had to load it again

a i wright:azn:

or am i wrong:block:

advice on loading the movies form level1 to n (thei stay on cache)  
and no need to load again.  
or: chgoose a circular navigatio that loads and unloads the swf’s to the same level.  
thanks for great helpping spirit.  
Ahaab

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:13pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/6 "2003-09-02T17:13:24Z")

</div>

Loading a movie to level 0 places it on level0 (which is \_root), so it will replace everything on stage. If you load another movie to \_level0, the one that’s currently in it will be kicked out and the new one will be loaded. unloadMovie only kicks it out, it doesn’t load another. But since you unload \_level0, everything disapears.

> advice on loading the movies form level1 to n (thei stay on cache)  
> and no need to load again.  
> or: chgoose a circular navigatio that loads and unloads the swf’s to the same level.  
> thanks for great helpping spirit.

Wowow, slow down. What ?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 5:32pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/7 "2003-09-02T17:32:21Z")

</div>

you jus confirmed a almost centaity i had…thanks.

the question is i have several external swf files for a furniture maker(kind of gallery)that the user is suposed to load.  
do you advice on a unloadMovieNum/loadMovieNum navigation

when possible i will uploadit for you to have a pre-view

sorry for confusion as is not my speciality…  
:sure:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 2, 2003, 6:23pm UTC](https://forum.kirupa.com/t/unloadmovienum/29962/8 "2003-09-02T18:23:28Z")

</div>

Err … I don’t get what you are asking 😛

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2003, 8:53am UTC](https://forum.kirupa.com/t/unloadmovienum/29962/9 "2003-09-03T08:53:04Z")

</div>

if you want i send you fla example for you to see. they are too big about 220K to upload.

what i am trying to do here is setting up a circular kind of navigation. i will post drawn sceme

greetings… ahaab.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 3, 2003, 9:15am UTC](https://forum.kirupa.com/t/unloadmovienum/29962/10 "2003-09-03T09:15:05Z")

</div>

here goes a drawing of a navigation sceme.  
minding the sise of the files, you consider to be best to tell buttons to load or unload each one at a time or load them to diferent levels.  
clear now

:whistle:

thanks…Ahaab
