Animation and Interactivity How animation works generally (psychology & media) GIF animations Flash animation (motion tweening and motion guides) Flash.

Slides:



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

Animation effects Adds motion to a piece Draws attention to what you want user to notice As simple as a transition effect, such as a fade, dissolve or.
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.
Fireworks MX. 2 Lesson 1a—Create Slices & Hotspots n Fireworks allows you to add animation (behaviors) already written in ___________. n However, users.
Adding Interactivity to Flash Movies Using Buttons and ActionScript SPACE Lab
Create slices and hotspots Create links in Web pages Create rollovers from slices Create basic animation Add tweening symbol instances to create animation.
Macromedia Flash MX 2004 – Design Professional Macromedia Flash MX GETTING STARTED WITH.
Frame(GIF) and Vector Animation. Two Applications for Creating Animations 1.Photoshop – GIF Animation 2.Flash – Vector Animation.
Creating Animation Pertemuan Matakuliah: L0182 / Web & Animation Design Tahun: 2008.
© 2010 Delmar, Cengage Learning Chapter 4: Creating Animation.
Chapter 3 Working with Symbols and Interactivity.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
Chapter 15 Video. Importing Video Into Flash Once you import video into Flash MX 2004, you can control it using behaviors and very basic ActionScript,
Flash Michelle Johnston, Firebird Services Ltd. What Is Flash? Flash is a multimedia program created specially for use on the Web You can create animations/movies.
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.
Introduction to Flash FYS100 Creative Discovery in Digital Art Forms Spring 2007 Burg.
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.
Case Study: Using Macromedia Director
Flash MX II. Flash MX – Tweened Animation There are two methods for creating an animation sequence in Flash –Frame-by-frame animation –Tweened animation.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Button library Create a button Learn.
Tutorial 5 Making a Document Interactive. XP Objectives Explore the different button states Add a button from the Buttons library Edit a button instance.
Chapter 11 Adding Sound and Video. Chapter 11 Lessons 1.Work with sound 2.Specify synchronization options 3.Modify sounds 4.Use ActionScript with sound.
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.
CT1514.  What is Motion Guide Layer?  Controls the movement of objects in a Motion tween animation  How to create a Motion Guide Layer?  Click on.
2.02 Develop Computer Animations Review By: Adam Garcia,Christian Brown, Richard Williams, Tyler Borden.
© 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 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
Creating a Logo – Lesson 3 1 Creating a Logo Lesson 3.
CSC 361/661 Digital Media Spring 2010 Professor Burg.
XP Tutorial 4 Special Animations. XP New Perspectives on Macromedia Flash MX Special Layers for Animation Animation Using a Motion Guide Layer.
7-1 OBJ Copyright 2003, Paradigm Publishing Inc. Using ActionScript and Creating Templates Macromedia Flash Design & Application.
Tutorial 7 Planning and Creating a Flash Web Site.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
Introduction to Flash MX 2004: Action Scripting Lloyd Rieber.
Chapter 7 Animation Prepared by: Ms. Ma. Anna Corina G. Kagaoan College of Arts and Sciences.
Frame, Timeline and Vector Animation. Purposes of Animation Capture viewers attention –exampleexample Explain a system or process –exampleexample Set.
Introduction to Flash Animation CS 318. Topics Introduction to Flash and animation The Flash development environment Creating Flash animations  Layers.
5-1 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound, Video, and Basic Interactivity with Buttons Macromedia Flash Design & Application.
UNIT-V MULTIMEDIA APPLICATIONS Learning objectives To learn about symbols and instancesTo learn about symbols and instances To learn how to use Flash Action.
Adobe Flash CS4 – Illustrated Unit A: Getting Started with Adobe Flash.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
Macromedia Flash MX 2004 – Design Professional Special Effects CREATING.
1 Flash Basics Exercise Guide Making Animated Text  1.1 Open Flash 5.0 working environment frame 1  1.2 Highlight frame 1 of the first layer Insert.
Introduction to Flash CSC361/661 Digital Media Spring 2007 Burg.
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.
1 A Basic Introduction to Flash. Outline What is a flash? Macromedia Flash MX 2004 Flash concepts Flash Demos Conclusion Additional help 2.
Flash Develop Rich Internet Content and Applications –Design motion graphics or build data-driven applications Flash Document = “.fla” filename extension.
Tutorial 7 Creating Animations. XP Objectives Learn about animation Create a timeline Add AP divs and graphics to a timeline Move and resize animation.
Video in Macromedia Flash (Optional) – Lesson 121 Video in Macromedia Flash (Optional) Lesson 12.
FLASH!!!!!!!!!!!!!!!!!!!!!!!!! A TUTORIAL BY BRITTANY HESS AND MARGARET DENTON.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
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)
Introduction to Animation In animation, a series of images are rapidly changed to create an illusion of movement.
Animation in flash. Frame-by-Frame Animation An animation is made from a series of framed images displayed one after the other to create the motion. Flash.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
 Motion Tween allow us to move a shape on the stage from one place to another.  In order to use motion tween, the shape to be moved must be converted.
Creating a Flash Web Site
Adding Buttons, Actions, and Sounds
Flash Interface, Commands and Functions
CT1514 Flash-2.
INTRODUCTION TO ADOBE FLASH CS4
Animate Some more advanced concepts
INTRODUCTION TO FLASH ANIMATION
Develop Rich Internet Content and Applications
Presentation transcript:

Animation and Interactivity How animation works generally (psychology & media) GIF animations Flash animation (motion tweening and motion guides) Flash interactivity with ActionScript Buttons that invoke web pages Input text and dynamic text Drag and drop Building menus Flash for multimedia development Importing video and sound Publishing movies for browsers or stand-alone executables Loading other movies Executing external programs

Animation Adds motion to a piece Draws attention to what you want user to notice As simple as a transition effect, such as a fade, dissolve or zoom Or as elaborate as full cartoon-like animation or 3D animation

Why is animation possible? Biology: persistence of vision Object seen by a human eye remains mapped onto retina for a brief time A series of images that change slightly and rapidly appear to blend, giving illusion of movement

Frames per second TV builds 30 entire frames/second Film shot at camera shutter 24 frames/second, but projector flashes through each image twice Multimedia often makes do with less Flash defaults to 12 frames/second

Cel animation Cartoon animation makes a different cel (celluloid sheet) for each frame Cel animation artwork begins with keyframes for each action, such as character about to take a step Tweening creates frames between keyframes Computer animation does automatic tweening

GIF89a Added simple animation capability Many images included in one GIF file Browsers will show animations in sequence—an exampleexample GIF constructor set makes this easier: see

Macromedia Flash™ Originally called FutureSplash Macromedia acquired it to complement their flagship product Director™ Both use stage, actors and timelines Both play with Shockwave plug-ins Flash reduces bandwidth overhead

Motion tweens Motion tweens make direct animations Create a graphic object to move Create a keyframe in another frame In any frame, right-click and select: Create Motion Tween Ditto in final keyframe: arrow appears Voila! Straight line motion Motion tweens change other properties: Size, color, orientation

Motion guides Motion guides for arbitrary motion path Right-click on layer Select Add Motion Guide With pencil tool, draw a path Drag graphic to start and end points (in first and final keyframes) Voila! Arbitrary path motion

ActionScript How do we make the make it stop? Go to ending keyframe Open Actions window (F9) Select Actions -> Move Control -> stop Or select Expert mode and type stop(); ActionScript: Flash’s programming language Director has Lingo, Authorware has calculations ActionScript is similar to JavaScript for browser

How to make it play twice? Which action? gotoAndPlay(frame) What kind of control structure? if (condition) { } else { } Add this code to last frame in movie: if (firstTime) //set true in frame 1 { firstTime = false; gotoAndPlay(2); } else stop();

Buttons and actions Create a graphic on stage Select whole graphic (double-click it) Convert to symbol (F8) In Actions window: on (release) { getURL(" } Parameters refine function’s behavior Select help icon to read reference manual

Publishing Flash movies File > Publish settings Ctrl-Enter compiles.fla to.swf (“swiff”) Publish.html to tell browser where to find latest Flash player, dimensions of movie Windows projector produces stand-alone.exe program (plays without browser or Flash player) Macintosh player does the same on Mac

Input text and dynamic text With text tool ( A ), draw two boxes In first box: Properties: Static text -> Input text Set Var (variable) to inText (identifier) Click on background box to left of Var In second box: Properties: Static text -> dynamic text Set Var (variable) to dynText (identifier) In button, change action: inText = dynText; Use this capability to let use choose web page

Drag and drop (1) Create two boxes (drag and target) Convert to symbols: both as movie clips Call 1st symbol dragBox, 2 nd targetBox Give each clip an — Call 1 st clip myDrag and 2 nd one myTarget Double-click into dragBox movie clip Double-click on this box again Convert to symbol: this time make it a Button Now we have a button inside a movie clip! Button will contain event action (dragging)

Drag and drop (2) Actions for redButton: on (press) { startDrag(this); } //Drag while pressing on (release)//user lets go of mouse { stopDrag();//button stops following mouse if (this.hitTest(_parent.myTarget))//on target? { _parent.dynText = "bulls eye!"; } else { _parent.dynText = "nope!"; this._x = 100; this._y = 286; //put this back } } See examples in DragDropJeffHeigl.zipDragDropJeffHeigl.zip

Pull-down menu Create a button Drag a few instances from library Align all but one (Window > Align) Make these a movie clip Give this clip an instance name: myMenu Action in first frame: myMenu._visible = false; Action in top level button: on (release, rollOver) { myMenu._visible = true; } How do we get menu buttons to go away? on (rollOut) { myMenu._visible = false; }

Flash for multimedia development Importing graphics File > import (look at All Formats) You can resize or rotate graphics Modify > Break Apart to get effects in Flash Video uses Sorensen Sparc codec Changing quality vastly changes file size Movies play at frame rate of Flash movie Sound wav files converted to mp3 internally Stored automatically as symbols in library Select imported sound from frame properties

Command with fscommand Usage: fscommand("command", "parameters") Send a message to Flash player about how to play: E.g. fscommand(“fullscreen”, true); Send a message to a scripting language such as JavaScript in a Web browser. E.g. In the Flash file: fscommand("messagebox", "This is a message box called from within Flash."); In the HTML file: you can put a function, in format “myMovie_DoFSCommand(command, args)” To call ActiveX control Through JavaScript calls (like above) using the embedded ActiveX control ID in the function In Flash Project files (.exe), you can invoke other exe applications with command=exec and parameters=my_exe_filename

Where to go from here? Experiment with Flash UI components Buttons, radio buttons, etc., made easier Just add functions as event handlers Good web sites and forums: macromedia.com/devnet/mx/flash/ flashkit.com actionscript.org Other vendors provide useful tools Swish for animated text (used in CIMEL) 3D graphics, more components, etc. Is there a presentation topic or two here?