Action Script for Flash Mx Pocket Reference

Colin Moock

  • 出版商: O'Reilly
  • 出版日期: 2003-04-08
  • 售價: $490
  • 貴賓價: 9.5$466
  • 語言: 英文
  • 頁數: 144
  • 裝訂: Paperback
  • ISBN: 0596005148
  • ISBN-13: 9780596005146
  • 已絕版

買這商品的人也買了...

相關主題

商品描述

Flash MX developers who need instant on-the job reminders about the ActionScript language will find O'Reilly's new ActionScript for Flash MX Pocket Reference to be the ideal solution. This concise and easy-to-use reference is the portable companion to the Flash coder's essential resource, ActionScript for Flash MX: The Definitive Guide by Colin Moock. Completely up-to-date, including methods and properties added in the latest Flash Player, it is the indispensable quick reference for ActionScript programmers.

The ActionScript for Flash MX Pocket Reference provides a complete summary of ActionScript, Flash MX's object-oriented programming language, covering the core objects' and classes' methods and properties. Also covered are ActionScript's global properties, global functions, operators, statements, keywords, and directives. This compact book also includes an excellent summary of ActionScript syntax and best practices, covering datatypes, variables, loops, conditionals, identifiers, event handling, and object-oriented programming in short order. For programmers coming from other languages, it offers a quick orientation to the most common Flash elements and operations including Movie Clips, loading and drawing graphics, text manipulation, data transfers, and XML parsing.

O'Reilly's Pocket References have become a favorite among developers everywhere. By providing a wealth of important details in a concise, well-organized format, these handy books deliver just what you need to complete the task at hand. When you've reached a sticking point and need to get to the answer quickly, the new ActionScript for Flash MX Pocket Reference is the book you'll want close by.

Table of Contents

     Introduction

     Authoring ActionScript Code

            Outputting Debug Messages

            Code Placement Best Practices

            Finding Code

     Using Movie Clips

            Movie Clip Depths

            Referring to Movie Clips

     ActionScript Syntax

            Comments

            Whitespace

            Statement Terminators (Semicolons)

            Case Sensitivity

            Identifiers

            Keywords

     Variables

            Timeline Variables

            Global Variables

            Local Variables

            Code Hinting

     Datatypes

            Datatype Conversion Rules

            Explicit Datatype Conversion

            Determining Datatype and Class

            The number Datatype

            The string Datatype

            The boolean Datatype

            The null and undefined Datatypes

            The object Datatype

            The function Datatype

            The movieclip Datatype

     Arrays

     Operators

     Conditionals and Loops

            The if-else if-else Statements

            The switch Statement

            The while Statement

            The do-while Statement

            The for Statement

            The for-in Statement

            The break and continue Statements

            Loops, Screen Updates, and Maximum Iterations

     Creating and Using Functions

     Event Handling

            Event Handler Properties

            Event Listeners

            The onClipEvent( ) and on( ) Event Handlers

     Object-Oriented ActionScript

     Working with Graphics

     Working with Text

     GUIs and Components

     Working with External Media and Data

            Loading Images and .swf File