Friday, July 15, 2011

Similarities and dissimilarities of AS2.0 and AS3.0


Dissimilarities with AS2
AS3 is located in Class files or in the Time line.
Object oriented.
Data loading changed.
Data control feature.
Text control
In AS3 Action Scripts can’t is added directly to a movie clips or button instances.
The way of Triggering events has also been changed in AS3.
XML files are handled differently
Namespaces use in projects
Drawing with shape class
Can be extended with external Action Script libraries
AS3 also can be extended using C/C++

Similarities with AS2
Working procedure with Variables
Working process with Math object
If/Else Statements logic and structure
Switch Statements logic and structure
Use of String
Date to control the use of date and time
Array to build a structured collection of data
Boolean to specify a true or false
Variable names are still case sensitive can’t start with number

0 comments:

Post a Comment