1. CSS
  2. Flash
  3. HTML
  4. Illustrator
  5. Java
  6. JavaScript
  7. Maya
  8. Photography
  9. Photoshop
  10. PHP
  11. Ruby
  12. Ruby on Rails
  13. 3ds Max

Flash: AS3 101: Five Reasons to use Setters and Getters

  1. Clicks today:
  2. Clicks this month:
  3. Overall rating:

Flash » Basics — over 10 years ago
Of course you know about setters and getters, who doesn’t? (If that’s you, you might want to brush up on Object-Oriented Programming with my Introduction to OOP tutorial). But why use them? Why go to the trouble of creating extra functions to wrap around a property? Here are five reasons that are incredibly useful.


Your Comment

You must be logged in to post a comment.