2 Replies Latest reply on Dec 2, 2006 2:37 PM by Peter Lorent

    Accessors and Mutators

    Theandric
      So my AS 2.0 Objects have Properties and Methods.

      Now you can handle properties using function get and function set, which will make your properties more like methods....

      why use it? Why not just do methods then? It was my understanding that properties are simple and easy, and when you need more advanced functionality you use methods. Well, now we methods for properties which defeat the purpose to me.

      Can anyone explain why we should use them?