try tracing the model.currentUser.firstName, trace(model.currentUser.firstName)
and then put this vaule in textfield like:
textid.text  = model.currentUser.firstName
and then
Alert.Show(textid.text);
 
I had come acrros the same problem.
where i could value into trace but while passing to some function , it was null
I tried with this and it worked..It sound wired but its true...
 
Regards,
PS

 
On 10/16/06, boy_trike <[EMAIL PROTECTED]> wrote:

[Bindable]
public var model:ModelLocator = ModelLocator.getInstance();

private function processLoginResults( event : ResultEvent) : void {
model.currentUser = new Users();
model.currentUser = event.result as Users;
Alert.show(model.currentUser.firstName);
}

snippet of code above,
I get the error in the Alert.show function. What am I doing wrong?

Thanks

Bruce Lomasky


__._,_.___

--
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
Software development tool Software development Software development services
Home design software Software development company

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

__,_._,___

Reply via email to