Draw a Circle based on Time/Timer
I am writing this post so that people searching can benifit. When it came to me no search engine could find what I was looking for.
Well Drawing a Circle based on timer is not a good idea, Yes it is not.
In flash runtime, the specific timing of both scediled screen-update checks and TimerEvent.Timer events not guranted. The Event.ENTER_FRAME event often executes later the time scheduled by designated frame rate, and TimerEvent.Timer events often occur later than the time specified by Timer object’s delay variable.
And you get unpredicatable animation.
to gurantee that given object will travel a specified distance in specified time,
USE SOME THING CALLED AS VELOCITY BASED ANIMATION
Refer To Essential Action Script 3 book (Page 627)
I will put code in short while….


No trackbacks yet.