One of the few reasons to use explicit getters/setters in AS2 is as
part of an interface. AS2 does not allow implicit property getters and
setters in interfaces.
// Will not work in AS2:
interface Ratio {
function get percent():Number;
}
// Will work in AS2:
interface Ratio {
function getPercent():Number;
}
Fortunately, AS3 has remedied this problem.
--
Mike Keesey
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com