reklama - zainteresowany?

The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional - Helion

The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional
ebook
Autor: David Stiller, Rich Shupe, Jen deHaan
ISBN: 978-05-965-5416-3
stron: 496, Format: ebook
Data wydania: 2008-10-17
Księgarnia: Helion

Cena książki: 119,00 zł

Dodaj do koszyka The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional

Tagi: Flash/ActionScript

"No matter what your background, the pages that follow will provide you with some excellent knowledge, insight, and even a little bit of wisdom in the realm of Flash and ActionScript. Happy learning!"-- Branden Hall, from the Foreword

Written by Flash insiders with extensive knowledge of the technology, this guide is designed specifically to help Flash designers and developers make the leap from ActionScript 2.0 to the new object-oriented ActionScript 3.0 quickly and painlessly. Formatted so you can find any topic easily, ActionScript 3.0 Quick Reference Guide explains:

  • Object-oriented programming (OOP) concepts, such as packages and classes
  • ActionScript 3.0 features and player enhancements that improve performance
  • Workflow differences between ActionScript 2.0 and ActionScript 3.0 including tools, code editing, component sets, and image and font rendering
  • Where did it go? A guide to help you find familiar features in ActionScript 3.0, such as global functions, operators, properties, and statements
  • How do I? Step-by-step solutions for performing tasks with ActionScript 3.0, including input, sound, video, display, events, text, and more

Also included are overviews of Flash and ActionScript features and workflows. ActionScript 3.0 is a huge upgrade to Flash's programming language -- and this guide helps you upgrade your skills to match it.

Dodaj do koszyka The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional

 

Osoby które kupowały "The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional", wybierały także:

  • Tablice informatyczne. Flash MX 2004 ActionScript
  • Flash i Wallaby. Projektowanie animacji zgodnych z HTML5
  • Flash i ActionScript. Aplikacje 3D od podstaw
  • Adobe Flash CS5/CS5 PL Professional. Biblia
  • ActionScript 3.0. Biblia

Dodaj do koszyka The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional

Spis treści

The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional eBook -- spis treści

  • The ActionScript 3.0 Quick Reference Guide
    • SPECIAL OFFER: Upgrade this ebook with OReilly
    • A Note Regarding Supplemental Files
    • Foreword
    • Preface
      • What Sets This Book Apart
      • Whats in This Book
        • Part I: Introduction to ActionScript 3.0
        • Part II: ActionScript and the Flash CS4 Authoring Tool
        • Part III: How Do I?
        • Part IV: Migration
      • Whats Not in This Book
      • Conventions Used in This Book
      • This Books Example Files
      • Using Code Examples
      • Safari Books Online
      • How to Contact Us
      • Acknowledgments
        • From David
        • From Rich
    • I. ActionScript 3.0 Introduced
      • 1. Introducing ActionScript 3.0
        • Examining ActionScript 3.0, the Language
          • Runtime Exceptions
          • Runtime Types
          • Sealed Classes
          • Method Closures
          • ECMAScript for XML (E4X)
          • Regular Expressions
          • Namespaces
          • New Primitive Types
        • Exploring Flash Player API Updates
          • DOM3 Event Model
          • Display List API
          • New Sound APIs
          • Binary Data and Sockets
        • Understanding Players and Support
        • Learning ActionScript 3.0 on the Heels of 2.0
        • Deciding to Migrate or Write Code from Scratch
      • 2. Discovering What You Need to Work with ActionScript 3.0
        • Flash CS4 Professional/Flex Builder 3
        • Flash Player 9 or Higher
          • Debug Vs. Release Players
          • Making Sure Users Have the Necessary Version of Flash Player
            • Using SWFObject
        • Using Other Code Editors with Flash
          • Creating DragParrot, a Sample Class File
          • Coding with Flex Builder 3
          • Coding with SE|PY
          • Coding with FlashDevelop
          • Coding with PrimalScript
      • 3. Looking at the Changes in ActionScript 3.0
        • Major Changes and Obsolete Code
          • Major Changes in the API, Classes, and Language
            • ActionScript 3.0 is stricter
            • ActionScript 3.0 encourages programming with purpose
            • ActionScript 3.0 is more organized, which makes it more efficient
          • Obsolete Code
            • on()/onClipEvent()
            • getProperty()/setProperty()/tellTarget()
            • attachMovie()/attachSound()
            • createEmptyMovieClip()/duplicateMovieClip()/createTextField()
            • eval()
        • Major Syntax and Structure Changes
          • Importing and Packages
          • Namespaces
          • Data Types and Typing
        • Additional ActionScript 3.0 Resources
      • 4. Exploring the Benefits of Using ActionScript 3.0
        • Performance
          • Updating the Code to ActionScript 3.0
        • Efficiency
        • Consistency
        • Standards and Portability Among Other Technologies
    • II. ActionScript and the Flash CS4 Authoring Tool
      • 5. Creating and Working with Code
        • Thinking in Terms of the Timeline
        • New Features in the Actions Panel and Script Windows
          • Actions Panel
            • Collapsible code sections
            • Shortcuts for quickly adding and removing code comments
          • Script Windows
          • ActionScript Can No Longer Be Attached to Objects
        • Setting ActionScript Preferences
          • Preferences Dialog Box
            • ActionScript
            • Auto Format
          • Flash Publish Settings
        • Associating FLA Files with AS Files
          • Code Snippets
          • Classes
        • Using Script Assist
      • 6. Creating a Document Class
      • 7. Working with Library and Linkage Changes
        • Linkages Now Reference Classes
          • Naming Classes
          • Specifying a Base Class
          • Writing a Custom Class
          • Recognizing the Associated Class
          • Attaching Fonts
      • 8. Copying Motion as ActionScript 3.0
        • Copying Motion
        • Applying Motion to Other Objects
          • Going Retro for the Sake of XML
          • Editing the Default XML
          • Editing the Default ActionScript
      • 9. Using ActionScript 3.0 Components
        • Overview of the Component Set
          • Increased Performance and Reduced File Size
          • Feature Changes
        • New and Removed Components
        • Changes in Writing Code for Components
          • ColorPicker
          • Slider
          • TileList
          • FLVPlaybackCaptioning and CaptionButton
          • FullScreenButton
        • Changing the Appearance of Components
          • Styling Components with Code
          • Skinning Components Manually
      • 10. Making Up for a Reduced Component Set
        • Working Without Data Components in ActionScript 3.0
          • Creating an XMLConnector Scenario in ActionScript 2.0
          • Recreating an XMLConnector Scenario in ActionScript 3.0
          • Creating a WebServiceConnector Scenario in ActionScript 2.0
          • Recreating a WebServiceConnector Scenario in ActionScript 3.0
        • ActionScript 2.0 Components in ActionScript 3.0 SWF Files
        • Exploring Third-Party UI Components
          • Yahoo! ASTRA Components
          • Jumpeye Components
      • 11. Debugging and Troubleshooting
        • Debugging Is a Good Thing
        • Testing Your ActionScript 3.0 Code
          • Compiler Errors
          • Compiler Warnings
          • Runtime Errors
        • Reviewing Improvements in Debugging Over ActionScript 2.0
          • Dont Underestimate trace()
          • Runtime Errors Displayed in Flash Player 9 and Higher
        • Exploring the Compiler Errors Panel
          • Using the Compile Errors Panel to Open Code
          • Interpreting and Understanding Errors
          • Identifying Common Errors and What They Mean
            • Be careful where you type your code
            • Remember to omit property underscores
            • Referencing movie clips parent requires explicit conversion (casting)
            • Variables can be declared only once per timeline or class
            • Undeclared timeline variables cannot be referenced
            • Properties and methods cannot be referenced from a null reference
          • Troubleshooting
        • Using the Enhanced Debugging Workspace
          • Using the Debugger Workspace
            • Breakpoints
          • Stepping Through a Debugging Example
          • Debugging Remotely
          • Logging trace() Statements from a Browser
    • III. How Do I?
      • 12. How Do I Draw with Code?
        • 12.0 Introduction
        • 12.1 Creating a Display Object Dynamically
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.2 Referencing an Objects Graphics Property
          • Problem
          • Solution
          • Discussion
        • 12.3 Defining a Line Style
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.4 Drawing a Line
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.5 Drawing a Curve
          • Problem
          • Solution
          • Discussion
        • 12.6 Defining a Fill Style
          • Problem
          • Solution
          • Discussion
        • 12.7 Drawing a Rectangle
          • Problem
          • Solution
          • Discussion
        • 12.8 Drawing a Rectangle with Rounded Corners
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.9 Drawing a Circle
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.10 Creating a Gradient Fill
          • Problem
          • Solution
          • Discussion
        • 12.11 Using a Drawn Shape as a Dynamic Mask
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.12 Caching Vector as Bitmap
          • Problem
          • Solution
          • Discussion
          • See Also
        • 12.13 Applying a Simple Bitmap Filter
          • Problem
          • Solution
          • Discussion
      • 13. How Do I Work with the Display List?
        • 13.0 Introduction
        • 13.1 Choosing Which Type of Display Object to Use
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.2 Creating a New Display Object
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.3 Adding a Display Object to the Display List
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.4 Specifying the Depth of a Display Object
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.5 Finding a Display Object
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.6 Removing a Display Object from the Display List
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.7 Working with Children of a Display Object Container
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.8 Working with Parents of a Display Object
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.9 Casting a Display Object from One Type to Another
          • Problem
          • Solution
          • Discussion
          • See Also
        • 13.10 Changing the Parent of a Display Object
          • Problem
          • Solution
          • Discussion
        • 13.11 Referencing the Stage Through a Display Object
          • Problem
          • Solution
          • Discussion
      • 14. How Do I Work with Events?
        • 14.0 Introduction
        • 14.1 Understanding Event Listeners
          • Problem
          • Solution
          • Discussion
        • 14.2 Capturing Mouse Events
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.3 Understanding Event Flow
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.4 Using Event Bubbling
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.5 Using the target and currentTarget Event Properties
          • Problem
          • Solution
          • Discussion
        • 14.6 Simulating a Mouse Up Outside Event
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.7 Capturing Frame Events
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.8 Improving Performance by Removing Event Listeners
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.9 Capturing Keyboard Events
          • Problem
          • Solution
          • Discussion
        • 14.10 Capturing Stage Events
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.11 Using a Timer to Dispatch Events
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.12 Dispatching Your Own Events
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.13 Manually Calling Event Listener Functions
          • Problem
          • Solution
          • Discussion
        • 14.14 Capturing an Event Before It Reaches Its Target
          • Problem
          • Solution
          • Discussion
          • See Also
        • 14.15 Setting the Execution Order of Events
          • Problem
          • Solution
          • Discussion
        • 14.16 Using Weak Listeners
          • Problem
          • Solution
          • Discussion
          • See Also
      • 15. How Do I Work with Text?
        • 15.0 Introduction
        • 15.1 Creating a Text Field
          • Problem
          • Solution
          • Discussion
        • 15.2 Styling a Text Field
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.3 Creating a Password Field
          • Problem
          • Solution
          • Discussion
        • 15.4 Focusing a Text Field
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.5 Populating a Text Field
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.6 Automatically Sizing a Text Field
          • Problem
          • Solution
          • Discussion
        • 15.7 Scrolling a Text Field
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.8 Using Embedded Fonts
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.9 Formatting Text Using TextFormat
          • Problem
          • Solution
          • Discussion
        • 15.10 Formatting Text Using HTML
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.11 Formatting Text Using CSS
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.12 Adding Hyperlinks to Text
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.13 Triggering ActionScript from HTML Links
          • Problem
          • Solution
          • Discussion
          • See Also
        • 15.14 Selecting Text
          • Problem
          • Solution
          • Discussion
      • 16. How Do I Work with XML?
        • 16.0 Introduction
        • 16.1 Creating an XML Object
          • Problem
          • Solution
          • Discussion
        • 16.2 Loading XML
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.3 Reading an Element Node
          • Problem
          • Solution
          • Discussion
        • 16.4 Reading a Text Node
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.5 Working with Multiple Nodes of the Same Name
          • Problem
          • Solution
          • Discussion
        • 16.6 Reading an Attribute
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.7 Finding Content Using Shorthand
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.8 Finding Content Using Conditionals
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.9 Reading HTML or Entities in XML Nodes
          • Problem
          • Solution
          • Discussion
        • 16.10 Deleting XML
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.11 Writing XML
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.12 Writing XML with Variables
          • Problem
          • Solution
          • Discussion
          • See Also
        • 16.13 Sending and Loading XML
          • Problem
          • Solution
          • Discussion
            • ActionScript
            • PHP
      • 17. How Do I Work with External Assets?
        • 17.0 Introduction
        • 17.1 Loading and Applying a Cascading Style Sheet
          • Problem
          • Solution
          • Discussion
            • HTML: demo.html
            • CSS: demo.css
          • See Also
        • 17.2 Loading and Displaying an Image or SWF File
          • Problem
          • Solution
          • Discussion
          • See Also
        • 17.3 Communicating with an ActionScript 3.0 Loaded SWF
          • Problem
          • Solution
          • Discussion
            • Loadee: loadee.swf
            • Loader: loader.swf
          • See Also
        • 17.4 Communicating with an ActionScript 2.0 Loaded SWF
          • Problem
          • Solution
          • Discussion
            • Loader: as3.swf
            • Loadee: as2.swf
          • See Also
        • 17.5 Unloading an Image or SWF File
          • Problem
          • Solution
          • Discussion
            • Loadee: loadee.swf
            • Loader: loader.swf
            • But wait...theres more!
            • Enter frame events
            • Timers
            • Streams and connections
            • A step in the right direction
          • See Also
        • 17.6 Loading and Playing a Sound
          • Problem
          • Solution
          • Discussion
        • 17.7 Setting the Volume and Pan of a Sound
          • Problem
          • Solution
          • Discussion
          • See Also
        • 17.8 Visualizing the Amplitude of a Sound
          • Problem
          • Solution
          • Discussion
          • See Also
        • 17.9 Unloading a Sound
          • Problem
          • Solution
          • Discussion
          • See Also
        • 17.10 Loading and Playing a Video
          • Problem
          • Solution
          • Discussion
          • See Also
        • 17.11 Unloading a Video
          • Problem
          • Solution
          • Discussion
          • See Also
    • IV. Migration
      • 18. A Sample Migration
        • A Simple Particle System
        • ActionScript 2.0
          • Main Timeline
          • Particles Class
        • ActionScript 3.0
          • Main Timeline
          • Particles Class
        • Migration Sample Summary
      • 19. Where Did It Go?
        • Introduction
          • Whats Included
          • Whats Not Included
        • Code Comparisons
          • Language Fundamentals
            • Examining and using default values
            • Referencing objects by evaluated expression
            • Creating global variables and functions
            • Accessing the root of a SWF file
            • Using delegates
          • Display
            • Accessing the Stage
            • Accessing a parent
            • Creating an empty movie clip
            • Adding a library movie clip to the stage
            • Duplicating a movie clip
            • Creating a bitmap
            • Adding a library bitmap to the stage
            • Checking the level of a display object
            • Getting the highest unused depth
            • Swapping display object depths
            • Accessing a display object by name
            • Removing a display object
            • Using the drawing API
            • Checking for display object collisions
            • Assigning a mask to movie clip
          • Events
            • Using event handlers
            • Adding and removing listeners
            • Enabling event dispatching
            • Dispatching events
            • Trapping a mouse up event outside a display objects boundaries
          • Text
            • Creating a new text field
            • Populating a text field with plain text
            • Populating a text field with HTML
            • Setting a default text format
            • Using a text field as a variable
            • Scrolling a text field
            • Triggering an ActionScript function with a hyperlink
          • Sound
            • Loading and playing an external sound
            • Playing an internal sound from the library
            • Stopping a sound
            • Getting or setting a sounds volume or pan
            • Getting a sounds duration
            • Getting a sounds current time
            • Getting a loaded sounds bytes loaded or total bytes
            • Stopping all sounds
            • Setting the buffer time of loaded sounds
          • Network
            • Using FlashVars
            • Getting the URL of a SWF file
            • Loading and unloading an image or SWF file using loadMovie
            • Loading and unloading an image or SWF file using MovieClipLoader
            • Loading variables using LoadVars
            • Sending variables using LoadVars
            • Connecting to a URL in a web browser
          • Miscellaneous
            • Examining property underscores and name changes
            • Using event and constant names
            • Using Intervals and Timeouts
            • Getting and setting the year of a date instance
            • Accessing private namespaces
    • Index
    • About the Authors
    • Colophon
    • SPECIAL OFFER: Upgrade this ebook with OReilly

Dodaj do koszyka The ActionScript 3.0 Quick Reference Guide: For Developers and Designers Using Flash. For Developers and Designers Using Flash CS4 Professional

Code, Publish & WebDesing by CATALIST.com.pl



(c) 2005-2024 CATALIST agencja interaktywna, znaki firmowe należą do wydawnictwa Helion S.A.