jasu's blog
블로그 메뉴글
[AS3] ActionScript 3 Tip of the Day
Programming/ActionScript 3.0
2007. 6. 13. 10:03
ActionScript 3 Tip of the Day
The release of Flex Builder 2 is around the corner and though the next version of Flash is still a ways away, ActionScript 3 will be a big part of Flex 2 and the impending release of Flash Player 9 (which arrives with Flex). ActionScript 3 is the next step forward and to help with the transition (for those of you deciding to make it), I thought, since I've been working with AS3 a bit lately, I'd make a new Tip of the Day thread for ActionScript 3.0 to help people prepare. So here we go:
ActionScript 3 Tips and Tricks:
- 06-19-06: Change the frame rate of your movie
- 06-20-06: Class scope is now bound to class methods
- 06-21-06: Graphics Object and the Drawing API
- 06-22-06: New Variable Types
- 06-23-06: Display Objects
- 06-24-06: New Import Directive
- 06-25-06: Type Casting and the as Operator
- 06-26-06: Unique Class Variables
- 06-27-06: New MouseMove Behavior
- 06-28-06: The delete Keyword and Class Members
- 06-29-06: The Dictionary Class
- 06-30-06: Label Statements
- 07-01-06: Detecting When the Mouse Leaves the Movie
- 07-02-06: SimpleButton Instances
- 07-03-06: Commas in Shorthand Array Definitions
- 07-04-06: Package Block
- 07-05-06: Same-file Helper Classes
- 07-06-06: Access Attributes
- 07-07-06: Abstract Classes
- 07-08-06: The override Keyword
- 07-09-06: Using prototype
- 07-10-06: Regular Expression (RegExp) Support
- 07-11-06: Approach to Depth Sorting
- 07-12-06: Deep Object Copies with ByteArray
- 07-13-06: Similarly Named Instance and Static Properties
- 07-14-06: EventDispatcher
- 07-15-06: Events and Event Types
- 07-16-06: Writing Inline XML
- 07-17-06: Determine Instance Class or Superclass
- 07-18-06: super() Placement (Now Anywhere)
- 07-19-06: Determining Current Frame Label
- 07-20-06: Multiple Arguments in trace()
- 07-21-06: Calling Event Handlers without Events
- 07-22-06: URLRequest for URL Strings
- 07-23-06: XML vs. XMLDocument
- 07-24-06: Loading Text and XML with URLLoader
- 07-25-06: is Operator (vs instanceof)
- 07-26-06: Flash 9: Timelines as Classes
- 07-27-06: RegExp: Email Validation
- 07-28-06: Render Event
- 07-29-06: XML: @ Operator for Attributes
- 07-30-06: Event Propagation Support
- 07-31-06: Get Sound Spectrum Information
- 08-01-06: Number() Conversion No Longer Interprets Octals
- 08-02-06: Garbage Collection: Reference Counting & Mark and Sweep
- 08-03-06: Weak References
- 08-04-06: Flash 9: BitmapData and Bitmaps from the Library
- 08-05-06: Changes in typeof
- 08-06-06: getBounds() vs getRect()
- 08-07-06: for..in and for each..in
- 08-08-06: Default Values for Function Parameters
- 08-09-06: Undetermined Number of Arguments With ...(rest)
- 08-10-06: arguments
- 08-11-06: Support for Namespaces
- 08-12-06: Namespaces: Name Qualifier Operator (::)
- 08-13-06: dynamic is Not Inherited
- 08-14-06: Creating a mouseWithin Event
- 08-15-06: Prevent Overriding and Subclassing with final
- 08-16-06: MXMLC: SWF Metadata Tag
- 08-17-06: Proxy Class
- 08-18-06: in Operator
- 08-19-06: Proxy: getProperty and setProperty
- 08-20-06: Flash 9: Display Object Variables and Instance Names
- 08-21-06: XML: XML and XMLList
- 08-22-06: Constants
- 08-23-06: duplicateMovieClip Replacement
- 08-24-06: Proxy: callProperty
- 08-25-06: Creating graphics Copies
- 08-26-06: TextField.appendText()
- 08-27-06: include Directive
- 08-28-06: Duplicate Variable Definitions
- 08-29-06: mouseEnabled and Event Blocking
- 08-30-06: mouseChildren with Event Propagation
- 08-31-06: rollOver and rollOut vs. mouseOver and mouseOut
- 09-01-06: DisplayObjectContainer contains()
- 09-02-06: Cleaning Up Event Listeners
- 09-03-06: Detecting Addition to or Removal from Stage
- 09-04-06: Event Phases and Event Capturing
- 09-05-06: Determining Event Phase
- 09-06-06: Preventing Event Propagation
- 09-07-06: Global Events
- 09-08-06: Detecting a mouseUp Outside
- 09-09-06: Flash 9: Document Class
- 09-10-06: Access to stage and root
- 09-11-06: Namespaces: use namespace Directive
- 09-12-06: No More Color Class; Use ColorTransform
- 09-13-06: Runtime Errors; Error Class
- 09-14-06: Errors: try..catch..finally and Exception Handling
- 09-15-06: Errors: Asynchronous Exception Handling
- 09-16-06: XML: Children (.) and Decendants (..)
- 09-17-06: Array.indexOf (Array.lastIndexOf())
- 09-18-06: asfunction: Now event:
- 09-19-06: Proxy: Property Enumeration (nextName(), nextValue(), and nextNameIndex())
- 09-20-06: Event Capturing and mouseEnabled
- 09-21-06: Flash 9: Strict Mode
- 09-22-06: System.totalMemory
- 09-23-06: Closing Net Connections
- 09-24-06: Timer Class
- 09-25-06: AVM2 (AS3) to AVM1 (AS2/AS1) Communication via LocalConnection
- 09-26-06: ByteArray Class
100 AS3 tips! After tip 100, no longer will they be added daily