O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Advanced Flash Professional 8: Next Level ActionScript

Video Description

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.

Table of Contents

  1. Chapter 1: Using Built-In Classes
    1. INTRODUCTION 00:00:46
    2. Looking at the Basics 00:02:47
    3. Changing the Properties of a Movie Clip 00:04:21
    4. Using the On Enter Frame Event Handler 00:03:37
    5. Using the Randomize Function 00:07:27
    6. Creating a Placeholder for Multiple Objects 00:03:53
    7. Adding a Loop 00:04:23
    8. Using Variables to Make Reusable Code 00:06:26
    9. Setting Up an On Release Event 00:03:05
    10. Making a Tween Object 00:07:15
    11. Modifying the Depth Parameter 00:09:42
    12. Demonstrating the Modular Structure with Alpha 00:06:36
  2. Chapter 2: Working with the Listener Object Model
    1. INTRODUCTION 00:00:35
    2. Looking at Built-In Classes 00:01:42
    3. Working with MovieClip Event Handlers 00:03:21
    4. Working with Non-Handler Classes 00:03:24
    5. Creating Mouse Events 00:06:57
    6. Creating Key Events 00:05:48
    7. Using Switches to Detect which Keys are Pressed 00:05:07
    8. Event Listeners 00:06:38
    9. Practical Example of Listener Usage 00:03:35
    10. Listening for Multiple Broadcasts 00:04:59
    11. A Limitaton of the loadMovie Method 00:03:13
    12. Introducing the MovieClipLoader 00:03:44
    13. Listening for Load Progress 00:04:50
    14. Creating an Animated Progress Bar 00:03:00
    15. Hiding Progress Bar Upon loadComplete 00:02:15
    16. Loading External Bitmaps with MovieClipLoader 00:03:05
  3. Chapter 3: Introduction to Making Classes
    1. INTRODUCTION 00:00:24
    2. Learning the Structure of a Real Class 00:06:03
    3. Declaring Variables 00:03:01
    4. Introducing Constructor Functions 00:05:08
    5. Testing Using a Different Stage Size 00:03:15
    6. Using Methods 00:07:30
    7. Using a Getter & a Setter 00:06:56
    8. Showing a Dynamic Setting in the Class 00:02:25
    9. Randomizing 00:08:36
    10. Reusability 00:05:43
    11. Setting Up a Class for a Text Type Animation 00:05:43
    12. Adding a Typer Function to the Class 00:04:32
    13. Testing the Text Type Animation 00:05:05
  4. Chapter 4: Using Custom Classes for Buttons
    1. INTRODUCTION 00:00:27
    2. Introducing Custom Buttons 00:01:25
    3. Setting Up the Visibility of the Initial Content 00:01:40
    4. Setting Up Event Handlers for the Home Button 00:04:45
    5. Adding Frame Labels 00:03:36
    6. Dynamically Assigning the Label for a Button 00:01:51
    7. Setting Up a Generalized Function to Handle Buttons 00:06:36
    8. Making Custom Buttons into a Class 00:04:48
    9. Making a Class an Extension of Another Class 00:03:48
    10. Assigning Event Handlers to Functions & a Class 00:05:15
    11. Advanced Button Class Summary 00:01:35
    12. Attaching Audio to a Toggle Button 00:03:10
    13. Constructing a Class for the Toggle Button 00:05:10
    14. Animate the Toggle Button Using the Tween Class 00:05:05
    15. Learning where to Store Class Files 00:05:04
  5. Chapter 5: Using Custom Classes for Effects
    1. INTRODUCTION 00:00:24
    2. Building Animated Effects in the Timeline 00:06:56
    3. Packaging Scripts into a Function 00:07:25
    4. Setting Up Letter Spacing & Text 00:07:52
    5. Turning a Script into a Class, Part 1 00:03:15
    6. Turning a Script into a Class, Part 2 00:06:50
    7. Testing Using Syntax Checker 00:04:03
    8. Animation Changes & New Effects 00:02:38
    9. Making a Class More Independent 00:03:22
    10. Creating Tweens inside the Class 00:05:24
    11. Incorporating Tween Events & Methods into the Class 00:04:07
    12. Adding More Effects 00:06:47
    13. Building Effects into the Class File 00:03:28
    14. Formatting Text in the Test File 00:07:49
  6. Chapter 6: Making a Component
    1. INTRODUCTION 00:00:26
    2. Checking Out Graphics for the Content 00:02:40
    3. Starting the Slider Movement 00:03:19
    4. Measuring the Position of the Slider 00:03:14
    5. Set Intervals with Check Settings Function 00:04:10
    6. Changing the Interval for Smoother Control 00:03:04
    7. Moving the Code into a Class 00:02:47
    8. Using Check Syntax to Find Script Errors 00:06:26
    9. Setting Up the Project for Testing 00:03:57
    10. Adding an OnRelease Outside Event Handler 00:01:46
    11. Separate the Slider Measurement from the Object 00:04:52
    12. Tracking if the Slider is Active 00:03:28
    13. Setting the Range of the Slider 00:02:47
    14. Making the Slider into a Component 00:05:20
    15. Setting Up a Rotation Slider 00:03:49
    16. Adding a Start Value 00:03:42
    17. Displaying the Slider in the Components Panel 00:05:50
    18. Testing the Slider Component 00:03:26
    19. Final Comments & Credits 00:03:29
  7. Chapter 7: Using the Sound Class
    1. INTRODUCTION 00:00:28
    2. Introducing the MP3 Player Project 00:01:52
    3. Setting Up the External Playlist 00:05:02
    4. Setting Up the Combo Box for Music Selection 00:03:15
    5. Display Selected Song Title & Stylize Text 00:05:45
    6. External Sound Loading & Tracking 00:06:58
    7. Adding a Progress Bar for Load/Play Position 00:07:09
    8. Working with ID3 Metadata 00:09:20
    9. Adding Volume & Balance Sliders 00:05:00
    10. Adding a Play/Pause Toggle Control 00:06:57
    11. Rearrange the onLoad, onComplete & onID3 Data 00:02:10
    12. Incorporating an Array Formula 00:07:06
    13. Initializing the Array Data & Adding Variables 00:04:51
    14. Constructing the Amplitude Meters 00:06:37
    15. Controlling the Amplitude Meters with Sliders 00:05:57
    16. Cleaning Up the MP3 Player Script 00:03:47
  8. Chapter 8: Drawing API
    1. INTRODUCTION 00:00:19
    2. Introducing Drawing Methods 00:02:59
    3. Drawing Strokes with moveTo & lineTo Methods 00:03:01
    4. Making Shapes with beginFill, endFill & curveTo 00:03:24
    5. Introducing New Parameters in Flash 8 00:01:14
    6. Animating Objects Using Drawing Methods 00:08:09
    7. Using Initialization Objects to Control Animation 00:03:18
    8. Connecting Animation to App Functionality 00:09:06
  9. Chapter 9: Working with Bitmap Data
    1. INTRODUCTION 00:00:25
    2. Intoducing the Bitmap Data Class 00:03:22
    3. Setting Up Bitmap Caching 00:03:22
    4. Using Basic Filters 00:02:33
    5. Creating a Blur Filter & Adding it to a Movie Clip 00:05:23
    6. Creating a Bitmap Data Object from Scratch 00:05:29
    7. Accessing Pixel Noise through Bitmap Data 00:05:32
    8. Applying a Noise Method to Bitmap Data 00:02:15
    9. Applying a Perlin Noise Method 00:04:36
    10. Setting the MP3 Player to Control the Animations 00:03:40
  10. Chapter 10: Applying Matrix Transformations
    1. INTRODUCTION 00:00:23
    2. Understanding the Matrix Class 00:03:08
    3. Using the Matrix Class 00:02:52
    4. Affecting Movie Clips with Matrices 00:03:18
    5. Making a Placeholder Matrix 00:03:28
    6. Changing Matrix Properties 00:03:05
    7. Setting Up a Coordinate System 00:02:21
    8. Setting Up Slider Controls 00:05:41
    9. Looking at ColorTransforms 00:04:11
    10. Assigning a ColorTransform Object 00:05:01
    11. Understanding the Math behind ColorTransform 00:03:29
    12. Applying Random Colors with ColorTransform 00:04:40
  11. Chapter 11: A Preview of Mobile Applications
    1. INTRODUCTION 00:00:26
    2. Setting Up Flash Lite™ 2 00:05:41
    3. Introducing the Emulator 00:02:04
    4. Explaining the Screen Size for the Graphics 00:02:27
    5. Setting the Output Quality 00:04:27
    6. Adding Text 00:06:04
    7. Enabling Buttons with ActionScript 00:02:53
    8. Adding Navigation to the Number Keys 00:05:16
    9. Adding Navigation to the 4-Way Keys 00:03:32
    10. Adding Navigation to the Soft Keys 00:04:35
    11. Discussing the Flash Development Center 00:02:04
    12. Final Comments & Credits 00:03:50