Fundamentals of ActionScript 3.0: Develop and Design


Adobe Flash Professional is the most popular software available for creating animations for the Web. Most people start using Flash to create vector-based animations that output small file sizes perfect for the Web. Later they want to branch out into creating rich interactive experiences for websites and mobile devices, and for that they need to learn ActionScript.

Doug Winnie draws on the experience he’s gained from his years as an educator to teach not only what ActionScript ...

See more details below
Other sellers (Paperback)
  • All (13) from $14.45   
  • New (6) from $34.76   
  • Used (7) from $14.45   
Fundamentals of ActionScript 3.0: Develop and Design

Available on NOOK devices and apps  
  • NOOK Devices
  • Samsung Galaxy Tab 4 NOOK 7.0
  • Samsung Galaxy Tab 4 NOOK 10.1
  • NOOK HD Tablet
  • NOOK HD+ Tablet
  • NOOK eReaders
  • NOOK Color
  • NOOK Tablet
  • Tablet/Phone
  • NOOK for Windows 8 Tablet
  • NOOK for iOS
  • NOOK for Android
  • NOOK Kids for iPad
  • PC/Mac
  • NOOK for Windows 8
  • NOOK for PC
  • NOOK for Mac

Want a NOOK? Explore Now

NOOK Book (eBook)
$25.49 price
(Save 42%)$43.99 List Price


Adobe Flash Professional is the most popular software available for creating animations for the Web. Most people start using Flash to create vector-based animations that output small file sizes perfect for the Web. Later they want to branch out into creating rich interactive experiences for websites and mobile devices, and for that they need to learn ActionScript.

Doug Winnie draws on the experience he’s gained from his years as an educator to teach not only what ActionScript can do, but also to show how the code works. This gives the reader a deeper understanding of how ActionScript functions, and gives them the power to come up with original solutions when creating their own projects.

Doug’s book dives right into the concepts of manipulating Flash objects and the fundamentals of functions and mathematical operators. After presenting events and using scripts to control the Flash timeline, classes and conditionals are covered in depth.

The final part of the book covers creating desktop applications with Adobe AIR, developing mobile applications, and working with external code libraries. Real-world projects are sprinkled generously throughout the book and Appendices include information on debugging, deciphering documentation, and using Adobe Flash Builder as an ActionScript development environment.

Read More Show Less

Product Details

  • ISBN-13: 9780321777027
  • Publisher: Peachpit Press
  • Publication date: 7/25/2011
  • Series: Develop and Design Series
  • Edition number: 1
  • Pages: 560
  • Product dimensions: 7.30 (w) x 9.10 (h) x 1.00 (d)

Table of Contents


Part 1: Getting the Fundamentals

Chapter 1: Accessing and Manipulating Objects
Accessing Objects
Sending Messages to the Output Console
Changing Object parameters

Chapter 2: Dynamically Adding Objects to the Stage
Creating Named Library Assets
Creating new objects on the stage
Working with Comments

Chapter 3: Working with Functions
Fundamentals of Functions
Accepting values in Functions
Returning Values from Functions
Things to Remember about Functions

Chapter 4: ActionScript and Math
Mathematical Operators
Combined Assignment Operators
Increment and Decrement Operators
Order of Operations
Using Parenthesis to Force Order

Chapter 5: Creating Events
Events: Explained
Creating a Mouse Event Handler

Chapter 6: Using Timeline Scripting with Mouse Events
Controlling Timeline Playback
Using the Event Callback Object and Understanding Scope
Using Frame Labels
Single Quotes vs. Double Quotes
Working with Simple Callback Functions

Chapter 7: Creating a Timer

Chapter 8: Project: Creating a Clock

Part 2: The Basics of Classes

Chapter 9: What is a Class?
What is a Class
Overview of a Class
Variables Revealed
Creating a Class

Chapter 10: Building Out the Class
Parts of a Class
Import Statement
Class Statement
Class Constructor
Creating the Instance
Adding Constructor Properties
Customizing the Button Label
Customizing Multiple Properties
Creating Methods
Accessing Methods from Outside the Class

Chapter 11: Doing More with Classes
What is the public keyword for?
Restricting Access with private
Naming Best Practices for Private Members
Getters and Setters: Keeping things Polite
Creating Getter and Setter Methods
Using the get and set Statements
Creating the Document Class

Chapter 12: Project: A Virtual Zoo (NEW)

Part 3: Responding to Conditions

Chapter 13: Conditionals
Boolean Variables
Testing for Equality
Testing for Inequality
Demonstrating Equality and Inequality
Adding Feedback
Testing Conditions
The if Statement
The if…else Statement
The if…else if Statement

Chapter 14: Creating Groups of Objects and Repeating Actions Using Loops
What are Loops
The for Loop
Creating Groups of Items with Arrays
Looping through Arrays
Controlling the Flow of Loops with break and continue

Chapter 15: Project: Tilr

Chapter 16: Advanced Boolean Logic and Random Numbers
Logic Operators
The AND Operator
The OR Operator
Building Complex Conditionals
Generating Random Numbers
Project: DiceOut!

Part 4: Working with More Events

Chapter 17: Working with Text and the Keyboard
Working with Text Fields
Understanding Font Embedding
Customizing the Text Style
Managing Conditions with switch Blocks
Differences between Code Types: Key Codes versus Character Codes
Recognizing Special Keys

Chapter 18: Project: Creating a Quiz
Creating the Quiz Layout
Creating the KeyboardEvent Handler
Uncoupling the Quiz

Chapter 19: Desktop Applications with Adobe AIR
Creating a Desktop Project
Responding to Desktop Events
Understanding Differences Between Desktop and Browser Applications
Customizing the Look of your Application

Chapter 20: Project: Bare Bones, A Desktop Application

Chapter 21: Mobile Applications with Adobe AIR
Configuring your environment for Android
Configuring your environment for iOS
Working with Multitouch Events
Working with the Accelerometer
Creating Adaptive Layouts using ActionScript
Testing and Debugging your Application
Project: Mini Bones, A Mobile Application

Part 5: Organizing your Code and Working with External Code Libraries

Chapter 22: Understanding Packages

Chapter 23: Using Interfaces

Chapter 24: Extending Text Quality with TLF
Capabilities of TLF
Integrating TLF into your project
Working with Text using TLF

Chapter 25: Working with Third Party Libraries
How to import Third Party Libraries
Working with SWCs vs. Class Packages
The Hype Framework
Adding Hype to your Project
Creating your first Hype Project

Appendix: Understanding ActionScript Debugging
The Debug Interface
Understanding Breakpoints
Understanding Watchers
Capturing Errors and Dealing with them
Working with Runtime Errors

Appendix: Deciphering ActionScript Documentation
The Adobe Community Help Client
How to find the help you need
Understanding the contents of a Class documentation file
Working with Sample Code

Appendix: Diving Deep with Flash Builder 4.5
Using Flash Builder with Flash Professional
Creating ActionScript Projects in Flash Builder
Working with Exported SWCs from Flash Professional

Coding Shortcuts

Quick Reference Guide



Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Terms of Use.
  • - Barnes & reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)