Discuss at length each of the elements of the syntax of the action in the code below:startBtn.addEventListener(MouseEvent.CLICK, onClickPlay);
What will be an ideal response?
The code tells Flash critical pieces of information in a specific order: (1) the object on the Stage you want the ActionScript to work with (startBtn, the instance name that identifies the Start button); (2) that you want Flash to wait for the user (addEventListener) to do something with the mouse (MouseEvent); and (3) which action of the user's mouse (CLICK) will trigger something to happen (onClickPlay, the name of the function). You can choose any text for the button instance and function names; however, it's a good idea to use relevant words that make sense to you. At this point, Flash does not know which commands you want it to run (perform) in the onClickPlay function.
You might also like to view...
_____ is a Visa-patented process that provides an instantaneous rating of a transaction's potential for fraud to the financial institution that issued the card.
Fill in the blank(s) with the appropriate word(s).
During a slide show, you can use the highlight pointer to help focus the audience's attention to specific areas. _________________________
Answer the following statement true (T) or false (F)
Advertising can persuade people to request more info or visit a website.
Answer the following statement true (T) or false (F)
A common goal of all networked systems is to provide a convenient way to share resources while controlling users' access to them.
Answer the following statement true (T) or false (F)