 2004 Prentice Hall, Inc. All rights reserved. Chapter 17 – Macromedia Flash MX 2004: Building Interactive Animations Outline 17.1 Introduction 17.2 Flash.

Slides:



Advertisements
Similar presentations
1What is the Stage. 2How do you open a panel in Flash
Advertisements

Understand the Macromedia Flash environment Open a document and play a movie Create and save a movie Work with layers and the timeline Plan a Web site.
Foundation Level Course
 2004 Prentice Hall, Inc. All rights reserved. Chapter 18 – Macromedia Flash MX 2004: Building an Interactive Game Outline 18.1 Introduction 18.2 Object-Oriented.
© Anselm Spoerri Lecture 10 Flash –Recap –Key Components & Tools –Animating Bitmaps –How to modify Color and Transparency of Bitmap –Animating along Motion.
Macromedia Flash MX 2004 – Design Professional Macromedia Flash MX GETTING STARTED WITH.
Introduction to Macromedia Flash 8
1 Flash and Animation Presented by : Behzad Sajed Khosrowshahi.
Creating Animation Pertemuan Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
© 2010 Delmar, Cengage Learning Chapter 6: Preparing and Publishing Movies.
Dreamweaver Domain 3 KellerAdobe CS5 ACA Certification Prep Flash Domain 4 KellerAdobe CS5 ACA Certification Prep Flash Domain 4: Building Rich Media Elements.
Chapter 3 Working with Symbols and Interactivity.
XP Tutorial 5 Buttons, Behaviors, and Sounds. XP New Perspectives on Macromedia Flash MX Buttons Interactive means that the user has some level.
BUILDING RICH MEDIA ELEMENTS. Design Decisions Based on Design Specification  Following the design specification will ensure that the application is.
1 Flash Basics by Dr SC Li. 2 File Types  In general, Flash 5.0 generates 3 types of files:  ???.fla  Flash ’ s working file  ???.swf  Flash movie.
Flash MX II. Flash MX – Tweened Animation There are two methods for creating an animation sequence in Flash –Frame-by-frame animation –Tweened animation.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
Tutorial 2 Drawing Text, Adding Shapes, and Creating Symbols.
 2008 Pearson Education, Inc. All rights reserved Adobe ® Flash ® CS3.
Dm 11 – Intro. To Flash Macromedia Flash MX GETTING STARTED WITH.
1-1 OBJ Copyright 2003, Paradigm Publishing Inc. Dr. Joseph Otto Silvia Castaneda Christopher deCastro CSULA Macromedia Flash MX Introduction.
1-1 OBJ Copyright 2003, Paradigm Publishing Inc. Drawing Fundamentals Macromedia Flash Design & Application.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Symbols and Interactivity.
© 2012 Adobe Systems Incorporated. All Rights Reserved. Copyright 2012 Adobe Systems Incorporated. All rights reserved. ® INTRODUCTION TO FLASH ANIMATION.
Copyright © 2003 Pearson Education, Inc. Chapter 3, Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
UNDERSTANDING ADOBE FLASH. The Flash Interface  The flash interface provides you with:  A menu bar  Panels  A work area: stage.
XP Tutorial 1 Introduction to Macromedia Flash MX 2004.
Creating a Logo – Lesson 3 1 Creating a Logo Lesson 3.
Introduction to Flash. Topics What is Flash? What can you do with it? Simple animation Complex interactive web application, such as an online store. Starting.
© 2010 Delmar, Cengage Learning Chapter 3: Working with Symbols and Interactivity.
CSC 361/661 Digital Media Spring 2010 Professor Burg.
Copyright © 2003 Pearson Education, Inc. Chapter 2, Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Tutorial 2 Drawing Shapes, Adding Text, and Creating Symbols.
Motion Tweening – Lesson 81 Motion Tweening Lesson 8.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
Flash CS 5 Interface BY NSCHEWCZYK | ©2012. MENU BAR A bar at the top of the window. It lists menu options including: File, Edit, View, Insert, Modify,
Distributed Multimedia Programming Week – 4A Buttons Movie Clips.
Dm 11 - Flash Special Effects Special Effects CREATING.
Macromedia Flash MX 2004 – Design Professional Special Effects CREATING.
CT1514.  One of Adobe Products also called Adobe Flash  is a multimedia platform used to add animation, video, and interactivity to web pages.
Reading Flash. Training target: Read the following reading materials and use the reading skills mentioned in the passages above. You may also choose some.
XP Tutorial 2 Drawing, Adding Text, and Creating Symbols.
 2001 Prentice Hall, Inc. All rights reserved. 1 Chapter 19 - Macromedia Flash: Building Interactive Animations Outline 19.1 Introduction 19.2 Flash Movie.
