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;
12 Cards in this Set
- Front
- Back
How do you register a mouse down event for a display object?
|
buton.addEventListener(MouseEvent.MOUSE_DOWN, clickMe);
|
|
How is the stacking order of display objects arranged?
|
The order in which the ojbects were added, contiguous no gaps.
|
|
What argument is required in the call back function for an event?
|
Event Data (e)
|
|
How do you ad and remove display objects to the display list?
|
addChild() removeChild()
|
|
What is the difference between properties and methods?
|
Properties are attributes, Methods are functions of the object.
|
|
What is an event?
|
Actions that are triggered.
|
|
What is the purpose of the var keyword?
|
It declares a variable
|
|
What are the advantages of data typing?
|
you are forced to relate that variable w/that particular type of data.
|
|
How would you say, "The apple is red." In AS syntax?
|
trace ("The apple is red");
|
|
What are control structures?
|
a form of direction or order.
(controls flow of execution) |
|
When would you use a loop?
|
When you want to repeat an action several times.
|
|
How do you make a loop that counts from 0 to 10, incrementing by 1?
|
for (var i=1, i<11; i++) {
} |