[Flashr] get username

Spiros Gerokostas sger_error at hotmail.com
Mon Apr 17 08:40:18 EDT 2006


ok thanks again kelvin (must read the whole documentation!!!)

another example is

trace("realname: " + photos[i].owner.realname);

but returns undefined why?


>From: Kelvin Luck <kelvin at kelvinluck.com>
>Reply-To: kelvin at kelvinluck.com, Flashr at osflash.org
>To: Flashr at osflash.org
>Subject: Re: [Flashr] get username
>Date: Mon, 17 Apr 2006 13:27:38 +0100
>
>Spiros Gerokostas wrote:
> > output message when i trace "photos[i].owner" [Object
> > com.kelvinluck.flickr.Person - 22651740 at N00 (yugen)]
> >
> > well i need only the user name for example (yugen)
>
>photos[i].owner is a Person object as described here:
>
>http://kelvinluck.com/assets/flickr_api/0.4/docs/files/com/kelvinluck/flickr/Person-as.html
>
>So to get their username you can do:
>
>[code]
>trace photos[i].owner.username;
>[/code]
>
>Hope that helps,
>
>Kelvin :)
>
>_______________________________________________
>Flashr mailing list
>Flashr at osflash.org
>http://osflash.org/mailman/listinfo/flashr_osflash.org

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/




More information about the Flashr mailing list