Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
11 Cards in this Set
- Front
- Back
we code event listeners to conduct.....
|
our code to the events that our program hears.
|
|
Basic event listener statement......
|
instancename.addEventListener (event.TYPE, functionName );
|
|
instance name is......
|
the name of the object.
|
|
addEventListener is the.....
|
command that tells ActionScript to listen for the event.
|
|
event is the......
|
general class of event
|
|
type is the.......
|
specific event
|
|
functionName is the.....
|
Name of the function that we want to execute whenever ActionScript hears the event.
|
|
Which functionNames never.....
|
code parentheses after the function names.
|
|
Basic Event handler function statement......
|
function functionName(e:event):returnValueDatatype { dosomething
} |
|
e is the name.......
|
of the first parameter. You can use any name for this parameter, but almost everyone uses a lowercase e. Use a colon to separate parameter and event.
|
|
event is the......
|
general class of event. It must be exactly the same as the event parameter in the addEventListener statement.
|