October 15, 2010 at 6:28 PM
Getters and Setters are different in java and flex. In Flex ActionScript the getters and setters are the part of ECMA Script and in java they work through naming convention.
We do not make member variable public in java but if we decide to make the member variable as public you want to change the interface to use getters and setters function it is very difficult.
but in ActionScript or ECMA script the interface does not change when i go from a member to getter/setter and viceversa.