chapter 1 getting started with flash. chapter 1 lessons 1.understand the flash workspace 2.open a...

56
Chapter 1 Getting Started with Flash

Upload: barry-strickland

Post on 15-Jan-2016

218 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Chapter 1

Getting Started with Flash

Page 2: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Chapter 1 Lessons

1. Understand the Flash workspace2. Open a document and play a Flash movie3. Create and save a Flash movie4. Work with the Timeline5. Distribute a Flash movie/application6. Plan an application

Page 3: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

What is the Adobe Flash Platform?

An integrated set of tools and technologies used to develop and deliver compelling applications running on computers, websites, and mobile devices.

Getting Started with Flash

Page 4: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

What is the Adobe Flash Professional?

A development tool that allows you to create compelling interactive applications, which often include animation.

Getting Started with Flash

Page 5: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Flash uses vector images.– Vectors are scalable– Reduces the size of graphic files

• Flash provides for streaming content over the Internet.– Does not need to wait for entire contents of web

page to load to start playing

Getting Started with Flash

Page 6: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Tools panel

A Typical Flash Workspace

© 2011 Delmar Cengage Learning

Movie Menu bar

Object on the stage

Title Bar

Menu Bar

Object in the Library panel

Pasteboard

–Stage–

Playhead

Selecting frame 1 displays the object (car) on the Stage

Understand the Flash Workspace

Page 7: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• You can place objects on the stage and they are incorporated on a timeline.

• You can create a movie by arranging objects on the stage and then animating the objects.

• You can play the movie on the stage using movie controls, such as play, stop, and rewind.

Understand the Flash Workspace

Page 8: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• There are three parts of the workspace.– Menu bar organizes commands within menus– Stage is where you place objects– Timeline is how you organize and control objects on

the Stage• You can display one or more panels at the same

time.

Understand the Flash Workspace

Page 9: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Stage contains all the objects such as drawings, photos, animations, text, and video.– Shows how the objects behave within the movie

and how they interact with each other– You can resize and change the background color

Understand the Flash Workspace

Page 10: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Timeline is used to organize and control the movie’s contents by specifying when each object appears on the Stage.

• The images of the Timeline are contained within frames.

• Layers help to organize the objects on the Stage.

Understand the Flash Workspace

Page 11: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• You can use panels to view, organize, and modify objects and features in a movie.

• The Tools panel contains a set of tools, used to draw and edit graphics and text.

• The Properties panel is used to display and change the properties of an object, such as size and transparency of a circle.

Understand the Flash Workspace

Page 12: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Understand the Flash Workspace

Page 13: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Library panel is used to store and organize the various assets of a movie such as graphics, buttons, sounds, and video.

• You can expand a panel to show all of its features or collapse it to reduce the clutter on a workspace.

Understand the Flash Workspace

Page 14: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Floating panels can be resized by dragging the left side, right side, or bottom of the panel.

• Flash provides several preset workspace configurations that provide panels and panel sets most often used.

Understand the Flash Workspace

Page 15: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Open a Document and Play a Movie

• Flash files are called documents or movies interchangeably.

• To play a Flash movie on computers without Flash, you must change the movie to the Flash Player (.swf) file format.

• Flash players can be downloaded free at www.adobe.com.

Page 16: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• To preview a movie, you can play the frames by directing the playhead to move through the Timeline, and watch the movement on the Stage.

• You can preview a movie using the Controller.• To display the Controller, open the Window

menu, point to Toolbars, and then click Controller.

Understand the Flash Workspace

Page 17: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Control commands

Open a Document and Play a Movie

Controller

The Control menu commands and the Controller have buttons that resemble common DVD-type options.

Page 18: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• To preview the full functionality of a movie, you need to play it using a Flash Player.

• You can use the Test Movie command on the Control menu to test the movie using a Flash Player.

Open a Document and Play a Movie

Page 19: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Example of an Application

Open a Document and Play a Movie

Page 20: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• To view a Flash movie on the web, your computer needs to have the Flash Player installed.

• An important feature of Flash Player is that you are able to decompress a compressed file.

• A compressed file is small and delivered more quickly over the Internet.

Open a Document and Play a Movie

Page 21: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Creating a Flash Movie– Flash movies are created by:

1. Placing objects on the Stage2. Editing the objects3. Animating the objects

• A keyframe indicates that there is a change in the movie, such as the start of an animation, or the resizing of an object on the Stage.

Create and Save a Movie

Page 22: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Circle object in frame 1

Object on the Stage is in frame 1 on the Timeline

Create and Save a Movie

Page 23: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Creating an Animation– The blue background color on the Timeline

indicates a motion animation that starts in frame 1 and ends in frame 24

– The dotted line on the Stage indicates the path the object will follow during animation

– A basic motion animation requires two keyframes: the starting and ending positions

Create and Save a Movie

Page 24: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Motion Animation

Dotted line indicates the path the object will follow during animation

Blue shading indicates a motion tween animation

Create and Save a Movie

Page 25: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Flash provides a process called motion tweening that makes it relatively simple to move objects.

• Only symbols and text blocks can be motion tweened.

• Tween span is the number of frames in the motion tween.

Create and Save a Movie

Page 26: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Two important things happen during the motion tween animation process.– The Timeline shows the tween span (also called

the motion span), which is the number of frames in the motion tween

– A dotted line is created, called the motion path, representing the path the object takes from the beginning frame to the ending frame

Create and Save a Movie

Page 27: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Flash provides several preconfigured motion tweens that you can apply to an object on the Stage.

• You can preview each preset before applying it and you can easily change to a different preset, if desired.

Create and Save a Movie

