Yup. V2 components actually make use of watching enabled too. I just tested watching _y and _height, and you're right, it doesn't work.
Scott -----Original Message----- From: [EMAIL PROTECTED] on behalf of Ian Thomas Sent: Wed 2/8/2006 1:57 PM To: Flashcoders mailing list Cc: Subject: Re: [Flashcoders] Can you extend the _y and _height setters of amovieclip? 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 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 getter/setter x and y and inside those set the _x and _y. > > _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders