Skip to Main Content
Learning ActionScript 3.0, 2nd Edition
book

Learning ActionScript 3.0, 2nd Edition

by Zevan Rosser, Rich Shupe
October 2010
Beginner content levelBeginner
453 pages
15h 52m
English
O'Reilly Media, Inc.
Content preview from Learning ActionScript 3.0, 2nd Edition

Chapter 2. Core Language Fundamentals

IN THIS CHAPTER

Jump Right In

Miscellaneous Basics

Variables and Data Types

Operators

Conditionals

Loops

Arrays

Vectors

Functions

Custom Objects

this and parent

Absolute Versus Relative Addresses

Put It All Together

What’s Next?

ActionScript 3.0 is a complete rewrite of the language—so much so that ActionScript 3.0 doesn’t even share the same Flash Player code base as prior versions of ActionScript. But that’s all behind the scenes. The truth is that all versions of ActionScript to date have quite a bit in common. This is because ActionScript is based on a scripting language standard (called ECMA-262) that grew from the success of JavaScript, and ongoing versions of ActionScript are as backward-compatible as possible in an effort to support legacy projects.

Of course, each new update to ActionScript introduces new features and, because the decision was made to create ActionScript 3.0 from scratch, an opportunity presented itself to tidy up a few messy things that lingered from previous versions. Among these improvements are tightening up and requiring best practices that had been optional, and restructuring how events and graphical assets are handled (the Event Model and Display List, respectively). All of this progress, however, didn’t steamroll over the standard upon which ActionScript is based, and most of the language fundamentals remain intact.

With the intention to focus on new ActionScript 3.0 features later on, we want to cover some of the more commonly ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning ActionScript 3.0

Learning ActionScript 3.0

Rich Shupe, Zevan Rosser
ActionScript 3.0 Cookbook

ActionScript 3.0 Cookbook

Joey Lott, Darron Schall, Keith Peters
ActionScript 3.0 Bible

ActionScript 3.0 Bible

Roger Braunstein

Publisher Resources

ISBN: 9781449398705Supplemental ContentErrata Page