[Flashcoders] Can you extend the _y and _height setters of a movie clip?

2006-02-08 Thread David Lochhead
Hi, I've got a movieclip that can have it's _y and _height properties altered by various scripts. Is there a way I can extend the movieclip class so that the setter for these properties can be extended so I can act when the clip gets updated? Any advice appreciated. Dave

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

2006-02-08 Thread Morten Barklund TBWA\\Play
David Lochhead wrote: Hi, I've got a movieclip that can have it's _y and _height properties altered by various scripts. Is there a way I can extend the movieclip class so that the setter for these properties can be extended so I can act when the clip gets updated? Any advice appreciated.

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

2006-02-08 Thread Ian Thomas
Have you tried using Object.watch? It certainly works for me with .enabled - might work with _x and _y, haven't tried it. Cheers, Ian On 2/8/06, Morten Barklund TBWAPlay [EMAIL PROTECTED] wrote: David Lochhead wrote: Hi, I've got a movieclip that can have it's _y and _height