Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Adrian Ionut Beschea
yeah, the parantheses you opened for addEventListener never gets closed; Vlado Krempl [EMAIL PROTECTED] wrote: Hello everyone, When I try to pause the main timeline with this code (below), I get a 1084: Syntax error: expecting rightparen before rightbrace.}; function

Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Glen Pike
function pauseTimeline(howlong:Number):void { stop(); var t:Timer = new Timer (howLong,1); t.addEventListener( TimerEvent.TIMER, function(evt:TimerEvent):void {play();} ) t.start(); } Vlado Krempl wrote: Hello everyone, When I try to pause the main timeline

Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Thomas Kaiser
VK Any ideas?? yes - change }; to ); in line 9 typo? :) Cheers, tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] Pausing the main timeline.

2008-02-12 Thread Vlado Krempl
It's funny how the most obvious mistakes can cause such havoc in actionscript. Thanks guys, v - Original Message - From: Glen Pike [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Tuesday, February 12, 2008 11:33 PM Subject: Re: [Flashcoders] Pausing