but I’m really lost as to how to turn this into an eventlisterner or class or whatever AS3 I need…(can you tell Ive only JUSt started learning AS3 ;))
anyone got an idea?
sudhansurana,
thanks for the reply!- when i try that i am am getting an error:
Warning: 1090: Migration issue: The onEnterFrame is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( ‘enterFrame’, callback_handler).
this might seem like an obvious answer- but Im lost…any suggestions?
//first frame code
addEventListener(Event.ENTER_FRAME, eventHandler)
function eventHandler(event:Event):void {
my_text.text="currentFrame"+currentFrame;
if (currentFrame==totalFrames) my_text.text="Stop one second";
}