Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

New Member
Posts: 2
Registered: ‎12-21-2010
My Device: Not Specified

time measurement

Is there a way to get something like the current value of a timer, like a system time?

Or is there a possibility to create a timer which would be increased every millisecond?


Thanks for your help!

Posts: 192
Registered: ‎09-23-2009
My Device: 9860/PlayBook/Dev Alpha
My Carrier: Plus GSM

Re: time measurement

Use this: http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/Date.html#time , it will return number of miliseconds since Epoch. Of course you must create new Date object to have this number always fresh.

Found my post helpfull? Like it! It solves your trouble? Help others and accept it as solution. Search before asking.
My apps: Secret Cod3s | Should my tablet be banned?
Jakub Nietrzeba
PGS Software S.A.
Your reliable partner in Poland - IT Outsourcing - BlackBerry, iPhone, Web and Standalone applications
New Member
Posts: 2
Registered: ‎12-21-2010
My Device: Not Specified

Re: time measurement

hey thanks gluth,


you pointed me in the right direction.


I found the following:




which really should work.

I will try it later and report how it worked.