HTML    CSS    PHP    Bootstrap    JavaScript    Dev Tools      

Events - The Timer Event - Part 2

Current Time  00:00 Total Time  00:00

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 2 Category: Flash

Topic: Essential Training Publish Date: 2015-02-23

Views: 318

Author: Mike King

Description

This is Part 2 of a 2 Part series. We review the timer syntax from the previous tutorial. We discuss the properties and methods that are available to us in the Timer Class such as currentCount, Delay and repeatCount, we also demonstrate the start() method, the stop() method, the reset () method and the TIMER_COMPLETE. We build a count up and count down application and using event listeners trigger the start() method using a button to activate our application. Using conditional logic and the Timer Class we build on our understanding of Timer Events. We wrap up the tutorial by building a small application that uses the Timer Event to animate objects across our stage.