06-19-2006, 09:02 PM
|
#1
|
|
If you can read this, I'm
|

 |
San Francisco, CA (USA) |
|
 |
17,266 |
|
|
ActionScript 3 Tip of the Day
ActionScript 3 is the next step forward in Flash scripting and to help with the transition (for those of you deciding to make it), I thought I'd make a new Tip of the Day thread for ActionScript 3.0 to help people prepare (after 100 tips, they will no longer be provided daily).
Note: Many of these tips were created prior to the release of Flash and pertain to AS-only projects. Others were for use with the Alpha version of Flash (released prior to the full release of Flash). Most of these are noted as being for "Flash 9". Though much has changed in Flash CS3, most of those tips should still apply to it as well.
To code AS3, you'll need one of the following:
ActionScript 3 Tips and Tricks:
Latest Additions
(All categories are ordered from oldest (top) to newest (bottom))
General
Language Elements/Behavior and Syntax
New Classes
Regular Expressions
Proxy Class
XML
Events
Errors and Error Handling
Display Objects (MovieClips)
Flash Authoring
Additional Resources:
Samples:
__________________

|
|
|
06-19-2006, 10:26 PM
|
#5
|
|
|
Quote:
|
Originally Posted by mathew.er
Nice to have an AS 3 thread. Maybe whole Flex/AS3 forum would be usefull as it seem to spred a lot.
To the stage thing... is "stage" and not "Stage" a typo or do you need to import and instance the Stage to change the framerate? Shouldnt flash.display.Stage.frameRate = 12 do the job then?
|
No, in AS3 it has changed - the Stage class is accessed through the stage property of a DisplayObject instance. However, they all reference the same thing I think.
__________________
Proud Montanadian
 We tolerate living and breathing.
Name Brand Watches
|
|
|
06-20-2006, 02:33 AM
|
#6
|
|
|
Quote:
|
However, they all reference the same thing I think.
|
Thats how I understand it.
Quote:
Inheritance:Stage->DisplayObjectContainer-> InteractiveObject->DisplayObject ->EventDispatcher->Object
The Stage class represents the main drawing area. The Stage represents the entire area where Flash content is shown.
The Stage object is not globally accessible. You need to access it through the stage property of a DisplayObject instance.
|
http://livedocs.macromedia.com/labs/...lay/Stage.html
|
|
|
06-20-2006, 02:59 PM
|
#15
|
|
If you can read this, I'm
|

 |
San Francisco, CA (USA) |
|
 |
17,266 |
|
|
Quote:
|
Originally Posted by ~REEF~
A few questions...Whats AS 3.0 for? Is there a new flash coming out?
|
ActionScript 3 is the next release of ActionScript that will be supported in Flash Player 9. Flex 2 applications are built using ActionScript 3 and the next version of Flash (code named BLAZE) will support it when it's released some time after Flex. Unlike ActionScript 2, ActionScript 3 uses an entirely new virtual machine providing it with new robust features and increased performance.
More details on available and upcoming products can be found on http://www.adobe.com/ and http://labs.adobe.com/ (where both the Flex 2 beta and Flash Player 9 beta are currently available for download)
__________________

|
|
|
|
Currently Active Users Viewing This Thread: 31 (0 members and 31 guests)
|
|
|
| Thread Tools |
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -4. The time now is 06:02 PM.
|
|