Timeline problem:

As soon as my "pauseTimeline" function is called on frame 65, my button 
"infoONEbtn doesn't register on frame 65.
And after frame 65, my button doesn't work unless I call the addEventlistener 
again on frame 66.
Is there a way around this??

I have this code on frame 10

function pauseTimeline(howLong:Number):void {
 stop();
 var t:Timer = new Timer (howLong, 1);
 t.addEventListener(
 TimerEvent.TIMER, 
 function(evt:TimerEvent):void {
 play();
}
);
t.start();
}

then this code on frame 25

//infoONEbutton
infoONEbtn.addEventListener(MouseEvent.MOUSE_UP, infoONESCENE);

function infoONESCENE(evt:MouseEvent) {
 gotoAndPlay("infoONE");

}

this code on frame 65

pauseTimeline(3000);


Thankyou for bothering with my simple problems.

Vlado 
Please consider the environment before printing this e-mail. 
The contents of this message should be treated as COMMERCIAL IN CONFIDENCE 
unless otherwise specified in the message
and is intended solely for the use of the individual or entity to whom it is 
addressed.
If you have received this email in error please notify the sender. If you are 
not the named addressee you should not disseminate, distribute or copy this 
e-mail.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to