# \[AS3\] Advantage of Getter Setter? Accessor Mutator

**URL:** <https://forum.kirupa.com/t/as3-advantage-of-getter-setter-accessor-mutator/280765>\
**Category:** flash\
**Created:** [January 31, 2009, 2:38pm UTC](https://forum.kirupa.com/t/as3-advantage-of-getter-setter-accessor-mutator/280765 "2009-01-31T14:38:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ayumilove](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ayumilove/32/2532_2.png) [@ayumilove](https://forum.kirupa.com/u/ayumilove)\
**Post date:** [January 31, 2009, 2:38pm UTC](https://forum.kirupa.com/t/as3-advantage-of-getter-setter-accessor-mutator/280765/1 "2009-01-31T14:38:09Z")

</div>

Hi guys, could someone enlighten me about the benefits and the downisde of getter and setter?

setter could only take in 1 parameter?  
if so, then it would really limit its usage if I would like to set 2 or more values to a few variables instead of 1 or there is a way around this problem for setter.
