If there is a delay of 5000 milliseconds, then the Timer counts every 5 seconds. For example, if there is a delay of 1000 milliseconds, then the Timer object will count at 1 second intervals. NOTE: For those of you coming from AS2 and have been using the setInterval() function - there is also an AS3 setInterval() function, but the AS3 Timer class is a good alternative to using setInterval().Ī Timer object has the ability to count at a specific interval, which can be set using what is called the delay.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |