Thanks man, that did the trick! From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dima Ulich Use Paul William's solution. It helps me alot. check it here http://weblogs.macromedia.com/paulw/ hope it helps Street ----- Original Message
---- Hi, We’re using the riawave pattern (lightweight version of
cairngorm), and I’m trying to listen to changes to our ModelLocator. When I use a textfield that contains a direct reference to
our model, everything is working fine: <mycomp text=” {model.currentUser.name}” /> .. Now I need to have a function that gets triggered when our
model changes We tried something like
model.addEventListener(FlexEvent.DATA_CHANGE); but that gave no success. Anyone know which event is being dispatched when a binded
variable changes? Or is it not accessible? The only other solution I see is using a getter and setter
for every variable in our modellocator, and in the setter we could dispatch an
event, but I want a cleaner solution. Thanks for the tips!
-- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required) Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe __,_._,___ |
- [flexcoders] Listen to changes of a bindable variable Jonas Windey
- Re: [flexcoders] Listen to changes of a bindable variabl... Dima Ulich
- RE: [flexcoders] Listen to changes of a bindable var... Jonas Windey