Graphics Programs Reference
In-Depth Information
pressed? A key listener is added at the end of the script and has an onKeyUp() method
defined. This Flash object “listens” for a specific event. When a user releases any key
on the keyboard, the event is broadcasted to Flash. The listener intercepts the broad-
casted message and tells man_mc to navigate to the frame labeled “stop.”
Step 8: Save and test movie
Save and test your movie. Choose Control > Test Movie to see the finished results
(Figure 4.22). This completes this exercise.
Figure 4.22 Finished depth illusion
Search WWH ::




Custom Search