|
UserDataProfile
Retrieves the data from the Last.fm Profile Information web services for a specific user.
Phase-Implementation, userdata, profile Package com.lfm.services.UserData Class public class Profile Inheritance AbstractService --> AbstractUserData --> Profile Profile SummaryRetrieves the data from the Last.fm Profile Information web services for a specific user. Details
Example Usageimport com.lfm.services.UserData.Profile;
import flash.events.Event;
var profile:Profile = new Profile("RJ");
profile.addEventListener(Event.COMPLETE,serviceLoaded);
profile.load();
function serviceLoaded(event:Event):void {
trace("Profile ID: " + profile.id);
trace("Profile cluster: " + profile.cluster);
trace("Profile username: " + profile.username);
trace("Profile URL: " + profile.url);
trace("Profile mbox_sha1sum" + profile.mboxsha1sum);
trace("Profile Registered Date: " + profile.registered);
trace("User age: " + profile.age);
trace("User gender: " + profile.gender);
trace("Country: " + profile.country);
trace("Profile play count: " + profile.playcount);
trace("Profile Avatar: " + profile.avatar);
}
| ||||||||||||||||||||||||||||||||||||||
► Sign in to add a comment
import com.lfm.services.UserData.Profile; import flash.events.Event;
var profile:Profile = new Profile("RJ"); profile.addEventListener(Event.COMPLETE,serviceLoaded); profile.load();
function serviceLoaded(event:Event):void {
}