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

Chapter 15. Time- and Frame-Based Dynamism > THE USE OF TIME IN FLASH

THE USE OF TIME IN FLASH

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

  • Date object. A pre-built object in Flash useful for interactivity that is dependent on dates, days, months, and years.

  • getTimer() function. This special Flash function is 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) one represents the movement of time in your 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