Problem with onRelease listener
hello guys, how you?
once again, come here ask on actionscript 2.0.
i'm building simple card game. there process in game, can buy card mount, , card starts move til reach hand. @ point, i've tried flash: card.enabled = false, had not stopped onrelease listener function work. i've tried this:
clip.endanimation = function () {
this.enabled = true;
}
if (animation_time! = 0) {
clip.enabled = false;
_global.settimeout (clip "endanimation" animation_time);
}
why, ain´t working properly? want stop onreleaselistener stop work little bit. please, me guys.
sorry bad english
use trace(clip) see if you're targeting correct object , if code executing..
More discussions in ActionScript 1 and 2
adobe
Comments
Post a Comment