Buttons and EventListeners


show more Buttons and EventListeners provides you with in-depth training on Web. Taught by Rich Shupe as part of the Flash CS3 Professional Essential Training show less
please wait ...

Buttons and EventListeners

If we take the function example from the prior video and add one more step we arrive at the event listener. Event listeners are a way of handling and reacting to events, like mouse clicks and other things similar to that, and then calling functions when those events occur. Event listeners are actually a lot easier to understand then most people think. Imagine if you're back in grade school, and there is a classroom of ten people. When the bell rang at the end of the class, all ten students who were trained to understand what that meant, would get up and leave. Also, imagine if each of the ten of you, when walking through the door was told something by the teacher, and one of you was told to stand up when a certain word was pronounced.

In other words, one out of the ten students was trained to react to a single message, a single word being pronounced that would cause that student to stand up. During the class, when the teacher pronounced the word, one student out of the ten would sta...

Buttons and EventListeners
Video duration: 7m 59s 7h 58m Beginner

Viewers:

Buttons and EventListeners provides you with in-depth training on Web. Taught by Rich Shupe as part of the Flash CS3 Professional Essential Training

Subject:
Web
Software:
Flash Professional
Author:
please wait ...