  | |  | extending the Movieclip Class....Properties that are methods? | extending the Movieclip Class....Properties that are methods?
2004-02-19 - By Mike Mountain
Back OK, dipping my toe back into OOP.....
I want to extend the Movieclip to have a new method/property called
_offStage this will work much the same as _visible.
Ie.
myClip._offStage=true;..sets _x=current x pos + 3000
myClip._offStageúlse;..sets _x=original x pos
I know how to do this in this fashion:
myClip.setOffStage(true)....as a method....but I want it to work as a
property. Like _visible, _alpha etc.
Is this possible? How? Or am I barking up the wrong tree here?
Cheers
M
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104695
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)
|
|
 |