You can listen for the enterFrame event but also make sure you have set the 
frameRate inside the application tag (default isn’t 15).  Although I wouldn’t 
recommend setting the framerate to 15, an easier/quicker method would be to set 
it to 30 and only do something on every 2nd frame. 

Should your app be really slow this will not reflect real time, in which case 
use the time class. See 
http://blog.flexexamples.com/2008/02/20/creating-timers-using-the-timer-class/ 
for examples.

 

Kenneth.

 

From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf 
Of vinod kumar
Sent: 13 January 2009 05:48
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Timer Solution

 

I am a newbie in flex. can you please send the code

--- On Mon, 12/1/09, Manish Jethani <manish.jeth...@gmail.com> wrote:

From: Manish Jethani <manish.jeth...@gmail.com>
Subject: Re: [flexcoders] Timer Solution
To: flexcoders@yahoogroups.com
Date: Monday, 12 January, 2009, 6:51 PM

On Mon, Jan 12, 2009 at 11:09 AM, vinod kumar <coolvinu1980@ ymail.com 
><mailto:coolvinu1980%40ymail.com> > wrote:
> I want an urgent help. From metadata information i got the frame rate as 15.
> So between every second i want to display the values 1 to 15 using timer.

You can listen for the enterFrame event and do it there.

Manish





________________________________

Unlimited freedom, unlimited storage. Get it now 
<http://in.rd..yahoo.com/tagline_mail_2/*http:/help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html/>
 

 

Disclaimer 
-------------------------------------------------------------------------------------------
This electronic message contains information which may be privileged and 
confidential. The information is intended to be for the use of the 
individual(s) or entity named above. If you are not the intended recipient, be 
aware that any disclosure, copying, distribution or use of the contents of this 
information is prohibited. If you have received this electronic message in 
error, please notify us by telephone on 0131 476 6000 and delete the material 
from your computer. 
Registered in Scotland number: SC 172507. 
Registered office address: Quay House 142 Commercial Street Edinburgh EH6 6LB. 

This email message has been scanned for viruses by Mimecast.
-------------------------------------------------------------------------------------------

Reply via email to