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"
Sent: Tuesday, February 12, 2008 11:33 PM
Subject: Re: [Flashcoders] Pausing
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 pauseTimeline(howlong:N
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
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
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 pauseTimeline(howlong:Number):void {
stop();
var t:Timer = new Timer (howLong,1);
t.addEventListener(
TimerEvent.TIMER,
5 matches
Mail list logo