Loading and unloading several movies in the same time line

i’m having this HUGE problem that has me paralyzed. I know hot to load and unload movies with the telltarget action…But that works only with one or two movies…i need to do it with 13…i already tried the variables wich i will include:

for the buttons:
on(press){
nNumber = 1
}

for the button that reveals the menu:
on(press){
if(!nFade){
nFade = true
} else {
nFade = false
}
}

for the menu that contains all the buttons:
onClipEvent(load){
_alpha = 0
}
onClipEvent(enterFrame){
if(_root.nFade == true && _alpha <= 100){
_alpha += 15
}else if(_root.nFade == false && _alpha >= 0){
_alpha -=15
}
}

for the movies:
onClipEvent(enterFrame){
if(_root.nNumber == 1){
_visible = true
}else{
_visible = false
}
}

any idea?..i’m desperate…i’ve been on this for a week now…and i HAVE to finish it by sunday…any help will be greatly appreciated…
8o

I don’t understand what you’re trying to do…
pom 0]

hey ilyas…it’s the same thing you tried to explain me a couple of days ago…

i need to load and unload 13 movies in the same scene…

i have a button (a) that triggers a movie that contains a menu(b)…that menu has 10 buttons that should load 10 movies…the problem is that i cant make them disappear…

right now, with that code NOTHING works…
8o

anyone?

Tomorrow. |I :x

pom 0]

on(press){
_root.nNumber = 1
}

That should solve it. But I sent you another e-mail.

I got some results…it’s going ok…please if anyone can, check the .fla here:
mangrove.fla

and the .swf here:
mangrove

the buttons that work are: “high low tide” and “sonidos del mangle”

the problem is: i need that when you press any button, the movie that is active, currently on screen, disappear.

is that possible?..

i thought I answered that in my e-mail? Actually I’m sure I did. Thats what my e-mail was targeted at. Wuts the code?

hey jubba thanx…

didn’t u get my last email?

the problem im having is that i have to press the button twice to make the movie appear…then i have to press it again to make it disappear…

capisci? :slight_smile:

oh yeah, I’ll get you an answer tonight. Can it wait until say, 8pm EST?

I just got your e-mail. i’ll have it for ya soon.

of course!!!

no prob with that…

thanx again man!!!

I’ll post and send an e-mail

Put this on the movie clips:

onClipEvent(load){
_alpha = 0
}
onClipEvent(enterFrame){
if(_root.movie == 1 && _alpha <= 100){
_alpha += 20
}else if(_alpha >= 0){
_alpha -= 20
}
}

the only number you have to change is the “_root.movie == 1” and change it to account for different movie clips, the next one would be 2, then 3, 4, 5, etc, etc…

on the buttons do this:

on(press){
movie = 1
}

And change the numbers to coorespond to each movie that you want to appear or disappear. This worked for me. Try it. Let me know.

jubba it doesn’t work…i don’t know why…i’m doing exactly what you’re saying…

any idea?

:frowning:

make sure you are changing the numbers on both the buttons and the movieclips to coorespond to what you are trying to do. If you want to post the updated FLA I can take a look at it on my roommates computer.

no, the problem is that the buttons doesn’t link to the movie…

???

:frowning:

i’m updating the .fla

mangrove.fla

go there in about…i don’t know it’s uploading at 108 Kbps and is now at about 50%…

:confused:

it worked!!!

i just added _root to the button…

on(press)
_root.movie = 1

ok good.

number 994 jubba! tis getting closer:)

hey jubba i’m having a small problem…

there’s a kind of “glitch” (i don’t know if that’s a correc term)…but the problem is that the movies loaded are in a kind of loop…it has to do with the alpha action…i think

any idea?..if needed, check it out here:
mangrove

thanx a lot…

8o