first_page the funky knowledge base
personal notes from way, _way_ back and maybe today

Adobe ActionScript 3.0 code block: get/set Template; Object Properties

The get/set form looks like this:

public function get prop():[type]
{
    return this._prop;
}

public function set prop( value:[type] ):void
{
    this._prop = value;
}

A more compact spacing:

public function get prop():[type] { return this._prop; }

public function set prop( value:[type] ):void { this._prop = value; }
mod date: 2008-01-15T01:59:56.000Z