Posted By

shuchii on 11/25/10


Tagged

getter setter


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

tspitzr
timr


Getter/Setter


 / Published in: ActionScript 3
 

  1. private var _test:String;
  2.  
  3. public function set test(value:String):void
  4. {
  5. _test = value;
  6. }
  7.  
  8. public function get test():String
  9. {
  10. return _test;
  11. }

Report this snippet  

You need to login to post a comment.