HTML    CSS    PHP    Bootstrap    JavaScript    Flash    Dev Tools      

Events - The Timer Event - Part 1

Current Time:   00:00 / Total Time:   00:00

Seek Bar Volume

Do you have a question or comment on this, or any tutorial Contact Support

We are always looking for input on our tutorial content. If you have a suggestion, comment, additional information on this topic that you feel should be added, drop us a line. We appreciate your input.

Title: Events - The Timer Event - Part 1

Category: Flash
Topic: Essential Training
Publish Date: 2015-02-23
Views: 32
Author: Mike King

Description

This is Part 1 of a 2 Part series. The Timer Event is a very useful event in ActionScript. The new TimerClass in ActionScript 3 replaces previous methods in earlier versions of ActionScript and simplifies the process of using timers in ActionScript. We discuss the syntax of using the new TimerClass, we demonstrate the structure of the TimerClass method and we examine the event dispatcher and how the Timer Class is triggered using ActionScript. For the first time in our tutorials we look at using the Timer Class with conditional statements to control the flow of our timeline in Flash CS3. We also discuss the importance removing event listeners in our applications as we develop the applications and no longer need the event listener.