Flash Access Player Profile

From J2Play

Jump to: navigation, search

Contents

Profiles

Through the profile API, public information about players can be obtained. Use the following interface:

Actionscript 2

import ca.j2x.flash.IRemoteProfile;
import ca.j2x.flash.IController;

var j2play:IController = _global.controller;
var profile:IRemoteProfile = j2play.getRemoteProfile();

Actionscript 3

import ca.j2x.flash.lang.Global;
import ca.j2x.flash.IController;
import ca.j2x.flash.IRemoteProfile;

var j2play:IController = Global.vars.controller;
var profile:IRemoteProfile = j2play.getRemoteProfile();

The following remote profile methods provide access to profile images:

Links