The ActionScript 3.0 Migration Guide: Making the Move from ActionScript 2.0

The ActionScript 3.0 Migration Guide: Making the Move from ActionScript 2.0

by Kris Hadlock

NOOK Book(eBook)

$13.49 $23.99 Save 44% Current price is $13.49, Original price is $23.99. You Save 44%.
View All Available Formats & Editions
Available on Compatible NOOK Devices and the free NOOK Apps.
Want a NOOK ? Explore Now

Overview

The ActionScript 3.0 Migration Guide: Making the Move from ActionScript 2.0 by Kris Hadlock

When Flash Player 9 released in June 2006, it introduced the new scripting language, ActionScript 3, which has already taken hold in the Adobe Flex application development community. ActionScript 3 provides not only a significant enhancement in performance, but also a more robust programming model that lends itself to complex Rich Internet Application development. For web designers and developers who need to make the move to ActionScript 3 from the previous version, ActionScript 2, the learning curve has proven to be significant. In this essential and timely guide, ActionScript expert Kris Hadlock speaks squarely to the many thousands of ActionScript 2 users who need to make the leap right away. The ActionScript Migration Guide covers all of the major changes in ActionScript from version 2 to 3. The book explains the most important and fundamental changes in ActionScript drawing comparisons between the two languages both visually and contextually. With a comprehensive index and robust table of contents designers and developers will easily be able to locate the old an/or new codes with side-by-side comparisons of how to program both and the explanation of the concepts behind them.

Product Details

ISBN-13: 9780132104678
Publisher: Pearson Education
Publication date: 04/07/2010
Sold by: Barnes & Noble
Format: NOOK Book
Pages: 160
File size: 6 MB

Table of Contents


Introduction     ix
The Display Architecture     1
DisplayObject     2
The Display Classes     3
The Display List     4
The Event Model     5
Callback Functions     6
UlEventDispatcher     8
Event Dispatching     10
Packages and Classes     15
Packages     16
Class Attributes     17
Class Assignment     20
Import     22
Constructors     23
Scope     28
Functions, Properties, and Keywords     31
Arguments     32
Function Parameters     35
Public Attribute Keyword     36
Private Attribute Keyword     39
Defining Constants     41
Scope     43
Root     44
Stage     46
Parent     48
Function and Method Definitions     50
Timing     55
Setting a Time Interval     56
Keeping Count     58
Delaying Code     61
Text     63
Font Usage     64
TextField     66
TextEvents     68
Formatting     70
Buttons and MovieClips     73
Mouse Events     74
Drag     77
Depth     81
Loading     85
Loading External Variables     86
Triggering a URL     88
Loading External Assets     92
Tracking Load Progress     94
XML     97
Loading and Events     98
Parsing     101
Drawing and Color     105
Lines     106
Shapes     108
Fills     109
Color     111
Animation     115
Tweening     116
Events     118
Sound     121
Loading     122
Events     123
Volume     126
ID3 Tags     131
More Reasons to Make the Switch     137
Event Bubbling     138
Label Statements     140
Namespace Definition Keyword     141
Motion XML and the Animator     143
Index     145

Customer Reviews

Most Helpful Customer Reviews

See All Customer Reviews