Flash as2 help
•
15 Jan 2011, 15:11
•
Journals
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.
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.
{
if(this._parent.blabla_mc.hitTest(this) )
{
this._parent.blabla_mc.nextFrame();
this._visible = false
}
}
? not that i know actionscript at all