| Syllabus
--------------------- --------------------- --------------------- --------------------- ---------------------
|
Art 444 Lecture Notes Adding a counter: 1. Establish a counter in your script with: counter = 0; 2. Increment the counter by adding this script to a conditional statement:
3. Add a new condtional statement within the first conditional for the counter total:
Here's the complete script: counter = 0; fish.onPress = function() { Adding a timer:
On the last frame of the MC's timeline write the following script: _root.gotoAndPlay("lose"); * "lose" is a frame label on your _root timeline. The above will jump to the "lose" label and play once the timer reaches this frame. |
|||
Back to top of page | School of Art, Design and Art History | SDSU Main