1 Flash Basics by Dr SC Li. 2 Ordinary Movie vs. Flash Movie AnimationVector GraphicsInteractivity MPEG MovieFlash Movie.
XP Tutorial 7 Creating a Flash Web Site. XP New Perspectives on Macromedia Flash 82 Objectives Plan and create a Flash Web site Create a Flash template.
Tutorial 3 Creating Animations. XP Objectives Learn the different elements of animation Create frames and layers Organize frames and layers using the.
Flash Develop Rich Internet Content and Applications –Design motion graphics or build data-driven applications Flash Document = “.fla” filename extension.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
Flash Concepts and Demos - Overview Recap Unit 2 –Buttons (Simple Text and Animated Button) –Gradient Tool –ActionScript (stop, getURL) –Embed Flash Movie.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
Flash 1. Document Properties Set frame rate and dimensions of project Set frame rate and dimensions of project (default width=550 and height=400)
© Anselm Spoerri Lecture 10 Flash –Recap –Key Concepts, Components & Tools –Demonstration –Buttons: Simple Text Button | Animated Button –Gradient Tool.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
Adobe Flash Professional CS5 – Illustrated Unit A: Getting Started with Adobe Flash Professional.
Introducing Macromedia Flash 8
Tutorial 3 Creating Animations.
Adding Buttons, Actions, and Sounds
Flash Interface, Commands and Functions
Macromedia Flash Tutorial
16 Adobe® Flash® CS3.
Computer presentation
Chapter 19 - Macromedia Flash: Building Interactive Animations
Chapter Lessons Create shape-tweened animations Create a mask effect
INTRODUCTION TO FLASH ANIMATION
Working with Symbols and Interactivity
Develop Rich Internet Content and Applications
Flash Concepts and Demos - Overview
Presentation transcript:

 2004 Prentice Hall, Inc. All rights reserved. Chapter 17 – Macromedia Flash MX 2004: Building Interactive Animations Outline 17.1 Introduction 17.2 Flash Movie Development 17.3 Learning Flash with Hands-On Examples Creating a Shape with the Oval Tool Adding Text to a Button Converting a Shape into a Symbol Editing Button Symbols Adding Keyframes Adding Sound to a Button Verifying Changes with Test Movie Adding Layers to a Movie Animating Text with Tweening Adding a Text Field Adding ActionScript

 2004 Prentice Hall, Inc. All rights reserved. Chapter 17 – Macromedia Flash: Building Interactive Animations 17.4 Creating a Projector (.exe ) File with Publish 17.5 Manually Embedding a Flash Movie in a Web Page 17.6 Creating Special Effects with Flash Importing and Manipulating Bitmaps Creating an Advertisement Banner with Masking Adding Online Help to Forms 17.7 Creating a Web-Site Introduction 17.8 ActionScript 17.9 Web Resources

 2004 Prentice Hall, Inc. All rights reserved. Objectives In this tutorial, you will learn: –To learn Flash MX 2004 multimedia development. –To learn Flash animation techniques. –To learn ActionScript 2.0, Flash’s object-oriented programming language. –To create an animation that preloads objects into a Flash movie. –To add sound to Flash movies. –To embed a Flash movie into a Web page.

 2004 Prentice Hall, Inc. All rights reserved Introduction Flash –Produce interactive, animated movies Web-based banner advertisements Interactive Web sites Games Web-based applications –Provides tools for drawing graphics, generating animation and adding sound and video –Tools for coding in its scripting language, ActionScript Flash Player plug-in –Installed in a Web browser to play flash movies

 2004 Prentice Hall, Inc. All rights reserved Flash Movie Development Start page –Contains a number of helpful options Create From Template Open a Recent Item Creating blank Flash document –Click Flash Document under the Create New heading Tools section –Contains tools that select, add and remove graphics from Flash movies View section –Contains two tools that modify what portion of stage Colors section –Provides colors for shapes, lines, and filled areas Options section –Contains settings for the active tool

 2004 Prentice Hall, Inc. All rights reserved Flash Movie Development ToolboxLayersMain menuTimelineFramesPanel windows Actions panel Help panel Property Inspector Stage Fig. 17.1Flash MX development environment.

 2004 Prentice Hall, Inc. All rights reserved Flash Movie Development Selection toolLine toolPen toolOval toolPencil toolFree transform toolInk bottle toolDropper toolHand toolSubselection toolLasso toolText toolRectangle toolBrush toolFill transform toolPaint bucket toolEraser toolZoom toolStroke colorFill colorTool Options Fig. 17.2Flash MX Toolbox.

 2004 Prentice Hall, Inc. All rights reserved Learning Flash with Hands-On Examples Open a new Flash movie file –Select New from the File menu –In the New Document dialog, select Flash Document under General tab and click OK –Choose Save As… from File menu Movie options –Select Document Properties Frame Rate –The speed at which movie frames display Dimensions –Define size of movie as it displays on screen Background Color –Stage color –Click Background Color box to select background color

 2004 Prentice Hall, Inc. All rights reserved Learning Flash with Hands-On Examples General tab Templates tab Fig. 17.3New Document dialog.

 2004 Prentice Hall, Inc. All rights reserved Learning Flash with Hands-On Examples Background color Right click menu Fig. 17.4Flash MX 2004 Document Properties dialog.

 2004 Prentice Hall, Inc. All rights reserved Learning Flash with Hands-On Examples New background color Hexadecimal color notation Color selection eyedropper Fig. 17.5Selecting a background color.

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool Flash creates shapes using vectors –Vectors are mathematical equations that define size, shape and color Some graphics applications create raster graphics –Defined by areas of colored pixels Oval –Stroke color Color of a shape’s outline –Fill color Color that fills the shape –Black and White button Resets the stroke color to black and the fill color to white –Swap Colors Switches the stroke and fill color

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool No colorBlack and WhiteStroke colorFill colorSwap Colors Fig. 17.6Setting the fill and stroke colors.

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool Keyframe Fig. 17.7Keyframe added to the timeline.

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool Fig. 17.8Making multiple selections with the selection tool.

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool Selection width and heightSelection location Stroke and fill colorStroke widthStroke style Fig. 17.9Modifying the size of a shape with the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Creating a Shape with the Oval Tool Gradient fills Red radial gradient fill Fig Choosing a gradient fill.

 2004 Prentice Hall, Inc. All rights reserved Adding Text to a Button Text tool –Adds text to Flash movies

 2004 Prentice Hall, Inc. All rights reserved Adding Text to a Button Font typeFont selectorFont heightText (fill) colorBoldItalicText alignment Character Spacing Linked URL Character position Edit format options Fig Setting the font face, size, weight and color with the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Adding Text to a Button Fig Adding text to the button.

 2004 Prentice Hall, Inc. All rights reserved Converting a Shape into a Symbol Flash movie –Parent movie A scene Contains the entire movie including all graphics and symbols Reusable movie elements –Graphics Ideal for static images and basic animations –Buttons Objects that perform button actions –Movie clips Ideal for recurring animations –Movie explorer Displays the movie structure

 2004 Prentice Hall, Inc. All rights reserved Converting a Shape into a Symbol Fig Selecting an object with the selection tool.

 2004 Prentice Hall, Inc. All rights reserved Converting a Shape into a Symbol Fig Creating a new symbol with the Convert to Symbol dialog.

 2004 Prentice Hall, Inc. All rights reserved Converting a Shape into a Symbol Symbol listNew Symbol FolderCreate New Symbol Symbol PropertiesDelete symbol Fig Library panel.

 2004 Prentice Hall, Inc. All rights reserved Converting a Shape into a Symbol Fig Movie Explorer for ceoassist.fla.

 2004 Prentice Hall, Inc. All rights reserved Editing Button Symbols Edit Symbols button –Four frames Button states –Up state Default state before user presses the button or rolls over with mouse –Over state User rolls over the button with mouse –Down state Plays when user presses a button Hit state –Not visible when viewing the movie –Defines active area of the button

 2004 Prentice Hall, Inc. All rights reserved Editing Button Symbols Main sceneActive symbolEdit sceneEdit symbolsReturn to main scene Zoom percentage Keyframes Button states Fig Modifying button states with a button’s editing stage. Current frame

 2004 Prentice Hall, Inc. All rights reserved Adding Keyframes Selected Over frame Insert Keyframe Frame options Fig Inserting a keyframe.

 2004 Prentice Hall, Inc. All rights reserved Adding Sound to a Button Flash imports sounds in the WAV (Windows), AIFF (Macintosh) or MP3 formats Optimize as needed

 2004 Prentice Hall, Inc. All rights reserved Adding Sound to a Button Sound added to the Down frame Sound Sync Fig Adding sound to a button.

 2004 Prentice Hall, Inc. All rights reserved Adding Sound to a Button Sound nameCompressionPreprocessingSample rateSound clip size and compression Fig Optimizing sound with the Sound Properties dialog.

 2004 Prentice Hall, Inc. All rights reserved Verifying Changes with Test Movie Published Flash movies –Shockwave Flash extension.swf Select Test Movie from Control menu to export movie into the Flash Player

 2004 Prentice Hall, Inc. All rights reserved Verifying Changes with Test Movie Up stateOver state Fig GO button in its up and over states.

 2004 Prentice Hall, Inc. All rights reserved Adding Layers to a Movie Insert Layer button –Places a layer named Layer 2 above the selected layer

 2004 Prentice Hall, Inc. All rights reserved Adding Layers to a Movie Rename a layer by double clicking its name Insert a new layer Delete layer Fig Renaming a layer.

 2004 Prentice Hall, Inc. All rights reserved Adding Layers to a Movie Left justifyCenter justify Right justify Full justify Alias text Fig Setting text alignment with the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Adding Layers to a Movie Fig Creating a title with the text tool.

 2004 Prentice Hall, Inc. All rights reserved Animating Text with Tweening Two methods to tween objects –Shape tweening Morphs an object from one shape to another –Motion tweening Moves objects around the stage Can be applied to symbols or grouped objects

 2004 Prentice Hall, Inc. All rights reserved Animating Text with Tweening Fig Adding a keyframe to create an animation.

 2004 Prentice Hall, Inc. All rights reserved Animating Text with Tweening Motion tween Fig Creating a motion tween.

 2004 Prentice Hall, Inc. All rights reserved Animating Text with Tweening Actions toolboxAdd script itemCheck SyntaxShow Code HintsReferenceDebug Options Script Navigator stop action Script window View Options Action applied to frame Fig Adding ActionScript to a frame with the Actions panel.

 2004 Prentice Hall, Inc. All rights reserved Adding a Text Field Text field –Contains a string that changes every time the user presses the button

 2004 Prentice Hall, Inc. All rights reserved Adding a Text Field Fig Creating a text field.

 2004 Prentice Hall, Inc. All rights reserved Adding a Text Field Text type Line type Variable name Fig Creating a dynamic text field with the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Adding ActionScript Add ActionScript to the button –Change the contents of the text field every time a user clicks the button

 2004 Prentice Hall, Inc. All rights reserved Adding ActionScript Fig Adding an action to a button with the Actions panel.

 2004 Prentice Hall, Inc. All rights reserved Creating a Projector (.exe ) File with Publish Publish Flash in two formats –Select Publish Settings… from File menu to open the Publish Settings dialog –Select Flash and Windows Projector checkboxes and uncheck all others –Click OK to enable the new settings –Select Publish from File menu

 2004 Prentice Hall, Inc. All rights reserved Creating a Projector (.exe ) File with Publish Windows Executable (.exe ) Flash (.fla ) Flash Player Movie (.swf ) Fig Published Flash files.

 2004 Prentice Hall, Inc. All rights reserved Manually Embedding a Flash Movie in a Web Page Add Flash movies to Web sites –object Makes movie viewable in Internet Explorer –embed Makes movie viewable in Netscape

 2004 Prentice Hall, Inc. All rights reserved. Outline embedFlash.html (1 of 2)

 2004 Prentice Hall, Inc. All rights reserved. Outline embedFlash.html (2 of 2)

 2004 Prentice Hall, Inc. All rights reserved Importing and Manipulating Bitmaps Lasso tool –Selects areas of shapes –Magic wand Selects areas of similar colors –Polygonal mode Selects straight-edged areas Eraser tool –Removes shape areas by clicking and dragging across Paintbrush tool –Applies color the same way the eraser removes color Paint behind –Sets the tool to only paint in area void of color information Paint inside –Paints inside a line boundary

 2004 Prentice Hall, Inc. All rights reserved Creating an Advertisement Banner with Masking Masking –Hides portion or layers –Masking layer Hides objects in the layers beneath it

 2004 Prentice Hall, Inc. All rights reserved Creating an Advertisement Banner with Masking Free transform tool anchor Fig Resizing an image with the free transform tool.

 2004 Prentice Hall, Inc. All rights reserved Creating an Advertisement Banner with Masking No Color Rainbow gradient fill Fig Creating the oval graphic.

 2004 Prentice Hall, Inc. All rights reserved Creating an Advertisement Banner with Masking Mask layer Masked layer Locked for editing Fig Creating a mask layer.

 2004 Prentice Hall, Inc. All rights reserved Creating an Advertisement Banner with Masking Fig Completed banner.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Applying all the techniques previously to the creation of an online form that offers interactive help

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Right justify Line-spacing adjustment Fig Adjusting the line spacing with the Format Options panel.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Round Rectangle Radius option Fig Creating a rectangle with rounded corners.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Fig Creating multiple instances of a symbol with the Library panel.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Line type Text type Fig Input and password text field creation.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Frame Label field Red flag indicates presence of frame label Fig Adding Frame Labels using the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms WidthHeight Position Center alignment Fig Centering an image on the stage with the Property Inspector.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Frame 1 Frame 5 Frame 10 Shape tween Fig Creating a shape tween.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Fig Adding the field symbol to the nameWindow movie clip.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Fig Creating an animation with the form field symbol.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Edit sceneEdit symbolsSymbol to edit Current symbol Fig Duplicating movie clip symbols with the Library panel.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Frames for animation Deleting a letter from each subsequent frame Fig Creating a frame-by-frame animation.

 2004 Prentice Hall, Inc. All rights reserved Adding Online Help to Forms Fig Bug2Bug.com help form.

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Preloader –Simple animation that plays while the rest of the Web page is loading

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Rotate times field Fig Creating a rotating object with the motion tween Rotate option.

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Fig Inserted movie clips.

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Gradient color swatchGradient rangeInner colorGradient previewHexadecimal valueAlpha valueOuter color Fig Changing gradient colors with the Color Mixer panel. Fill type

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Click and drag to add or remove a color Fig Adding an intermediate color to a gradient. Resulting gradient

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Up state Hit state Fig Defining the hit area of a button.

 2004 Prentice Hall, Inc. All rights reserved Creating a Web-Site Introduction Rotating counter- clockwise Text hyper- linked buttons Fig Creating an animation to preload images.

 2004 Prentice Hall, Inc. All rights reserved ActionScript With the following functions, you can build some fairly complex Flash movies

 2004 Prentice Hall, Inc. All rights reserved ActionScript

 2004 Prentice Hall, Inc. All rights reserved Web Resources