thx
--- On Mon, 8/29/11, Kerry Thompson al...@cyberiantiger.biz wrote:
From: Kerry Thompson al...@cyberiantiger.biz
Subject: Re: [Flashcoders] loop and Timer problem?
To: Flash Coders List flashcoders@chattyfig.figleaf.com
Date: Monday, August 29, 2011, 6:28 PM
The timer isn't
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 {
;
}
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 c...@chello.nl wrote:
From: Cor c...@chello.nl
Subject: RE: [Flashcoders] loop and Timer problem?
To: 'Flash Coders List' flashcoders
it stays
true
--- On Mon, 8/29/11, Cor c...@chello.nl wrote:
From: Cor c...@chello.nl
Subject: RE: [Flashcoders] loop and Timer problem?
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Date: Monday, August 29, 2011, 2:01 PM
1. You call the function but your timer does not exist
2
[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 loop untill it get true in logic I
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
c...@chello.nl
Subject: RE: [Flashcoders] loop and Timer problem?
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Date: Monday, August 29, 2011, 2:44 PM
TRY THIS:
var forsate,generalFlag:Boolean;
var counter:int=0;
var generalTimer:Timer=new Timer(1
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 th loop can u explain the timer and loop i know them but i cant
understand how they work and has
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 th loop can u explain the timer and loop i know them but i cant
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
/11, Cor c...@chello.nl wrote:
From: Cor c...@chello.nl
Subject: RE: [Flashcoders] loop and Timer problem?
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Date: Monday, August 29, 2011, 2:44 PM
TRY THIS:
var forsate,generalFlag:Boolean;
var counter:int=0;
var
11 matches
Mail list logo