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

Unloading Movie Clips

Status
Not open for further replies.

tomhughes

Vendor
Aug 8, 2001
233
US
I have small Movie Clips that are simply indicators ( small blue dots that are either visible or invisible)
Each frame has up to 30 of these.
What is the best way to unload the Movie Clips on the previous Frame?
1) Should it be done with ifFrameLoaded command or
2) Should it be done inside the action of the newly loaded Movie Clip?
3) Or is there another way to do it?
 
Can this be simplified by unloading all MC's in a certain frame, or do I have to reference every MC?
 
If your movie clips were named in this format, bluedot1, bluedot2, bluedot3, etc... You could easily make all or only some of them invisible, at any given point, even with "if" conditional statements, with a for loop...

if (condition == true){
for(i=1; i<=30; i++){
_root[&quot;bluedot&quot;+i]._visible = false;
}
} Regards,

oldman3.gif
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top