baileyboop
03-16-2002, 09:23 PM
This seems like it should be easy...
I have a variable on the maintimeline that counts up to 4. When the variable is equal to 3 I want to make a movieclip visible ONLY when the variable = 3 but it isn't working. It seems to be changing the value of x on load.
Can anyone help with this?
//MCclipInstance object script visibility is set to 0 on load.
var x = 0;
if (x = 3) {
MCclipInstance._visible = 1;
} else {
MCclipInstance._visible = 0;
}
OR should I have one script on the maintimeline say
if x != 3, then MCclipInstance._visible=0 ???
Any help is appreciated. Thanks!
I have a variable on the maintimeline that counts up to 4. When the variable is equal to 3 I want to make a movieclip visible ONLY when the variable = 3 but it isn't working. It seems to be changing the value of x on load.
Can anyone help with this?
//MCclipInstance object script visibility is set to 0 on load.
var x = 0;
if (x = 3) {
MCclipInstance._visible = 1;
} else {
MCclipInstance._visible = 0;
}
OR should I have one script on the maintimeline say
if x != 3, then MCclipInstance._visible=0 ???
Any help is appreciated. Thanks!