Flash as2 help

onClipEvent(enterFrame) {

if(this._parent.blabla_mc.hitTest(this) ) {

this._parent.blabla_mc.nextFrame();

this._visible = false


}
}


I only want it to got to nextframe once.

Now it goes to nextframes as long as the objects are colliding (hittest).

So basically i want it to detect if it his only once.
Comments
8
I only help mAus, sorry
if (this._visible == true)
{
if(this._parent.blabla_mc.hitTest(this) )
{
this._parent.blabla_mc.nextFrame();
this._visible = false
}
}

? not that i know actionscript at all
actually i think it does work, thnx maaayne :D
Parent
Dump Flash, it sucks.
Back to top