Home Page Icon
Home Page
Table of Contents for
Learning Flash CS4 Professional
Close
Learning Flash CS4 Professional
by Rich Shupe
Learning Flash CS4 Professional
Learning Flash CS4 Professional
FOREWORD
Preface
A Dynamic Duo
Can I See Your Portfolio?
Who This Book Is For
What Is—and Isn’t—in This Book
What’s In
What’s Not
Companion Website
Related Resources
Conventions Used in This Book
Project Progress
Using Code Examples
We’d Like to Hear from You
Safari® Books Online
Acknowledgments
About the Author
Colophon
1. INTERFACE ESSENTIALS
Introduction
Getting to Know the Flash CS4 Interface
Creating a New Document
Using the New Application Window
Understanding Panels
Tools
Properties
Library
Other common panels
Understanding the Timeline
Layers
Keyframes and interpolated frames
Customizing Your Interface
Selecting and Editing a Workspace
Minimizing Panels
Grouping and Docking Panels
Dock or group?
The Preferences Dialog
Customizing the Tools Panel
Keyboard Shortcuts
Project Progress
Creating Your First FLA
Importing Your First Asset
Creating Your First Shape
Testing Your File
Creating a Guide Layer
Adding Utility Layers
Saving Your File As a Template
The Project Continues...
2. CREATING GRAPHICS
Introduction
Drawing Modes
Merge Drawing Mode
Union, intersection, and deselecting
Object Drawing Mode
Grouping and Breaking Apart
Drawing au Naturel
Drawing with Bézier Curves
Selecting
Using Fills and Strokes
Selecting Separately
Stroke Properties
Mining Properties with Tools
Working with Color
Pop-Up Palette
Swatches Panel
Color Panel
Creating gradients
Kuler Panel
Using Context-Sensitive Tool Options
Paint Modes
Erase Modes
Transforming Assets
Free Transform Tool
Transform Panel
Gradient Transform Tool
Creating Static Text
Using the Spray Brush
Creating a Symbol
Project Progress
Creating a New File and Container Movie Clip
Adding Title Text and Underline
Adding Skills Text and Underline
Cascading Rectangles Primitives
Applying a Gradient to the Cascade
Adding Grime
The Project Continues...
3. USING SYMBOLS
Introduction
Symbol Types
Button
Creating your first button
Editing your button
Writing your first script
Movie Clip
Graphic
Converting Symbol Types
Creating and Editing Symbols
Convert to Symbol and Edit in Place
Insert Symbol and Edit Selected
Reusing Symbols
Using the Deco Tool
Vine Fill
Grid Fill
Symmetry Brush
Project Progress
Creating the Sound Controller
Using layer masks
The controller parts
Assembling the pieces
Adding ActionScript-Controlled Animation
The Project Continues...
4. IMPORTING GRAPHICS
Introduction
Importing Graphics
Importing Nonnative Formats
Importing from SWF
Importing from Adobe Photoshop
Supported Photoshop features
Using the Import dialog
Configuring the PSD Importer preferences
Importing from Adobe Illustrator
Supported Illustrator features
Using the Import dialog
Configuring the AI Importer preferences
Importing from Other Native Formats
Importing an Image Sequence
Working with Bitmaps
Publish Settings
Bitmap Properties
Tracing a Bitmap
Using a Bitmap As a Tile
Project Progress
Importing the Interface Shell
Importing the Background
Importing the Logo
Importing the Lab Screen
The Project Continues...
5. ANIMATION
Introduction
Knowing the Timeline
Layers
Frames
Adding and removing frames
Creating and clearing keyframes
Frame Editing Controls
Creating Frame-by-Frame Animations
Editing Multiple Frames
Copying and Pasting Frames
Swap Symbols
Creating a Shape Tween
Shape Hints
Adding a Layer Mask
Creating a Motion Tween
Editing the Motion Path
Drawing a Motion Guide
Roving keyframes
Reversing a motion path
Color Effects
Using Motion Presets
Copying Motion
Using the Motion Editor Panel
Adding Property Keyframes in the Motion Editor
Editing Property Curves in the Motion Editor
Easing
Adding Easing with the Motion Editor
Creating a Custom Easing Preset
Creating a Classic Tween
Adding Easing with the Properties Panel
Custom Easing
Classic Motion Guide
Project Progress
Inner Section Timeline Structure
Adding layers and frame labels
Inserting frame scripts
Tweening the motion blur
Creating content spans and adding content
Project-Wide Timeline Structure
Defining the length of each layer frame span
User interface motion tweens
Viewer wheel classic motion tween intro animation
Viewer wheel classic motion tween section animations
Button Script
Testing Your Work
The Project Continues...
6. ACTIONSCRIPT BASICS
Introduction
How Much ActionScript Is Covered in This Book?
Introducing ActionScript Interface Elements
Actions Panel
Output Panel
Basic Script Grammar
Introducing Properties
Introducing Methods
Introducing Events and Event Listeners
Basic Syntax Issues
Dot Syntax
Case Sensitivity
Execution Order
Use of the Semicolon(;)
Evaluating an Expression
Absolute Versus Relative Addresses
Comments
Checking and Formatting Your Scripts
Variables and Data Types
Casting Data Types
Operators
Scope and this
Functions
Arguments
Return Values
Conditionals
if
switch
Loops
for Loop
while Loop
A Loop Caveat
Arrays
Multidimensional Arrays
Associative Arrays and Objects
Properties
Methods
Events
Event Listeners
Using Mouse Events to Control Properties and Methods
Frame Events
Removing Event Listeners
The Display List
Adding and Removing Children
Using addChild()
Adding Symbol Instances to the Display List from the Library
Using addChildAt()
Removing Objects from the Display List and from Memory
Preventing out-of-bounds errors
Removing objects from memory
Finding Children by Position and by Name
Casting a Display Object
Timeline Control
Frame Labels
Frame Rate
Project Progress
Chapter 3: The Deco Tool
Chapter 5: The Portfolio Project Navigation
The Project Continues...
7. FILTERS AND BLEND MODES
Introduction
Bitmap Caching
The Properties Panel
The ActionScript Method
Filters
Filter Inventory
The Properties Panel
The ActionScript
Configuring a filter
Applying a filter
Filters in Practice
Blend Modes
Blend Mode Inventory
The Properties Panel
ActionScript
Blend Modes in Practice
Alpha Masks
The Timeline Limitation
The Blend Mode Solutions
The ActionScript Solution
Project Progress
Confirming the Imported Blend Mode
Filters
Make the UI glow
Making button states with drop shadows
The Project Continues...
8. 3D
Introduction
Moving Objects in 3D Space
Translating 3D Objects
Rotating 3D Objects
Transforming Multiple Objects in 3D Space
Changing the 3D Center Point
Global Versus Local 3D Transformations
Global 3D Environment Settings
Vanishing Point
Perspective Angle
Changing the perspective angle when changing the stage size
Taking Advantage of Global 3D Settings with Movie Clip Containers
Animating 3D Properties
Depth Management
Parallax Scrolling
Using ActionScript to Change 3D Properties
Practical Demonstrations
Rotation
Translation
Vanishing point
Perspective angle
Project Progress
Adding Depth for Parallax Scrolling
Animating the Gallery
Adding ActionScript Control
Adding a Layer Mask
Adding the Gallery to the Main Project File
The Project Continues...
9. COMPONENTS
Introduction
Adding and Configuring Components
Functionality Without Programming
Scrolling Text
Adding a Pinch of ActionScript
Triggering Actions with Buttons
Working Hand-in-Hand with Code
Navigating with Menus
Skinning UI Components
Project Progress
Loading an External Graphic at Runtime
Display Details of a Larger Image
The Project Continues...
10. INVERSE KINEMATICS
Introduction
Anatomy of an Armature
Using the Bone Tool with Movie Clips
Authortime Mode
Tweening Armatures
Armature Easing
Runtime Mode
Joint Rotation and Translation
Constraining Joint Rotation
Adding a bone
Setting minimum and maximum rotation angles
Determining numeric values for rotation constraint settings
Seeing the constraints in action
Enabling Joint Translation
Transforming Movie Clips and Armatures
Using the Bone Tool with Shapes
Using the Bind Tool
Adjusting Points
Basic ActionScript
Supporting Runtime Armature Use Beyond Frame 1
Posing an Armature with Code
Project Progress
The Project Continues...
11. TEXT
Introduction
Components
Using the Component Inspector Panel to Configure Text Components
Using ActionScript to Configure Text Components
Common coding
TextArea
TextInput
Label
Configuring Text Fields with the Flash Interface
Dynamic Text
Character
Paragraph
Options
Filters
Input Text
Static Text
Resizing Text Fields
Configuring Text Fields with ActionScript
Dynamic Text
Input Text
Formatting Text
Fonts
Device fonts
Custom fonts
Embedding fonts
ActionScript
Using HTML
Using CSS
Loading Text
Using InDesign and XFL
Project Progress
Cosmetic Assets
Page title
Blurb
Flourishes
Dynamic Text Field
Input Text Field
The Project Continues...
12. AUDIO
Introduction
Supported File Formats
Importing Audio
External Audio Playback
Compression
Compressing External Sounds
Internal Asset-Specific Sound Properties
Internal File-Wide Publish Settings
Timeline Use
Sync Types
Repeating and Looping
Editing a Sound
Setting Volume and Pan
Using an External Editor
ActionScript Use
Playing a Library Sound
Playing an External Sound
Setting Volume and Pan
Visualizing Volume
Project Progress
Scripting the Sound Controller
The Project Continues...
13. VIDEO
Introduction
Video Formats
Encoding Software
On2 Flix
Sorenson Squeeze
Adobe Media Encoder
Video settings
Audio settings
Trimming
Cue points
Cropping
Other
Encoding
Playing Video with the FLVPlayback Component
Full-Screen Video
Captioning Video
Streaming Versus Progressive Download
Embedding Videos in a SWF
When to Embed
When Not to Embed
Project Progress
Adding Video
The Project Continues...
14. PUBLISHING AND DEPLOYING
Introduction
Using a Preloader
The Assets
The ActionScript
Testing Your Preloader
Project Progress Preloader
Distributing External Assets
Deploying for Web Browsers
Publish Settings: Format
Publish Settings: Flash
General
Images and Sounds
SWF Settings
Advanced
Publish Settings: HTML
Deployment
Project Progress HTML
Deploying for AIR
Publish Settings
Application settings
Use custom application descriptor file
Installer settings
Digital certificates
Creating a self-signed digital certificate
Deployment
Project Progress AIR
What’s Next?
Index
About the Author
Copyright
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Prev
Previous Chapter
Cover
Next
Next Chapter
FOREWORD
Learning Flash CS4 Professional
Rich Shupe
Published by
Adobe Dev Library
Beijing • Cambridge • Farnham • Köln • Sebastopol • Tokyo
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset