RE: [Flashcoders] Can you extend the _y and _height setters of amovie clip?

2006-02-08 Thread Scott Hyndman
You could try watching _y and _height with Object.watch(), and adding the extra code in the observing functions. Scott -Original Message- From: [EMAIL PROTECTED] on behalf of Morten Barklund TBWA\Play Sent: Wed 2/8/2006 11:46 AM To: Flashcoders mailing list Cc: Subject:

Re: [Flashcoders] Can you extend the _y and _height setters of amovie clip?

2006-02-08 Thread Tyler Wright
No, there is no way to do this by extending the MovieClip class. Unfortunately the _x and _y are unique beasts, along with all the other MovieClip properties from the Flash 4 days (such as enabled). You can't watch them, create getters/setters for them, or even over-ride them. You have to have a

Re: [Flashcoders] Can you extend the _y and _height setters of amovie clip?

2006-02-08 Thread Ian Thomas
Um - Tyler - as I said in an earlier post, Object.watch _does_ work with .enabled. Definitely. I use it all the time. MX2004. So it might be worth trying with _x and _y, too... Ian On 2/8/06, Tyler Wright [EMAIL PROTECTED] wrote: No, there is no way to do this by extending the MovieClip