That is the problem when you have to use someone's API and it does not follow standards. They probably wrote it before we know the right way to do getters and setters - or they never bothered to read up on the state of the art in programming.

Ron

T. Michael Keesey wrote:
On 8/21/07, Ron Wheeler <[EMAIL PROTECTED]> wrote:
myShape.x = 500;
I hope that you meant
myshape.setX(500);

Huh?

No, that's not part of the flash.display.Shape API. And while it's
true that "x" in this context is actually not a true field, but a pair
of methods (__get__x and __set__x, not getX and setX) disguised as a
field, I think you can safely ignore that in an introductory class.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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

Reply via email to