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….

Advertisements
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: