Adobe ActionScript 3.0 Developer’s Guide Action Script As3 Dev
User Manual: adobe ActionScript - 3.0 - Developer’s Guide Free User Guide for Adobe Flash Software, Manual
Open the PDF directly: View PDF
Page Count: 1110 [warning: Documents this large are best viewed by clicking the View PDF Link!]
- Contents
- Chapter 1: Working with dates and times
- Chapter 2: Working with strings
- Chapter 3: Working with arrays
- Chapter 4: Handling errors
- Basics of error handling
- Types of errors
- Error handling in ActionScript 3.0
- Working with the debugger versions of Flash runtimes
- Handling synchronous errors in an application
- Creating custom error classes
- Responding to error events and status
- Comparing the Error classes
- Handling errors example: CustomErrors application
- Chapter 5: Using regular expressions
- Chapter 6: Working with XML
- Chapter 7: Handling events
- Chapter 8: Working with application domains
- Chapter 9: Display programming
- Basics of display programming
- Core display classes
- Advantages of the display list approach
- Working with display objects
- Manipulating display objects
- Animating objects
- Stage orientation
- Loading display content dynamically
- Display object example: SpriteArranger
- Chapter 10: Working with geometry
- Chapter 11: Using the drawing API
- Chapter 12: Working with bitmaps
- Chapter 13: Filtering display objects
- Chapter 14: Working with Pixel Bender shaders
- Chapter 15: Working with movie clips
- Chapter 16: Working with inverse kinematics
- Chapter 17: Working in three dimensions (3D)
- Chapter 18: Basics of Working with text
- Chapter 19: Using the TextField class
- Chapter 20: Using the Flash Text Engine
- Chapter 21: Using the Text Layout Framework
- Chapter 22: Working with sound
- Basics of working with sound
- Understanding the sound architecture
- Loading external sound files
- Working with embedded sounds
- Working with streaming sound files
- Working with dynamically generated audio
- Playing sounds
- Security considerations when loading and playing sounds
- Controlling sound volume and panning
- Working with sound metadata
- Accessing raw sound data
- Capturing sound input
- Sound example: Podcast Player
- Chapter 23: Working with video
- Basics of video
- Understanding video formats
- Understanding the Video class
- Loading video files
- Controlling video playback
- Playing video in full-screen mode
- Streaming video files
- Understanding cue points
- Writing callback methods for metadata and cue points
- Using cue points and metadata
- Advanced topics for video files
- Video example: Video Jukebox
- Using the StageVideo class for hardware-accelerated rendering
- Chapter 24: Working with cameras
- Chapter 25: Using digital rights management
- Chapter 26: Adding PDF content in AIR
- Chapter 27: Basics of user interaction
- Chapter 28: Keyboard input
- Chapter 29: Mouse input
- Chapter 30: Touch, multitouch and gesture input
- Chapter 31: Copy and paste
- Chapter 32: Accelerometer input
- Chapter 33: Drag and drop in AIR
- Basics of drag and drop in AIR
- Supporting the drag-out gesture
- Supporting the drag-in gesture
- Drag and drop in HTML
- Dragging data out of an HTML element
- Dragging data into an HTML element
- Example: Overriding the default HTML drag-in behavior
- Handling file drops in non-application HTML sandboxes
- Dropping file promises
- Chapter 34: Working with menus
- Chapter 35: Taskbar icons in AIR
- Chapter 36: Working with the file system
- Using the FileReference class
- Using the AIR file system API
- AIR file basics
- Working with File objects in AIR
- About the File class
- Paths of File objects
- Common directory locations
- Directory view for AIR for TV applications
- Pointing a File object to a directory
- Pointing a File object to a file
- Modifying File paths
- Supported AIR URL schemes
- Finding the relative path between two files
- Obtaining canonical versions of file names
- Working with packages and symbolic links
- Determining space available on a volume
- Opening files with the default system application
- Getting file system information
- Working with directories
- Working with files
- Working with storage volumes
- Reading and writing files
- Chapter 37: Storing local data
- Chapter 38: Working with local SQL databases in AIR
- About local SQL databases
- Creating and modifying a database
- Manipulating SQL database data
- Using synchronous and asynchronous database operations
- Using encryption with SQL databases
- Strategies for working with SQL databases
- Chapter 39: Working with byte arrays
- Chapter 40: Basics of networking and communication
- Chapter 41: Sockets
- Chapter 42: HTTP communications
- Chapter 43: Communicating with other Flash Player and AIR instances
- Chapter 44: Communicating with native processes in AIR
- Chapter 45: Using the external API
- Basics of using the external API
- External API requirements and advantages
- Using the ExternalInterface class
- External API example: Communicating between ActionScript and JavaScript in a web browser
- External API example: Communicating between ActionScript and a desktop application that uses the ActiveX control
- Chapter 46: XML signature validation in AIR
- Chapter 47: Client system environment
- Chapter 48: AIR application invocation and termination
- Chapter 49: Working with AIR runtime and operating system information
- Chapter 50: Working with AIR native windows
- Basics of native windows in AIR
- Creating windows
- Managing windows
- Getting a NativeWindow instance
- Activating, showing, and hiding windows
- Changing the window display order
- Closing a window
- Allowing cancellation of window operations
- Maximizing, minimizing, and restoring a window
- Example: Minimizing, maximizing, restoring and closing a window
- Resizing and moving a window
- Example: Resizing and moving windows
- Listening for window events
- Displaying full-screen windows
- Chapter 51: Display screens in AIR
- Chapter 52: Printing
- Chapter 53: Geolocation
- Chapter 54: Internationalizing applications
- Chapter 55: Localizing applications
- Chapter 56: About the HTML environment
- Overview of the HTML environment
- AIR and WebKit
- JavaScript in AIR
- HTML Sandboxes
- JavaScript eval() function
- Function constructors
- Loading external scripts
- The XMLHttpRequest object
- Cookies
- The Clipboard object
- Drag and Drop
- innerHTML and outerHTML properties
- Document.write() and Document.writeln() methods
- Document.designMode property
- unload events (for body and frameset objects)
- JavaScript Window object
- air.NativeApplication object
- The JavaScript URL scheme
- HTML in AIR
- CSS in AIR
- WebKit features not supported in AIR
- JavaScript in AIR
- Chapter 57: Programming HTML and JavaScript in AIR
- About the HTMLLoader class
- Avoiding security-related JavaScript errors
- Causes of security-related JavaScript errors
- Mapping application content to a different sandbox
- eval() function
- Assigning properties to an object
- Creating a function with variables available in context
- Creating an object using the name of the class as a string parameter
- setTimeout() and setInterval()
- Function constructor
- javascript: URLs
- Event callbacks assigned through onevent attributes in innerHTML and outerHTML statements
- Loading JavaScript files from outside the application installation directory
- document.write() and document.writeln()
- Synchronous XMLHttpRequests before the load event or during a load event handler
- Dynamically created script elements
- Accessing AIR API classes from JavaScript
- About URLs in AIR
- Making ActionScript objects available to JavaScript
- Accessing HTML DOM and JavaScript objects from ActionScript
- Embedding SWF content in HTML
- Using ActionScript libraries within an HTML page
- Converting Date and RegExp objects
- Manipulating an HTML stylesheet from ActionScript
- Cross-scripting content in different security sandboxes
- Chapter 58: Scripting the AIR HTML Container
- Display properties of HTMLLoader objects
- Scrolling HTML content
- Accessing the HTML history list
- Setting the user agent used when loading HTML content
- Setting the character encoding to use for HTML content
- Defining browser-like user interfaces for HTML content
- About extending the HTMLHost class
- Example: Extending the HTMLHost class
- Handling changes to the window.location property
- Handling JavaScript calls to window.moveBy(), window.moveTo(), window.resizeTo(), window.resizeBy()
- Handling JavaScript calls to window.open()
- Handling JavaScript calls to window.close()
- Handling changes of the window.status property
- Handling changes of the window.document.title property
- Handling JavaScript calls to window.blur() and window.focus()
- Creating windows with scrolling HTML content
- Creating subclasses of the HTMLLoader class
- Chapter 59: Handling HTML-related events in AIR
- Chapter 60: Displaying HTML content in mobile apps
- Chapter 61: Security
- Flash Platform security overview
- Security sandboxes
- Permission controls
- Restricting networking APIs
- Full-screen mode security
- Loading content
- Cross-scripting
- Accessing loaded media as data
- Loading data
- Loading embedded content from SWF files imported into a security domain
- Working with legacy content
- Setting LocalConnection permissions
- Controlling outbound URL access
- Shared objects
- Camera, microphone, clipboard, mouse, and keyboard access
- AIR security
- Chapter 62: How to Use ActionScript Examples
- Chapter 63: SQL support in local databases
- Chapter 64: SQL error detail messages, ids, and arguments