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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

load and unload movies

Status
Not open for further replies.

precimonito

Programmer
Jan 20, 2001
18
EC
hi...
i need some help about loading movies in differents levels, i hope anyone can help me.

I know how load and unload movies, but i have a problem when i load a movie in a superior level (exmpl. level 4). If i need come back to the base level (0) is like there isn´t there, my base level dissapear.

Monica
 
put the following actions on your button (or in your timeline, whatever) to revert to _level0:


on (release) {
_level0.swapDepths( _level4);
}


dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Man! You forgetting most users here, including myself, haven't reach your level yet! We can hardly manage to leave _level0! Yet alone easily come back to it!
Imagine yourself getting that kind of an answer, but a year ago!
Did you know about Flash's - ActionScript Dictionary then?

It's like when you came out with the "with" statement earlier this week... Maybe you could of added it somewhat replaces TellTarget, then I woundn't of been completely lost!

Keep up the good work, but do try to swapDepths a little more yourself!

Amicalement,
;-)
 
To 'explain' the above for those who don't have access to Flash Help to read for themselves. The action:

_level0.swapDepths( _level4);


..in a nutshell basically does exactly as it says, it swaps the 'depth' of _level0 and _level4. It is an 'alternative' to 'unloading' levels each time you want to refer to another one, then 'reloading' the level if you want to get it back.

dave

davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top