Look into the PropertyChangeEvent or Watcher. If your Model is bindable, a PropertyChangeEvent.PROPERTY_CHANGE is dispatched every time a bindable class property changes.
regards, Muzak ----- Original Message ----- From: "Mark Shen" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, December 21, 2007 6:51 PM Subject: Re: [flexcoders] how to pass varible between screens? > yes I use singleton and I can bind the variable. > > <mx:Label id="temp1" x="397.5" y="1549" text="{modelLocator.sID}" /> > > My question is how to use modelLocator.sID in actionscipt. > > I use the statement like > > filePrefix = modelLocator.sID; > > But no event call the statement .the filePrefix is empty. > > Thanks -- 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/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> 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/

