Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

Overview

Become a pro with ActionScript by watching interactive, work-along lessons that walk you through the necessary steps of using the built-in classes, new objects, or making your own custom classes and components. You'll also learn the new advanced features of Flash Pro 8 that are only available to ActionScript users including the Drawing API, Bitmap API, and the matrix transformations and displacements. Plus, you'll get a preview of how to use ActionScript in development of mobile applications.

Subscriber Reviews

Average Rating: 4 out of 5 rating Based on 2 Ratings

"Advanced Flash Professional 8" - by BlueCoder on 05-NOV-2009
Reviewer Rating: 1 star rating2 star rating3 star rating4 star rating5 star rating
So far so good.  Excellent presentation.
Report as Inappropriate

Table of Contents

Chapter/Selection

Time

Chapter 1: Using Built-In Classes

INTRODUCTION

Play Video

00:00:45

Looking at the Basics

Play Video

00:02:46

Changing the Properties of a Movie Clip

Preview

00:04:20

Using the On Enter Frame Event Handler

Preview

00:03:37

Using the Randomize Function

Preview

00:07:27

Creating a Placeholder for Multiple Objects

Preview

00:03:52

Adding a Loop

Preview

00:04:23

Using Variables to Make Reusable Code

Preview

00:06:25

Setting Up an On Release Event

Preview

00:03:04

Making a Tween Object

Preview

00:07:14

Modifying the Depth Parameter

Preview

00:09:41

Demonstrating the Modular Structure with Alpha

Preview

00:06:35

Chapter 2: Working with the Listener Object Model

INTRODUCTION

Preview

00:00:34

Looking at Built-In Classes

Preview

00:01:42

Working with MovieClip Event Handlers

Preview

00:03:20

Working with Non-Handler Classes

Preview

00:03:23

Creating Mouse Events

Preview

00:06:56

Creating Key Events

Preview

00:05:47

Using Switches to Detect which Keys are Pressed

Preview

00:05:06

Event Listeners

Preview

00:06:37

Practical Example of Listener Usage

Preview

00:03:35

Listening for Multiple Broadcasts

Preview

00:04:58

A Limitaton of the loadMovie Method

Preview

00:03:12

Introducing the MovieClipLoader

Preview

00:03:44

Listening for Load Progress

Preview

00:04:49

Creating an Animated Progress Bar

Preview

00:02:59

Hiding Progress Bar Upon loadComplete

Preview

00:02:15

Loading External Bitmaps with MovieClipLoader

Preview

00:03:04

Chapter 3: Introduction to Making Classes

INTRODUCTION

Preview

00:00:23

Learning the Structure of a Real Class

Preview

00:06:03

Declaring Variables

Preview

00:03:01

Introducing Constructor Functions

Preview

00:05:08

Testing Using a Different Stage Size

Preview

00:03:14

Using Methods

Preview

00:07:30

Using a Getter & a Setter

Preview

00:06:55

Showing a Dynamic Setting in the Class

Preview

00:02:25

Randomizing

Preview

00:08:35

Reusability

Preview

00:05:42

Setting Up a Class for a Text Type Animation

Preview

00:05:42

Adding a Typer Function to the Class

Preview

00:04:31

Testing the Text Type Animation

Preview

00:05:04

Chapter 4: Using Custom Classes for Buttons

INTRODUCTION

Preview

00:00:26

Introducing Custom Buttons

Preview

00:01:25

Setting Up the Visibility of the Initial Content

Preview

00:01:39

Setting Up Event Handlers for the Home Button

Preview

00:04:44

Adding Frame Labels

Preview

00:03:36

Dynamically Assigning the Label for a Button

Preview

00:01:50

Setting Up a Generalized Function to Handle Buttons

Preview

00:06:35

Making Custom Buttons into a Class

Preview

00:04:47

Making a Class an Extension of Another Class

Preview

00:03:48

Assigning Event Handlers to Functions & a Class

Preview

00:05:14

Advanced Button Class Summary

Preview

00:01:34

Attaching Audio to a Toggle Button

Preview

00:03:09

Constructing a Class for the Toggle Button

Preview

00:05:10

Animate the Toggle Button Using the Tween Class

Preview

00:05:04

Learning where to Store Class Files

Preview

00:05:04

Chapter 5: Using Custom Classes for Effects

INTRODUCTION

Preview

00:00:23

Building Animated Effects in the Timeline

Preview

00:06:56

Packaging Scripts into a Function

Preview

00:07:24

Setting Up Letter Spacing & Text

Preview

00:07:51

Turning a Script into a Class, Part 1

Preview

00:03:14

Turning a Script into a Class, Part 2

Preview

00:06:50

Testing Using Syntax Checker

Preview

00:04:02

Animation Changes & New Effects

Preview

00:02:38

Making a Class More Independent

Preview

00:03:21

Creating Tweens inside the Class

Preview

00:05:23

Incorporating Tween Events & Methods into the Class

Preview

00:04:07

Adding More Effects

Preview

00:06:46

Building Effects into the Class File

Preview

00:03:27

Formatting Text in the Test File

Preview

00:07:49

Chapter 6: Making a Component

