5-1 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound, Video, and Basic Interactivity with Buttons Macromedia Flash Design & Application.

Slides:



Advertisements
Similar presentations
INTRODUCTION TO ADOBE FLASH CS4
Advertisements

Chapter 14 Sound. Sound  Sound can be used for narration, background soundtracks, rollover noises, and for sound effects to complement animations. 
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.
Macromedia Flash MX 2004 – Design Professional and Interactivity WORKING WITH SYMBOLS.
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 5 Intermediate Level Course. Animation Basics Playhead In-Between Frames Keyframe Current Frame Number Framerate Current Time Frames.
Work with symbols and instances Work with Libraries Create buttons Assign actions to buttons Unit Lessons.
Macromedia Flash MX 2004 – Design Professional Macromedia Flash MX GETTING STARTED WITH.
Introduction to Macromedia Flash 8
1 Flash Programming Introduction Script Assist. 2 Course Description This course concentrates on the teaching of Actionscript, the programming language.
6-1 OBJ Copyright 2003, Paradigm Publishing Inc. Animating Using Symbols and Masks and Publishing Flash Movies Macromedia Flash Design & Application.
Chapter 9 Introduction to ActionScript 3.0. Chapter 9 Lessons 1.Understand ActionScript Work with instances of movie clip symbols 3.Use code snippets.
Chapter 11 Adding Media and Interactivity. Flash is a software program that allows you to create low-bandwidth, high-quality animations and interactive.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Media and Interactivity with Flash and Spry.
Chapter 3 Working with Symbols and Interactivity.
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,
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.
1 Lecture 12: Multimedia Not in Web 101 Text  Important Multimedia Issues  Audio  Movies and Video  Multimedia and HTML Documents.
Lehigh University Introduction to Flash MX Sharmeen Mecklai.
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.
Macromedia Flash CS4. What is Flash CS4? –Animation and interactive authoring program –Tools for complex animation, as well as excellent drawing tools.
© 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 2008 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH CS3.
® Copyright 2010 Adobe Systems Incorporated. All rights reserved. ® ® 1 INTRODUCTION TO ADOBE FLASH PROFESSIONAL CS5.
Working with Symbols and Interactivity
Creating a Logo – Lesson 3 1 Creating a Logo Lesson 3.
Copyright © 2003 Pearson Education, Inc. Chapter 5 – Slide 1 by Michael Kay The Web Wizard’s Guide to Flash.
© 2010 Delmar, Cengage Learning Chapter 3: Working with Symbols and Interactivity.
CSC 361/661 Digital Media Spring 2010 Professor Burg.
7-1 OBJ Copyright 2003, Paradigm Publishing Inc. Using ActionScript and Creating Templates Macromedia Flash Design & Application.
Creating Buttons – Lesson 71 Creating Buttons Lesson 7.
Adobe Flash CS3 Revealed Chapter 3 - WORKING WITH SYMBOLS AND INTERACTIVITY.
Adobe Flash CS3 Revealed
CSC 361/661 Digital Media Spring 2010 Professor Burg.
Chapter 16 Video. Importing Video Into Flash  Once you import video into Flash, you can control it using behaviors and very basic ActionScript, target.
2006 Adobe Systems Incorporated. All Rights Reserved. 1 INTRODUCTION TO ADOBE FLASH CS3.
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.
UNIT-V MULTIMEDIA APPLICATIONS Learning objectives To learn about symbols and instancesTo learn about symbols and instances To learn how to use Flash Action.
Building the Events Components– Lesson 111 Building the Events Components Lesson 11.
WORKING WITH SOUND & VIDEO CHAPTER 7 PART I. USING SOUNDS Mp3 & WAV files Drag the sound files from the Library panel onto Stage at different points along.
Macromedia Flash 8 Revealed WORKING WITH SYMBOLS AND INTERACTIVITY.
Macromedia Flash Design Professional And Interactivity WORKING WITH SYMBOLS.
IMovie 10 Overview. Importing Files from a Video Camera into iMovie 1.Plug the camera into a wall outlet using the power supply. (Some cameras will not.
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.
CIS 205—Web Design & Development Flash Chapter 3 Appendix on Using Buttons.
© 2011 Delmar, Cengage Learning Chapter 11 Adding Sound and Video.
XP Tutorial 3 Creating Animations. XP New Perspectives on Macromedia Flash MX Elements of Animation Layers are used to organize the content of.
DM 11- Flash –Unit C and Interactivity WORKING WITH SYMBOLS.
Integrating Components and Dynamic Text Boxes with the Animated Map– Lesson 101 Integrating Components and Dynamic Text Boxes with the Animated Map Lesson.
CIS 205—Web Design & Development Flash Chapter 3 Working with Symbols and Interactivity.
Macromedia Flash MX Design Professional And Interactivity WORKING WITH SYMBOLS.
Using Video, and Flash Components, and Printing Flash Content
Adding Buttons, Actions, and Sounds
Chapter Lessons Understand the Macromedia Flash workspace
Exercise 63 Use a Flash movie clip symbol to store an animation that you need to use more than once in an application. This is very important for keeping.
INTRODUCTION TO ADOBE FLASH CS4
INTRODUCTION TO FLASH ANIMATION
Working with Symbols and Interactivity
Develop Rich Internet Content and Applications
Presentation transcript:

5-1 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound, Video, and Basic Interactivity with Buttons Macromedia Flash Design & Application

5-2 OBJ Copyright 2003, Paradigm Publishing Inc.  List the audio formats supported in Flash. List the audio formats supported in Flash.  Import sound to a movie's library. Import sound to a movie's library.  Add sound to an animation in a keyframe. Add sound to an animation in a keyframe.  Change synchronization, sound effects, and loop sound. Change synchronization, sound effects, and loop sound.  Edit the sound envelope to customize a sound effect and control volume. Edit the sound envelope to customize a sound effect and control volume.  Specify the compression setting for the sound file. Specify the compression setting for the sound file.  Describe how sampling rate and sample size affect a sound file. Describe how sampling rate and sample size affect a sound file.  Use sounds from the common library. Use sounds from the common library.  Increase the layer height to display sounds in frames. Increase the layer height to display sounds in frames. Performance Objectives

5-3 OBJ Copyright 2003, Paradigm Publishing Inc.  List the video formats supported in Flash. List the video formats supported in Flash.  Import a video clip to a movie. Import a video clip to a movie.  Specify import video settings. Specify import video settings.  Modify a video clip instance. Modify a video clip instance.  Create a button symbol. Create a button symbol.  Modify a button instance. Modify a button instance.  Test the button in the authoring environment. Test the button in the authoring environment.  Add sound to a button. Add sound to a button.  Add an action statement to a button to control a movie using the Actions panel. Add an action statement to a button to control a movie using the Actions panel.  Create a movie clip symbol. Create a movie clip symbol.  Create an animated button. Create an animated button.  COMMANDS REVIEW COMMANDS REVIEW Performance Objectives

5-4 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound to a Movie  Sound is added to a movie by importing the sound file to the library  then adding an instance of the sound to the frame in the Timeline in which you want the sound to start playing  Flash can import sound files in the following file formats with QuickTime 4 or later installed:  wav  aif  au  mp3 A Windows-based computer without QuickTime 4 installed cannot import au files. A Macintosh-based computer without QuickTime 4 installed cannot import wav files.

5-5 OBJ Copyright 2003, Paradigm Publishing Inc. Importing a Sound File File, Import or Ctrl + R change to the sound file format that you want to import

5-6 OBJ Copyright 2003, Paradigm Publishing Inc. Importing a Sound File…/2 waveform for selected audio file click the Play button to hear the recording Flash imports sound files directly to the library. Window, Library or F11

5-7 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound in Animation  Insert a new layer in the Timeline  not required but is recommended for ease of editing  Insert a keyframe at the required frame in the Timeline  Insert sound in a keyframe by dragging an instance of the sound from the library to the stage with the keyframe active  can also be added by choosing the sound file name in the Properties panel

5-8 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound in Animation…/2 pointing at the waveform displays a tooltip with the name of the sound file sound waveform displays in Timeline

5-9 OBJ Copyright 2003, Paradigm Publishing Inc. Synchronizing Sound to the Animation Sync sound properties can be applied to the keyframe from the Properties panel to synchronize the sound with the other elements in an animation.

5-10 OBJ Copyright 2003, Paradigm Publishing Inc. Sync Sound Options  Event  starts playing when the playhead reaches the keyframe and continues playing to completion  completely downloaded before it begins to play  Start  same as an event sound with the exception that any existing instances of the same sound will be stopped when the start sound plays  Stop  use to discontinue playing a sound  Stream  is synchronized with the Timeline and will stop playing when the playhead reaches the end of the frames  can begin playing almost immediately while the remainder of the data is downloaded in the background

5-11 OBJ Copyright 2003, Paradigm Publishing Inc. Looping a Sound Instance Key a value for a sound keyframe to specify the number of times in which the sound should be replayed.

5-12 OBJ Copyright 2003, Paradigm Publishing Inc. Applying Sound Effects The Effect drop-down list for a sound keyframe provides preset options to control the volume level or channel from which the sound plays.

5-13 OBJ Copyright 2003, Paradigm Publishing Inc. Sound Effect Options  Left Channel  plays in left channel only  Right Channel  plays in right channel only  Fade Left to Right  volume pans from left channel to right channel  Fade Right to Left  volume pans from right channel to left channel  Fade In  volume gradually increases as sound is played  Fade Out  volume gradually decreases as sound is played  Custom  opens Edit Envelope dialog box  customize volume or define starting and ending points for sound

5-14 OBJ Copyright 2003, Paradigm Publishing Inc. Editing the Sound Envelope Envelope line Envelope handle Sound Timeline Right channel editing window Display Timeline in frames Display Timeline in seconds Zoom Time In Left channel editing window Play Stop

5-15 OBJ Copyright 2003, Paradigm Publishing Inc. Editing the Sound Envelope…/2  Drag envelope handles up or down to increase or decrease the volume  Drag Time In or Time Out markers to change the point in the sound file at which the sound will start or finish  Changes made apply to the selected sound instance only

5-16 OBJ Copyright 2003, Paradigm Publishing Inc. Defining Sound Properties select sound and click Properties button

5-17 OBJ Copyright 2003, Paradigm Publishing Inc. Defining Sound Properties…/2  Sound is recorded digitally through a process called sampling  device attached to the computer measures the waveform at regular intervals  Sampling rate is the number of times per second a sample of the waveform is recorded  Sample size refers to the amount of information stored for each sampled waveform  High sample rate and sample sizes provide high quality sound  also require larger sound file size to store the information

5-18 OBJ Copyright 2003, Paradigm Publishing Inc. Compressing Sound Files Depending on the active compression option, you can test the level at which a sound file will be compressed using various sample rates and bit rates to achieve a balance between the quality of sound and file size. to hear the quality of the compressed sound file to change all instances of the sound to a different file to update the sound file if you have edited the original file outside Flash to discontinue playing a sound after clicking the test button

5-19 OBJ Copyright 2003, Paradigm Publishing Inc. Compression Options  ADPCM – Adaptive Differential Pulse Code Modulation  only the difference between samples is recorded  recommended for short sound effects  MP3 (file extension for MPEG) – Motion Picture Experts Group  removes redundant and irrelevant parts  no noticeable loss in quality  Raw  no compression but allows you to resample at a new rate  Speech  compression specific for voice data

5-20 OBJ Copyright 2003, Paradigm Publishing Inc. Using Sounds from the Common Library Flash provides a common sound library containing various sound effects that can be copied to the current movie's library. Window, Common Libraries With the keyframe active for which you want to insert a sound, drag the sound from the common library to the stage. The sound is added to the current movie's Library panel.

5-21 OBJ Copyright 2003, Paradigm Publishing Inc. Increasing Layer Height to Display Sound in Frames Modify, Layer click to select layer height setting enlarges display of waveforms

5-22 OBJ Copyright 2003, Paradigm Publishing Inc. Layer Height Settings 100% 200% 300%

5-23 OBJ Copyright 2003, Paradigm Publishing Inc. Finding Sound on the Internet Sound effects can be downloaded from the Web for free or for a small fee for use in a Flash movie. Sound effects can be downloaded from the Web for free or for a small fee for use in a Flash movie.

5-24 OBJ Copyright 2003, Paradigm Publishing Inc. Video File Formats  Flash can import video clips in the following file formats with QuickTime 4 or later installed: avi, dv, dvi, mpg, mpeg, mov, and flv  A Windows-based computer with DirectX 7 or later installed can also import a wmv (Windows Media File) format  Flash imports and exports video using the Sorenson Spark codec which controls the compression in Flash and the decompression in the Flash Player  Users will require Flash Player Version 6 to view a movie with embedded video

5-25 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video File, Import or Ctrl + R change to the video file format that you want to import

5-26 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video…/2 Import a QuickTime video clip as an embedded movie clip or as a link to an external video file. Choosing to link a QuickTime video externally requires that the movie be published as a QuickTime movie.

5-27 OBJ Copyright 2003, Paradigm Publishing Inc. Choosing the Import Video Settings Import settings that control the compression level of a video clip are set before the video is imported. drag slider or key value between 0 and 100 to specify compression level drag slider or key value between 0 and 48 to set the number of video keyframes drag slider or key value between 1 and 100 to specify the percentage of pixel dimensions synchronize the video with the timeline audio may or may not be able to be imported depending on program used to record tracks

5-28 OBJ Copyright 2003, Paradigm Publishing Inc. Choosing the Import Video Settings…/2 The video clip is added to the library. displays progress bar indicates number of frames required in the movie Timeline

5-29 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video Directly to the Library File, Import to Library Insert by dragging an instance of the video to the stage.

5-30 OBJ Copyright 2003, Paradigm Publishing Inc. Embedded Video Properties select video clip and click Properties button

5-31 OBJ Copyright 2003, Paradigm Publishing Inc. Modifying a Video Instance An instance of a video can be scaled, rotated, or skewed using the Free Transform tool or moved to a new location on the stage using the Arrow tool. display the Properties panel to change the dimensions of the clip

5-32 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video in a Movie Clip Symbol Gains the advantage of having its own Timeline and the ability to control the clip's brightness, tint, and alpha properties. Insert, New Symbol or Ctrl + F8 key a name click Movie Clip Behavior

5-33 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video in a Movie Clip Symbol…/2 File, Import or Ctrl + R change video import settings as necessary change to the video file format that you want to import

5-34 OBJ Copyright 2003, Paradigm Publishing Inc. Importing Video in a Movie Clip Symbol…/3 after the import process has completed, click the Back button insert a layer and/or create frames to place the video modify the movie clip symbol instance as necessary drag an instance to the stage

5-35 OBJ Copyright 2003, Paradigm Publishing Inc. Creating Buttons Create buttons to add simple interactivity with the user in which the user can control the movie's playback. A button is created as a symbol with four states. no mouse action over it Up mouse rolled over it Over has been clicked Down defines the boundaries Hit

5-36 OBJ Copyright 2003, Paradigm Publishing Inc. Creating Buttons…/2 Insert, New Symbol or Ctrl + F8 key a name click Button Behavior

5-37 OBJ Copyright 2003, Paradigm Publishing Inc. Modifying a Button Instance draw the button around the registration point insert keyframes and define the button's appearance for each of the four button states Flash will use the button's Up state as the Hit property if no image is created in the Hit keyframe.

5-38 OBJ Copyright 2003, Paradigm Publishing Inc. Inserting an Instance of a Button With the appropriate keyframe active, drag a button instance from the Library panel to the stage.

5-39 OBJ Copyright 2003, Paradigm Publishing Inc. Testing a Button Control, Enable Simple Buttons or Ctrl + Alt + B Control, Test Movie or Ctrl + Enter By default, Flash does not display a button's attributes during movement of the mouse over the button within the authoring environment. Use the Buttons common library to copy button symbols to the current movie.

5-40 OBJ Copyright 2003, Paradigm Publishing Inc. Adding Sound to a Button With the button in symbol editing mode, insert a keyframe in the Down frame of the button sound layer. select the sound from the drop-down list

5-41 OBJ Copyright 2003, Paradigm Publishing Inc. Adding an Action to a Button  ActionScript  a programming language used to instruct Flash on what actions to perform when a button is clicked by the user  like learning a new language of words and syntax to convey instructions to the computer  create using a point-and-click approach in the Actions panel

5-42 OBJ Copyright 2003, Paradigm Publishing Inc. Adding an Action to a Button…/2  Creating an action statement for a button involves associating ActionScript statements with a mouse event  Mouse event  occurs when the user interacts with the button  triggers Flash to perform the action statement associated with the event  most common are: Press Release Roll Over

5-43 OBJ Copyright 2003, Paradigm Publishing Inc. Actions Panel Window, Actions or F9 Toolbox ActionScript area Displays the current script that you are editing. Click the down arrow to navigate to other scripts. Parameters area Click to open the Reference Panel

5-44 OBJ Copyright 2003, Paradigm Publishing Inc. Actions Panel…/2  An event handler beginning with the keyword on is required at the beginning of any ActionScript statement for a button  created automatically when you add actions using the Actions panel  Double-click an action in the Toolbox to add the action to the ActionScript area  The Movie Control actions Stop, Play, Goto, and stopAllSounds are used to allow the user to control the playback of the movie when assigned to a button

5-45 OBJ Copyright 2003, Paradigm Publishing Inc. Creating a Movie Clip Symbol  Insert, New Symbol  key a name  click Movie Clip in the Behavior section  click OK  File, Import  change the Files of type  double-click the file name  Click the Back button to exit symbol editing mode

5-46 OBJ Copyright 2003, Paradigm Publishing Inc. Creating Animated Buttons Insert the movie clip symbol within a button's Up, Over, or Down keyframes to create a button that animates.

5-47 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you display the Actions panel? Window, Actions or F9

5-48 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you view the common button or sound library? Window, Common Libraries

5-49 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you create a new symbol? Insert, New Symbol or Ctrl + F8

5-50 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you enable the buttons on the stage? Control, Enable Simple Buttons or Ctrl + Alt + B

5-51 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you import sound or video? File, Import or Ctrl + R

5-52 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you import to the library? File, Import to Library Insert by dragging an instance of the video to the stage.

5-53 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you view the layer properties? Modify, Layer

5-54 OBJ Copyright 2003, Paradigm Publishing Inc. Commands Review How do you open the Library panel? Window, Library or F11

5-55 OBJ Copyright 2003, Paradigm Publishing Inc. Animating Using Symbols and Masks and Publishing Flash Movies Coming Next