DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Haikal has posted 8 posts at DZone. View Full User Profile

Actionscript Component Getter/setter

10.17.2006
| 3141 views |
  • submit to reddit
        // Inspectable getter and setter

	[Inspectable(type=Number, defaultValue="10")]
	public function set points(p:Number){
		__points = p;
	}
	
	public function get points():Number{
		return __points;
	}