COAP:COAP-2110/final: Difference between revisions
Jump to navigation
Jump to search
m (using an external editor) |
m (using an external editor) |
||
Line 72: | Line 72: | ||
:Source: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-problem.fla action-script-button-anim-problem.fla] | :Source: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-problem.fla action-script-button-anim-problem.fla] | ||
A solution is also available | Instructions are inside the *.fla file (play it): | ||
: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-problem.html action-script-button-anim-problem.html] | |||
A good enough solution is also available: | |||
: Source: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-solution.fla action-script-button-anim-solution.fla] | : Source: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-solution.fla action-script-button-anim-solution.fla] | ||
: HTML+SWF: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-solution.html action-script-button-anim-solution.html] | : HTML+SWF: [http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/action-script-button-anim-solution.html action-script-button-anim-solution.html] |
Revision as of 23:19, 9 December 2008
Final exam
The final exam will focus on interactivity and animation. You will receive a *.fla file to complete/repair. It will be similar in spirit to the mid-term exam.
Prepare for the following subjects
- (1) Mid-term exam requirements
- (2) Buttons
- Using library *.fla buttons (just change the label)
- Making your own buttons from simple (!) drawings (including drawings for the different button states)
- Using button components (label, change of width)
- (3) Videos and Sound
- Sound embedded into the timeline
- Videos embedded into the timeline
- Simple use of the video component
- (4) ActionScript
- Simple event handling functions and registration of mouse click events
Example code:
// timeline moving forward_btn.addEventListener(MouseEvent.CLICK,forward); function forward(event:MouseEvent) { gotoAndStop(2); } // Play an embedded movie clip start_button.addEventListener(MouseEvent.CLICK,start_kite); function start_kite(event:MouseEvent) { kite.play(); }
You should be able to master following simple ActionScript "instructions":
- Change the visibility of an object on the stage
- Play and stop an embedded movie clip
- play and stop the animation in the timeline
- Move the user around in the timeline
Example code:
cat.visible = true; cat.visible = false; movie_clip.stop(); movie_clip.play(); gotoAndPlay(12); gotoAndPlay("robot"); gotoAndStop(12); gotoAndStop("cat_anim"); stop(); start();
Do not forget to revise the subjects from the previous exam (drawing and animation principles) !
Not covered in the exam
- ActionScript program flow (e.g. if and switch statements)
- Special effects
- Video captions and Video cue points
- Loading of external sources other than video.
- Keypress events
Preparation example
You can to solve the 2007 final exam:
Instructions are inside the *.fla file (play it):
A good enough solution is also available:
- Source: action-script-button-anim-solution.fla
- HTML+SWF: action-script-button-anim-solution.html
- Directory: http://tecfa.unige.ch/guides/flash/ex/action-script-3-intro/
- Also, have a look again at the Help:COAP-2110/mid-term exam and the flash animation summary. The orginal exam files and the solution are also available in this directory: http://tecfa.unige.ch/guides/flash/ex/exams2008/
Other information
- All materials are allowed (e.g. books, handouts, web pages)
- Use of communication tools is strictly forbidden (no chat, no mail, etc.). No talking between students. Offenders may get an F.