INTRODUCTION

Preview

00:00:25

Checking Out Graphics for the Content

Preview

00:02:39

Starting the Slider Movement

Preview

00:03:18

Measuring the Position of the Slider

Preview

00:03:13

Set Intervals with Check Settings Function

Preview

00:04:09

Changing the Interval for Smoother Control

Preview

00:03:03

Moving the Code into a Class

Preview

00:02:46

Using Check Syntax to Find Script Errors

Preview

00:06:25

Setting Up the Project for Testing

Preview

00:03:57

Adding an OnRelease Outside Event Handler

Preview

00:01:45

Separate the Slider Measurement from the Object

Preview

00:04:51

Tracking if the Slider is Active

Preview

00:03:27

Setting the Range of the Slider

Preview

00:02:47

Making the Slider into a Component

Preview

00:05:20

Setting Up a Rotation Slider

Preview

00:03:48

Adding a Start Value

Preview

00:03:42

Displaying the Slider in the Components Panel

Preview

00:05:50

Testing the Slider Component

Preview

00:03:25

Final Comments & Credits

Preview

00:03:28

Chapter 7: Using the Sound Class

INTRODUCTION

Preview

00:00:27

Introducing the MP3 Player Project

Preview

00:01:52

Setting Up the External Playlist

Preview

00:05:01

Setting Up the Combo Box for Music Selection

Preview

00:03:14

Display Selected Song Title & Stylize Text

Preview

00:05:44

External Sound Loading & Tracking

Preview

00:06:58

Adding a Progress Bar for Load/Play Position

Preview

00:07:08

Working with ID3 Metadata

Preview

00:09:19

Adding Volume & Balance Sliders

Preview

00:04:59

Adding a Play/Pause Toggle Control

Preview

00:06:57

Rearrange the onLoad, onComplete & onID3 Data

Preview

00:02:09

Incorporating an Array Formula

Preview

00:07:05

Initializing the Array Data & Adding Variables

Preview

00:04:51

Constructing the Amplitude Meters

Preview

00:06:36

Controlling the Amplitude Meters with Sliders

Preview

00:05:56

Cleaning Up the MP3 Player Script

Preview

00:03:46

Chapter 8: Drawing API

INTRODUCTION

Preview

00:00:18

Introducing Drawing Methods

Preview

00:02:58

Drawing Strokes with moveTo & lineTo Methods

Preview

00:03:01

Making Shapes with beginFill, endFill & curveTo

Preview

00:03:23

Introducing New Parameters in Flash 8

Preview

00:01:14

Animating Objects Using Drawing Methods

Preview

00:08:08

Using Initialization Objects to Control Animation

Preview

00:03:17

Connecting Animation to App Functionality

Preview

00:09:06

Chapter 9: Working with Bitmap Data

INTRODUCTION

Preview

00:00:24

Intoducing the Bitmap Data Class

Preview

00:03:22

Setting Up Bitmap Caching

Preview

00:03:21

Using Basic Filters

Preview

00:02:32

Creating a Blur Filter & Adding it to a Movie Clip

Preview

00:05:22

Creating a Bitmap Data Object from Scratch

Preview

00:05:28

Accessing Pixel Noise through Bitmap Data

Preview

00:05:32

Applying a Noise Method to Bitmap Data

Preview

00:02:14

Applying a Perlin Noise Method

Preview

00:04:35

Setting the MP3 Player to Control the Animations

Preview

00:03:39

Chapter 10: Applying Matrix Transformations

INTRODUCTION

Preview

00:00:22

Understanding the Matrix Class

Preview

00:03:08

Using the Matrix Class

Preview

00:02:52

Affecting Movie Clips with Matrices

Preview

00:03:17

Making a Placeholder Matrix

Preview

00:03:28

Changing Matrix Properties

Preview

00:03:05

Setting Up a Coordinate System

Preview

00:02:20

Setting Up Slider Controls

Preview

00:05:41

Looking at ColorTransforms

Preview

00:04:11

Assigning a ColorTransform Object

Preview

00:05:00

Understanding the Math behind ColorTransform

Preview

00:03:28

Applying Random Colors with ColorTransform

Preview

00:04:39

Chapter 11: A Preview of Mobile Applications

INTRODUCTION

Preview

00:00:25

Setting Up Flash Liteâ„¢ 2

Preview

00:05:41

Introducing the Emulator

Preview

00:02:04

Explaining the Screen Size for the Graphics

Preview

00:02:26

Setting the Output Quality

Preview

00:04:26

Adding Text

Preview

00:06:04

Enabling Buttons with ActionScript

Preview

00:02:52

Adding Navigation to the Number Keys

Preview

00:05:15

Adding Navigation to the 4-Way Keys

Preview

00:03:31

Adding Navigation to the Soft Keys

Preview

00:04:34

Discussing the Flash Development Center

Preview

00:02:03

Final Comments & Credits

Preview

00:03:49

Extras

The publisher has provided additional content related to this title.


Description
Content

These files have been provided by the publisher.

  • M2FL8_P01_PF.zip

These files have been provided by the publisher.

  • M2FL8_P01_PF.sit