|
|||
| week 05a - exercises, enterframe event, flags, movieclip states, events | |||
review exercises : |
To practice some of what we've learned so far, create from scratch the following two exercises. You may refer to the book, but not the previous week's notes. 1) Create an object on the screen that rotates when you click on it. Use the "_rotation" property to do this. Additional challenges:
2) Create an object on the screen that moves to a random location on the screen when you click on it. Use the Math.random() method to create a random number, and Math.round() to create an integer. Remember the concepts of Range and Offset.
Addtional challenges:
|
|
|
|
| all materials on this web site © copyright 2004, Philip van Allen |
top |