Around blogs and sites there's some news about AS3 and the new features it involves. Myself have not much time to test because you need to use Flex 2 beta and Flash Player 8.5 beta to compile AS3 (how to have enough time to solve clients problems while testing new futures for a compiler that will be realeased next year, I admire this people !)
Anyway, hrere's a remark of some new features taked from this blog:
http://www.gamesfactory.net/wordpress/, that you can read to expand this resume
Differences between AS2 and AS3(ie. what you would need to know to upgrade your code)
- .as files now contain package declarations
- A package can have functions, variables and classes as part of it’s contents.
- You can only have one public class per file, and all subtypes of a class default to private.
- The constant undefined is now null.
- Movieclips are created using the new operator
- A class called DisplayList is used for visible movieclips
- No more attachMovie. addChild now adds movieclips to the DisplayList
- Native properties no longer use underscore (eg. _height is now height)
- a graphical properties of a moviclip are found in an object called graphics
(Some) Additions to the language- Native event handler object, with event dispatcher methods included in the base object
- Regular Expression support
- EX4 support (XPath-like accessor for XML documents)
- Sprite class - movieclip without a timeline
- Binary objects
- Runtime error checker
- ComputeSpectrum class for sound analysis
- ‘final’ property on classes to stop them from being extended
- New types: const, enumerable, int and uint
- BinarySocket can load and send binary data
Jorge