Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
In this movie I'll explain what events are. If you'd like to follow along, you can open up Understanding_Events in the chapter 04 folder. So let's take a look at this example here. On the left side we have an event and that would be a radio station broadcasting a signal. Now when a radio station broadcasts a signal not every radio automatically hears that signal. You have to tune in your radio to a particular station to listen for what that station is broadcasting. That's exactly the same as an event in Flash. An event in Flash is something that happens, whether the user clicks a button or a file finishes downloading etc. etc. etc. We're going to cover all kinds of events in this chapter.
But events are basically things that happen. On the right side of the screen we have a listener, and that would be our radio. Until we tell our radio to listen, or to tune in to a particular station, we do not hear what that station is broadcasting. So when I click the listen button, the radio then hears what is being broadcast and can do something, can project it out. So we have two things here: events are things that happen and listeners are things that listen for events that are happening.
Now that you understand what events and listeners are, let's get some practice writing them in the next movie.
Get unlimited access to all courses for just $25/month.Become a member
82 Video lessons · 101639 Viewers
61 Video lessons · 88392 Viewers
71 Video lessons · 72231 Viewers
56 Video lessons · 103976 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.
Your file was successfully uploaded.