Yes, using object.watch(prop, callback [, user data])
On 7/28/05, Archibald Scatflinger <[EMAIL PROTECTED]> wrote: > I have a custom component and I want to make it so that when one of > its properties is changed by an external source then it triggers one > of the components methods. > > I realize that this is probably really simple and I am just missing > something but everything I have tried has either produced errors or > just not worked. > > I do not want to use implicit getter/setters because I want the > components property to be bindable. > > > For example: > > When this happens: > > MyCustomComponent.someproperty = "SomeNewValue"; > > I want it to trigger this: > > MyCustomComponent.DoSomeFunction(); > > I want this to be defined inside of the component though so it is > invisible outside of the component. > > > > Any thoughts? > > > Is this as easy as I think it should be? > > > > > > > > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com > Yahoo! Groups Links > > > > > > > -- Regards, Scott Barnes http://www.mossyblog.com -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

