Hide

I made a movie clip named carmask, and i wanted to hide it.
In the first frame, i put this code:

onClipEvent (load) {
Carmask.hide();
}

But i doesn’t seem to work. What have i done wrong?

hide() is a method for the mouse object

Mouse.hide();

use the _visible property

carmask._visible = false;

=)

Thanks for the reply!
i got this idea from Mouse.hide but i didn’t knew it didn’t work for MC’s.

Thanks a lot!

In all my enthousiasm I replied, but now i tried
carmask._visible = false;
it didn’t work too

I’ll post an .fla, maybe it’s due to me.

onClipEvent (load) {
	this._visible = false;
}

:wink:

I tried and it worked!
Wahoo!

Thanks!

no problem :wink: =)