Hello JesterXL,

how about both?

public function get _size():Number{
       return this.getSize()
}
private function getSize():Number{}


J> getSize/setSize because setSize can return a value when setting a property 
J> whereas a getter/setter cannot.

J> However, getter/setters are perfect for binding in Flex whereas you cannot 
J> bind to methods.  Additionally, getter/setters make it easier to refactor a 
J> property later on in development when everyone sets it.  This way, you can 
J> still trigger stuff without changing all of the other classes that have 
J> already used it.


-- 
Ivan Dembicki
____________________________________________________________________________
[EMAIL PROTECTED] |                                        | 
http://www.design.ru

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to