Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

question... 1

Status
Not open for further replies.

coldfused

Technical User
Jan 27, 2001
2,442
US
say i have 5 buttons..each one of these buttons loads a movie into a level on the main movie..now what i want to do is for each button i want it to load the movie that it is suppose to(of course) and also unload the movie that is open previous to it..now i could do it with the unload movie action but i'm not sure which level to unload..you know what i mean? say if there on button 1..then they goto button 5..when they click the button to goto button 5 i need it to unload 1..

on (press) {
loadMovieNum (" 1);
unloadMovieNum (what would go here to make it unload the previous movie);
}



or am i going about this all wrong..suggestions??


e.gif


carlsatterwhite@endangeredgraphics.com
 
if their is only one movie loaded at a time then put them all on the same level that way you can always unload from the same level. Simplicity is the key. Ya' Gotta Love It!
sleepyangelsBW.jpg
 
gotcha..that was to easy..just wasn't looking at it right..thanks man..
e.gif


carlsatterwhite@endangeredgraphics.com
 
yup thanks..
e.gif


carlsatterwhite@endangeredgraphics.com
 
Guys!
From the help file:

You can load movies into level that already have SWF files loaded. If you do, the new movie will replace the existing SWF file. If you load a new movie into Level 0, every level is unloaded, and Level 0 is replaced with the new file.


As for unloadMovieNum (0);, there's no movie parameter... it just unloads the last movie loaded in the specified level.

But you don't need to use it Carl, if you're loading your new movie in the same level, as specified in the above!

;-)ldnewbie
 
so as long as i'm loading them all in the same level no need to use the unload movie command right?. it's already unloading and replacing it automatically?.

thanks..check your mail..
e.gif


carlsatterwhite@endangeredgraphics.com
 
ok guys tell me what ya think


when i load the aboutus window in and you try to drag the window it kinda lags..the window is only 3k..you know i'm guessing i could add everything to one movie in different scenes but i'm already up to 170k..and i don't want to go no more than that( thats to big really but, anyways!)..i really want to load everything else externaly but this lag thing is getting on my nerves..

any ideas...

also check out the music..1&2 tell me which one you like better..beats or ambience.. i know it is what i like that matters..but i want to know which you guys would rather hear if ya had to hear something..


and old i got the load movies into same level working i just haven't added them yet if ya wondering....
e.gif


carlsatterwhite@endangeredgraphics.com
 
compare the lag to the downloads window that is in the actual main movie..drag them both to see the difference
e.gif


carlsatterwhite@endangeredgraphics.com
 
there is a small difference in the drg but not enough to worry about i don't think.

I clicked on both of the sound buttons and nothing happens.... Ya' Gotta Love It!
sleepyangelsBW.jpg
 
ok...its working now...don't know what the problem was....I like the first one better i think with the piano...nice and dramatic;-) Ya' Gotta Love It!
sleepyangelsBW.jpg
 
I am hearing both of them playing at once now.... better do something to stop one of them when you click on the other... Ya' Gotta Love It!
sleepyangelsBW.jpg
 
jeff i do not know why you can't hear anything..weird..maybe you need to trash that version of ie you have..as for you, you old grouch i'm streaming the music because i don't want to have some stupid little loop playing the same darn thing every 10 seconds.. i really hate that..why drag so many elements, i have no idea..i was thinking of changing that downloads window to just a tranparent box stuck in the place where it is..you just convinced me to that..
e.gif


carlsatterwhite@endangeredgraphics.com
 
actaully i'll fix that..will put all the tracks on the same level..will take care of that problem..will even free up to more buttons because i won't need a close button if i have them all on the same level..now i can add to more tracks..you guys are geniuses..imagine that..i just e-mailed him a great big 3d star..and you know i will think about that whole turntable mixing to records thing..not a bad idea old..will have to get back to ya on that one..yeh right who am i fooling..will probably ask you guys how to do it :)

e.gif


carlsatterwhite@endangeredgraphics.com
 
that's about a 15 hour drive for a beer..um let me think for a minute..


still thinking....


still....


e.gif


carlsatterwhite@endangeredgraphics.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top