Цитата:
Сообщение от Genzo
Код AS3:
this.addEventListener(Event.ENTER_FRAME , checkFinish);
private function checkFinish(e:Event)
{
if(e.target.currentFrame == e.target.totalFrames)
{
e.target.removeEventListener(Event.ENTER_FRAME , checkFinish);
e.target.stop();
this.dispatchEvent( ************* );
}
}
|
Простите, не совсем понял, как применить к моему коду (в начале темы) и что вместо звездочек должно быть