thx
--- On Mon, 8/29/11, Kerry Thompson wrote:
From: Kerry Thompson
Subject: Re: [Flashcoders] loop and Timer problem?
To: "Flash Coders List"
Date: Monday, August 29, 2011, 6:28 PM
The timer isn't completely independent. If there is code executing when it is
time f
> --- On Mon, 8/29/11, Cor wrote:
>
> From: Cor
> Subject: RE: [Flashcoders] loop and Timer problem?
> To: "'Flash Coders List'"
> Date: Monday, August 29, 2011, 2:44 PM
>
> TRY THIS:
>
>
> var forsate,generalFlag:Boolean;
> var cou
We can see why this approach doesn't work, but maybe if you said what your
trying to accomplish, then a working solution could be offered.
John
On Aug 29, 2011, at 3:18 PM, Ktu wrote:
> A stack needs to finish and a new frame needs to enter for the Timer to
> actually dispatch its TimerEvent.T
Of nasim
> h
> Sent: maandag 29 augustus 2011 21:27
> To: Flash Coders List
> Subject: RE: [Flashcoders] loop and Timer problem?
>
> I Cant understad
> why is that
> when the timer start it should work independence any thing but it wait for
> finish t
: Flash Coders List
Subject: RE: [Flashcoders] loop and Timer problem?
I Cant understad
why is that
when the timer start it should work independence any thing but it wait for
finish th loop can u explain the timer and loop i know them but i cant
understand how they work and has
: [Flashcoders] loop and Timer problem?
To: "'Flash Coders List'"
Date: Monday, August 29, 2011, 2:44 PM
TRY THIS:
var forsate,generalFlag:Boolean;
var counter:int=0;
var generalTimer:Timer=new Timer(1);
generalTimer.addEventListener(TimerEvent.TIMER,generalfunc);
TRY THIS:
var forsate,generalFlag:Boolean;
var counter:int=0;
var generalTimer:Timer=new Timer(1);
generalTimer.addEventListener(TimerEvent.TIMER,generalfunc);
//NOW IT IS SET
//UN COMMENT THE LINE BELOW TO NOTICE THE DIFFENCE
//generalFlag=true;
testhalgheh();
function generalfunc(e:TimerEven
.@chattyfig.figleaf.com
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of nasim h
Sent: maandag 29 augustus 2011 20:29
To: Flash Coders List
Subject: RE: [Flashcoders] loop and Timer problem?
in main i call testhalgheh();
so inside it timer will start
it stuck in loo
ng because it stays
true
--- On Mon, 8/29/11, Cor wrote:
From: Cor
Subject: RE: [Flashcoders] loop and Timer problem?
To: "'Flash Coders List'"
Date: Monday, August 29, 2011, 2:01 PM
1. You call the function but your timer does not exist
2 your Boolean never get
counter+=1;
}
should work but the test show the flag doest get true
why is that the timer shoudl work independently
--- On Mon, 8/29/11, Cor wrote:
From: Cor
Subject: RE: [Flashcoders] loop and Timer problem?
To: "'Flash Coders List'"
Date: Monday, Au
1. You call the function but your timer does not exist
2 your Boolean never get true so your loop in infinite.
Try this:
var forsate,generalFlag:Boolean;
var counter:int=0;
var generalTimer:Timer=new Timer(10);
testhalgheh();
function generalfunc(e:TimerEvent=null):void {
generalFlag=tr
11 matches
Mail list logo