60 likes | 168 Views
REVIEW FOR LESSON 1. Timeline Control. 1. When you encounter a problem, what’s the first thing you should do ?. If you get a compile error, go to the line that contains the error and fix it yourself. LOOK AT YOUR NOTES AND TRY TO SOLVE IT YOURSELF Ask a neighbor for help.
E N D
REVIEW FOR LESSON 1 Timeline Control
1. When you encounter a problem, what’s the first thing you should do? • If you get a compile error, go to the line that contains the error and fix it yourself. • LOOK AT YOUR NOTES AND TRY TO SOLVE IT YOURSELF • Ask a neighbor for help. • Raise your hand and ask the teacher for help.
2. Where should you write your code? • On a new layer named actions that is locked. • Double click on an object and write it there • On the stage • I don’t know
3. What is ActionScript 3.0? • A panel in Flash • A web site • A software program like Microsoft Word • An Object-Oriented Programming Language
4. You make a Flash animation that has 10 frames. How can you make it only play once? • You can’t, it always loops • Go to frame 10 and write STOP! on the stage • Go to frame 10 and write stop(); in your actions panel • Go to frame 10 and write Stop(); in your actions panel
5. A Flash animation has 100 frames. How can you make it skip from frame 50 to frame 100 and stop? • You can’t, it always plays from the beginning to end • On frame 1 write skipToFrom(100,50); • Go to frame 50 and write gotoAndPlay(100); in your actions panel • Go to frame 50 and write gotoAndStop(100); in your actions panel