flash tutorial

20
Flash Tutorial Flash Tutorial Prepared by Tsang Kin Ting, Vincent Prepared by Tsang Kin Ting, Vincent

Upload: cairbre-troy

Post on 31-Dec-2015

22 views

Category:

Documents


0 download

DESCRIPTION

Flash Tutorial. Prepared by Tsang Kin Ting, Vincent. Outline. Flash Introduction Symbols Graphics, Buttons, Movie clips Tweening Shape tweening, Motion tweening Demo. Part A - Introduction. What is Flash?. graphics and animation tool by Macromedia - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Flash Tutorial

Flash TutorialFlash Tutorial

Prepared by Tsang Kin Ting, VincentPrepared by Tsang Kin Ting, Vincent

Page 2: Flash Tutorial

OutlineOutline

Flash IntroductionFlash Introduction SymbolsSymbols

– Graphics, Buttons, Movie clipsGraphics, Buttons, Movie clips TweeningTweening

– Shape tweening, Motion tweeningShape tweening, Motion tweening DemoDemo

Page 3: Flash Tutorial

Part A - IntroductionPart A - Introduction

Page 4: Flash Tutorial

What is Flash?What is Flash?

graphics and animation tool by Macromgraphics and animation tool by Macromediaedia

Mostly used with Firework and DreamweMostly used with Firework and Dreamweaveraver

.fla and .swf files.fla and .swf files 30-day Trial version available at 30-day Trial version available at

www.macromedia.com/software/trial_dwww.macromedia.com/software/trial_download/ownload/

Page 5: Flash Tutorial

What can you do in Flash?What can you do in Flash?

TextText GraphicsGraphics Movie clipsMovie clips ButtonsButtons SoundSound

and more…and more…

Page 6: Flash Tutorial

Workspace - Stage

Drawing Tools

Timeline

Page 7: Flash Tutorial

TimelineTimeline

Show the time of each frame in the animationShow the time of each frame in the animation Keyframe (F6)Keyframe (F6)

– specify exactly what you want to be shownspecify exactly what you want to be shown Normal frame (F5)Normal frame (F5)

– same as the previous keyframesame as the previous keyframe– transient frame if tweening involvedtransient frame if tweening involved

Page 8: Flash Tutorial

Drawing in FlashDrawing in Flash

Usual tools Usual tools – Lines, oval/rectangle, lasso tool, textbox…Lines, oval/rectangle, lasso tool, textbox…

LayersLayers– Things on upper layer cover things on lower Things on upper layer cover things on lower

layerslayers Grouping and breaking apartGrouping and breaking apart

– (to be revisited in tweening)(to be revisited in tweening)

Page 9: Flash Tutorial

Adding SoundAdding Sound

Import sound files into libraryImport sound files into library– [File] -> [Import to Library…][File] -> [Import to Library…]

Drag and Drop to stageDrag and Drop to stage Sound added to current layerSound added to current layer

Page 10: Flash Tutorial

Adding ActionsAdding Actions

Select the frame/object which you want Select the frame/object which you want to have action associated withto have action associated with

Choose action from Action PanelChoose action from Action Panel

Add action itemRemove action item

Choose action item here

Page 11: Flash Tutorial

Part B - SymbolPart B - Symbol

Page 12: Flash Tutorial

What is symbol?What is symbol?

For reusing same object in the flash For reusing same object in the flash moviemovie

3 types: Graphic, button, movie clip3 types: Graphic, button, movie clip Kept in Library (Ctrl-L to open)Kept in Library (Ctrl-L to open) Drag-and-drop to put on stageDrag-and-drop to put on stage Only one copy is saved in flash no Only one copy is saved in flash no

matter how many times it is usedmatter how many times it is used

=> file size greatly reduced!=> file size greatly reduced!

Page 13: Flash Tutorial

How to create symbols?How to create symbols?

Define object and select itDefine object and select it [Insert] -> [Convert to Symbol][Insert] -> [Convert to Symbol]

OROR [Insert] -> [New Symbol…][Insert] -> [New Symbol…] Define symbol there!Define symbol there!

Page 14: Flash Tutorial

GraphicsGraphics

Static imagesStatic images Reusable animations tied to the Reusable animations tied to the

movie timelinemovie timeline No SoundNo Sound

Note: All graphics symbols are Note: All graphics symbols are grouped!grouped!

Page 15: Flash Tutorial

ButtonButton

4 states: Up, Over, Down, Hit4 states: Up, Over, Down, Hit Up – pointer is not over itUp – pointer is not over it Over – pointer is over itOver – pointer is over it Down – button is clickedDown – button is clicked Hit – define the invisible area that Hit – define the invisible area that

will respond to mouse clickwill respond to mouse click ActionsActions

Note: Layers can still be used!Note: Layers can still be used!

Page 16: Flash Tutorial

Movie clipMovie clip

Reusable piece of animation with Reusable piece of animation with individual timelineindividual timeline

(vs. graphics symbols)(vs. graphics symbols) Define as you do in main sceneDefine as you do in main scene

(can add sound/buttons/other movie (can add sound/buttons/other movie clips into it)clips into it)

Page 17: Flash Tutorial

Part C - TweeningPart C - Tweening

Page 18: Flash Tutorial

TweeningTweening

Tweening = interpolation by computerTweening = interpolation by computer Basic ideaBasic idea

– Specify what sth looks like in the beginning Specify what sth looks like in the beginning keyframe and ending keyframekeyframe and ending keyframe

– Choose to apply tweening from property paChoose to apply tweening from property panelnel

– Computer generate movement/change betComputer generate movement/change between two keyframesween two keyframes

Page 19: Flash Tutorial

Tweening (cont’d)Tweening (cont’d)

2 types2 types– Motion tweening Motion tweening

rotation, scaling, position of grouped objects/insrotation, scaling, position of grouped objects/instancestances

– Shape tweening Shape tweening shape change thru timeshape change thru timeNOT for grouped objects!NOT for grouped objects!

Page 20: Flash Tutorial

Part D - DemoPart D - Demo