Final Exam Study Guide and Outline - 810:088 Flash class summer 2007 1. Quiz one study guide should be reviewed. You also want to look over your quiz one, which was handed back long ago. QUIZ ONE STUDY GUIDE IS FILLED WITH QUESTIONS we did NOT cover on quiz one. --- 2. Group exercise and the class review from Monday, July 23rd where we worked out the strategy for making a bouncing ball simulation, where the ball flattens and widens when it hits the ground or the bottom of the stage. Be able to answer any questions or describe how to do the above animation of the bouncing ball so a Flash beginner could follow your instructions for how to do it. What are the four layers that would be needed? What is the purpose of each layer and a good name for each layer? What code would be attached to what main timeline Frames, and which frame would have what ActionScript statements? What ActionScript code would be attached to which buttons, and what would be a good instance name for each of the needed buttons. How would you do a counter? What code would be needed and in what frames? 3. Why you need to have a Wheel movie clip symbol if you are going to have a rolling, animated Wheel. The Wheel is a movie clip and can be animated and be in keyframes with Motion Tweens in between the keyframes. The Wheel is the building block for the Rotating Wheel Symbol. Why is a Motion Tween show a broken line instead of the long arrowhead when you do not use a Movie Clip symbol as the building block, but have key frames with just a Shape instead? 4. Your handout on making the Rotating Wheel is from Hour 12: Animating Using Movie Clip and Graphic Symbols. You used this handout to do the take home quiz #2, i.e. the car project. What are the differences between movie clips and graphic symbols? When would you want to use a graphic symbol instead of a movie clip symbol? A graphic symbol is dependent and is synchonized. Know and understand this. A movie clip symbol is INDEPENDENT of the timeline into which it is placed, and if it, the movie clip symbol has 20 frames, for example, and the main timeline for the Scene has only 10 frames, the movie clip will STILL SHOW YOU ALL OF ITS ACTION, from frame 1 to frame 20. A graphic symbol with 20 frames, however, if placed into a main timeline for the entire Scence that is only 10 frames, it TOTALLY DEPENDENT on the main timeline. YOU WILL NEVER SEE IT SHOW ITS FRAMES 11 through 20. ----- "A movie clip animates on its own time, and it doesn't matter how much space you provide in the Timeline where it is used." "Using movie clips is usually much easier because they're more flexible than graphics." 5. Subtleties of Movie Clips gives the following three differences: a. a movie clip's timeline is independent... b. movie clips are addressable, i.e. you can refer to them with ActionScript and make the Rotating Wheel, say backWheel, stop() or play() again. Can't do that with Graphic symbols. You cannot give them an instance name! c. Movie Clip instances download in a different manner. Explain how they download differently. Which gives better streaming and why? What is streaming? See your Rotating Wheels and cars assignment take/home quiz and study it carefully for developing answers to all the above questions and understanding of the issues discussed here. 6. What is one of the limitations of scrubbing? Try scrubbing your car project with the . and , scrub forward and scrub backward shortcuts. Do you see the limitation? 7. What are the different states of a button? Is it possible to only have a graphic in the very last state, i.e. in the HIT state and nothing there in the Up, Over and Down state? What would happen? Why would you want to do this? 8. Mouse drag and drop stuff like you are doing for yout last Flash project and like we did in our very last hands-on class in Studio 3 yesterday. You would NOT have to memorize the following code, but would have to be able to apply it and/or answer questions: Making Drag-and-Drop Interactions - Hour 16 startDrag(this); stopDrag(); startDrag(this, true, 0, 0, 550, 400) of startDrag(this, true, 50, 25, 500, 375); if we had a 100 by 50 rectangle, with center registration, 100 width and 50 height and wanted to keep it completely on the 550 by 400 standard size Flash stage. Know on (press) { } and on (release) { } are BOTH needed for Drag and Drop... You do NOT have to know the syntax for the hitTest(), i.e. the on (release) { stopDrag(); <------ Know startDrag() and stopDrag() if (this.hitTest(_parent.correctSpot)) { <---- Do NOT worry this._x = parent.correctSpot._x; about this this._y = parent.correctSpot._y; code, but do } else { understand this._x=10; how it works this._y=20; in general. } if ( condition ) { THEN clause goes here - analogy the HIGH ROAD } else { ELSE clause code goes here - analogy the LOW ROAD } This should be plenty for the final exam task and challenge. I'll answer questions and review before the exam starts, but we'll for sure start the exam before or by 3 p.m. It will probably take one hour or less for most of you, I predict.