Tuesday, July 6, 2010

What is difference between AS2.0 and AS3.0 ?

In AS2.0 Display types can't Implement the Polymorphism and they always had a fixed parent-child relationship with other instances.

In AS3.0 All Display types inherit from flash.display.DisplayObject.

AS3.0 provides runtime errors.

Strict typing is preserved at runtime in AS3.0, data mismatches are reported as errors.

AS3.0 has Intrinsic Event Model.

Regular Expressions has been added in AS3.0

E4X i.e. ECMA Script for XML is used in AS3.0 in place of DOM of AS2.0

No comments:

Post a Comment

Suggestions are heartily awaited.