Essential ActionScript 2.0 / Colin Moock.

Moock, Colin.
Beijing ; Sebastopol, California : O'Reilly, 2004.
1 online resource (530 p.)
First edition.

Location Notes Your Loan Policy


Flash (Computer file).
ActionScript (Computer program language).
Computer animation.
Web sites -- Design.
Electronic books.
System Details:
text file
In September 2003, Macromedia released Flash MX 2004, and with it, ActionScript 2.0, a dramatically improved version of Flash's programming language. ActionScript 2.0 introduces a formal object-oriented programming syntax and methodology for creating Flash applications. From a developer's perspective, the new OOP-based techniques in ActionScript 2.0 make applications more natural to plan and conceptualize, more stable, more reusable across projects, easier to maintain, change, and expand upon, and much more. In short, they enhance the entire development process. In Essential
Table of Contents; Foreword; Preface; This Book Wants You; What This Book Is Not; Who Should (and Shouldn't) Read This Book; ActionScript 2.0 Versus ActionScript 1.0; Deciphering Flash Versions; Example Files and Resources; Typographical Conventions; Using Code Examples; We'd Like to Hear from You; Acknowledgments; Part I; ActionScript 2.0 Overview; ActionScript 2.0 Features; Features Introduced by Flash Player 7; Flash MX 2004 Version 2 Components; ActionScript 1.0 and 2.0 in Flash Player 6 and 7; Setting a Movie's ActionScript Version and Player Version
Changes to ActionScript 1.0 in Flash Player 7Flash 4 Slash Syntax Is Not Supported in ActionScript 2.0; Let's Go OOP; Object-Oriented ActionScript; Procedural Programming and Object-Oriented Programming; Key Object-Oriented Programming Concepts; Class Syntax; Object Creation; Object Usage; Encapsulation; Datatypes; Inheritance; Packages; Compilation; Starting an Objected-Oriented Application; But How Do I Apply OOP?; On with the Show!; Datatypes and Type Checking; Why Static Typing?; Type Syntax; Declaring Variable and Property Datatypes; Declaring Method Parameter and Return Value Datatypes
Why Post-Colon Syntax?Compatible Types; Handling Any Datatype; Compatibility with null and undefined; Built-in Dynamic Classes; Circumventing Type Checking; Creating Parameters That Accept Multiple Types; Allowing Property and Method Creation on a Class's Instances; Bypassing Type Checking on a Per-Use Basis; Casting; Casting Terminology; Runtime Casting Support; Casting Does Not Affect Method or Property Selection; Casting Versus Conversion; ActionScript 2.0's Lenient Compile-Time Casting; Problems Casting to String, Number, Boolean, Date, and Array; Datatype Information for Built-in Classes
ActionScript 2.0 Type Checking GotchasGlobal Variables Can't Be Typed; Type Checking and Timeline Code; Type Checking XML Instances; No Type Checking with the [] Operator; Array Elements and Type Checking; Up Next: Creating Classes- Your Own Datatypes!; Classes; Defining Classes; Class Attributes; The dynamic attribute; The intrinsic attribute; Constructor Functions (Take 1); Properties; Property Attributes; Restricting property access with the private and public attributes; Defining class properties with the static attribute; Global variables versus class properties
Subclasses and class propertiesCompile-Time Constant Expressions; Enumerating Properties with for-in loops; Methods; Referring to the Current Object with the Keyword this; Passing the current object to a method; Managing parameter/property name conflicts; Redundant use of the keyword this; Method Attributes; Controlling method access with the public and private attributes; Defining class methods with the static attribute; Accessor Methods; Local Variables; Nesting Functions in Methods; Accessing the current object from a function nested in a method; Getter and Setter Methods
Simulating read-only properties
Includes index.
Description based on print version record.