Telling What You Want What You Really Really Want
(sorry, could not resist)
Let's talk about programming now.
The following is the actionscript for button that makes the face happy.
On (Release)
Begin Tell Target ("/face")
Go to and Stop ("happy")
End Tell Target
End On |
- When interpreting the code above it is important to read it back to yourself in simple English. Notice that the colors in the code above match the words in the sentence below. For example,
- "When you click and release with the computer mouse on this button, you should tell the target movie clip named 'face' to go to the frame labeled 'happy' and then stop."
- Reading actionscript to yourself will help you see what exactly your code is going to do in your flash movie.