Packagecom.adobe.ane.gameCenter
Classpublic class GameCenterFriendEvent
InheritanceGameCenterFriendEvent Inheritance GameCenterEvent Inheritance flash.events.Event

Describes an event dispatched by the Game Center friends API.



Public Properties
 PropertyDefined By
  friendList : Array
Contains an array of GameCenterPlayer objects when the event type is FRIEND_LIST_LOADED
GameCenterFriendEvent
Public Methods
 MethodDefined By
  
GameCenterFriendEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new GameCenterFriendEvent object.
GameCenterFriendEvent
Public Constants
 ConstantDefined By
  FRIEND_LIST_FAILED : String = friendListFailed
[static]
GameCenterFriendEvent
  FRIEND_LIST_LOADED : String = friendListLoaded
[static]
GameCenterFriendEvent
  FRIEND_REQUEST_VIEW_FINISHED : String = friendRequestViewFinished
[static] Defines the value of the type property of a GameCenterFriendEvent object.
GameCenterFriendEvent
Property Detail
friendListproperty
public var friendList:Array

Contains an array of GameCenterPlayer objects when the event type is FRIEND_LIST_LOADED

Constructor Detail
GameCenterFriendEvent()Constructor
public function GameCenterFriendEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Creates a new GameCenterFriendEvent object.

Parameters
type:String — The type of the event. Event listeners can access this information through the inherited type property.
 
bubbles:Boolean (default = false) — Indicates whether the Event object bubbles. Event listeners can access this information through the inherited bubbles property.
 
cancelable:Boolean (default = false) — Indicates whether the Event object can be canceled. Event listeners can access this information through the inherited cancelable property.
Constant Detail
FRIEND_LIST_FAILEDConstant
public static const FRIEND_LIST_FAILED:String = friendListFailed

FRIEND_LIST_LOADEDConstant 
public static const FRIEND_LIST_LOADED:String = friendListLoaded

FRIEND_REQUEST_VIEW_FINISHEDConstant 
public static const FRIEND_REQUEST_VIEW_FINISHED:String = friendRequestViewFinished

Defines the value of the type property of a GameCenterFriendEvent object.