Page 28: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Panel set with Motion Presets panel active

Create and Save a Movie

Page 29: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• You can animate an object’s appearance.• You can alter the object’s properties as it is

being animated using the motion tween process.

• You can make changes to an object by using the Properties panel.

Create and Save a Movie

Page 30: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Timeline organizes and controls a movie’s contents over time.

• By learning how to read the information provided by the Timeline, you can determine and change what will be happening in the movie, frame by frame.

Create and Save a Movie

Page 31: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Work with the Timeline

Page 32: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Layers are like transparent sheets of plastic that are stacked on top of each other and can contain one or more objects.

• You can add layers using the Timeline command on the Insert menu or by clicking the New Layer icon on the Timeline.

Work with the Timeline

Page 33: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• When a new layer is added, Flash stacks it on top of other layer(s).

• You can change the stacking order of layers by dragging them up or down in the list of layers.

• You can name, hide, and lock layers.

Work with the Timeline

Page 34: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

© 2011 Delmar Cengage Learning

The concept of layers The Stage

Work with the Timeline

Page 35: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Timeline is made up of individual segments called frames.

• The contents of each layer appear as the playhead moves over the frames.

• Frames are numbered in increments of five.

Work with the Timeline

Page 36: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• If you create a motion tween, the first frame of the tween span will be a keyframe.

• Types of keyframes.– Property keyframe specifies locations on the Timeline

where you want an animation to change– Blank keyframe indicates that no content (objects) appear

on the frame

Work with the Timeline

Page 37: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Work with the Timeline

Page 38: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Interpreting the Timeline: What is happening on the Stage is represented by symbols and colors.

Work with the Timeline

Page 39: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• The Playhead indicates which frame is playing and can be manually moved by dragging it left or right.

• Dragging the playhead allows you to do a quick check of the movie without having to play it.

Work with the Timeline

Page 40: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• You can view Flash movies on the web as part of a website or directly from a viewer’s computer using the Flash Player; they cannot be viewed on the web using the web browser.

• To publish a Flash movie, you must create and save a movie and then select the Publish command on the File menu.

Distribute a Flash Movie/Application

Page 41: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Publishing a movie creates two files.– .html—the HTML document– .swf—the Flash Player file

• The HTML document contains the code that the browser interprets to display the movie on the web.

Distribute a Flash Movie/Application

Page 42: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Sample HTML code

Movie source

Background color

Dimensions

Distribute a Flash Movie/Application

Page 43: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Creating a projector file is another way you can distribute a movie that may or may not involve delivery on the web.

• The projector file is an executable file where you can specify the type of file you want to create such as Windows .exe files and Macintosh .app files.

Distribute a Flash Movie/Application

Page 44: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Use Flash to:– Develop animations that are part of a product

and delivered via the Internet– Create enhancements to web pages, such as

animated logos, interactive navigation buttons, and banner ads

– Create games for smart phones

Plan an Application

Page 45: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Planning an application or an entire website should include:

1. Stating the Purpose (Goals). “What do we want to accomplish?”

2. Identifying the Target Audience. “Who will use our application or website?”

3. Determining the Treatment. “What is the look and feel?”

4. Developing the Specifications and Storyboard.

Plan an Application

Page 46: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Defining Treatment– Tone: Will the website be humorous, serious,

light, formal, or informal?– Approach: How much direction will be provided?– Emphasis: How much emphasis will be placed on

various multimedia elements?

Plan an Application

Page 47: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

© 2011 Delmar Cengage Learning

Sample flowchart

A flowchart is a visual representation of how the contents of an application or a website are organized and how various screens are linked.

Plan an Application

Page 48: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Specifications state what will be included in each screen as well as:

– The Playback System: the choice of what configuration to target for playback

– Elements to include: details about the various elements included in the site

– Functionality: the way the program reacts to an action by a user

Plan an Application

Page 49: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• A storyboard shows the layout of the various screens, often in the form of thumbnail sketches.

• It describes the contents and illustrates how text, graphics, animation, and other screen elements will be positioned.

Plan an Application

Page 50: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Plan an Application

Sample Storyboard

Page 51: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Screen design guidelines.– Balance refers to the distribution of optical

weight in the layout of the screen design– Unity helps the screen objects reinforce each

other– Intra-screen unity refers to how the various

screen objects relate and how they all fit

Plan an Application

Page 52: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Screen design guidelines (continued)– Inter-screen unity refers to the design that

viewers encounter as they navigate from one screen to another, and how it provides consistency throughout the entire application or site

– Movement refers to the way the viewer’s eyes move through the objects on the screen

Plan an Application

Page 53: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Using Interactive Design Guidelines• Simplicity: make it easy so users don’t have to

spend time learning what the application does• Consistency: build in consistency in the

navigation scheme so users don’t get lost

Plan an Application

Page 54: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Using Interactive Design Guidelines• Feedback: provide feedback to user’s when

completing an action, such as changing the color of a clicked box

• User control: allow the user to skip long introductions and provide controls for starting, rewinding, and skipping animations

Plan an Application

Page 55: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

Guidelines for a general workflow process1. Create/acquire the elements to be used in the application2. Arrange the elements and create animations3. Apply special effects4. Create the interactivity5. Test and publish the application

Plan an Application

Page 56: Chapter 1 Getting Started with Flash. Chapter 1 Lessons 1.Understand the Flash workspace 2.Open a document and play a Flash movie 3.Create and save a

• Project Management– Develop a project plan that provides the project

scope and identifies the milestones, including analyzing, designing, building, testing, and launching

– Identify personnel and resources needs, budget, tasks, and schedules

– Successful projects are a team effort

Plan an Application