Ok... I'm not asking "can I use getters and setters to properly encapsulate my AS classes?". I'm asking why does the accepted ActionScript convention seem to be public member variables? Every example I see, every book I buy... public properties all the time.
Aren't we Flex developers just as worried about uncontrolled access to these members as, say, Java developers? Is there some feature of the language that I'm missing that protects against bad data being set into public properties? /Willy ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6181 Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.37