Welcome, Guest. Please login or register.
Did you miss your activation email?
02/07/12, 07:58
Home Help Search Login Register
News: Parsley Flex framework review featuring quiz application, in our Flex frameworks series
Flex SDK 4.5 mobile roadmap: begin with your mobile development
Swiz Flex framework review featuring quiz application
New homepage we release our new Homepage, take a look ...

+  Flash-db
|-+  The Library
| |-+  Technical Reference Area (Moderators: Flash-db, Musicman, BurtonRider1983, vesa kortelainen, Ronald Wernecke, Jorge Solis)
| | |-+  Some remarks about AS3
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Some remarks about AS3  (Read 5066 times)
Jorge Solis
Administrator
Systems Administrator
*****
Posts: 14593


View Profile
« on: 11/21/05, 06:41 »

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
Logged

Pages: [1] Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!