• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Lesson 16. Time- and Frame-Based Dynamism > The Use of Time in Flash

The Use of Time in Flash

Flash uses several techniques to measure the passage of time in projects. The following are the most common strategies:

  • Date class. A prebuilt class in Flash, useful for interactivity that depends on dates, days, months, and years.

  • getTimer(). A special Flash function useful for measuring the passage of time in milliseconds.

  • Frames. Representing divisions of time as they relate to animation, sounds, and other interactivity on timelines. Frames provide the most common way of measuring the passage of time in Flash. The movement of one frame to the next (or previous) frame represents the movement of time in a project, either forward or backward. As the timeline moves forward, a progression of events occurs—a streaming sound plays, for example, or a character moves across the stage.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint