AS3: currentFrame & stop ();
- by Eleonara
So, my next problem. Sorry for asking so much, but my teacher doens't respond. So, this doesn't work. The stop command doesn't seem too respond, but i don't get an error either. I know i miss a bracket, but my function isn't finished. Due to copy and paste the place of the brackets have shifted a bit.
function Knipperen (event:TimerEvent):void
{
if (event.currentTarget.currentCount == 3 && geknipperd < 3)
{
geknipperd ++;
timer.reset();
timer.start();
trace (geknipperd);
gotoAndPlay(1);
if (currentFrame == 13)
{
stop();
}
}