ActionScript 2 to 3 Object Properties

Reference on Tuesday, July 22nd, 2008

In ActionScript 3 accessing your favorite object properties no longer require underscores as they did in AS 2. Here are some examples that list the previous and current conventions.

ActionScript 2 ActionScript 3
_alpha alpha
_parent parent
_rotation rotation
_width width
_height height
_x x
_y y
This list displays the most common properties.


Share This


Leave a Reply