Packagecom.adobe.ane.gameCenter
Classpublic class GameCenterLeaderboardEvent
InheritanceGameCenterLeaderboardEvent Inheritance GameCenterEvent Inheritance flash.events.Event

Describes an event dispatched by the Game Center leaderboard API.



Public Properties
 PropertyDefined By
  leaderboardCategories : Array
Contains an array of Strings when the event type is LEADERBOARD_CATEGORIES_LOADED
GameCenterLeaderboardEvent
  scores : Array
Contains an array of GameCenterScore objects when the event type is SCORES_LOADED
GameCenterLeaderboardEvent
Public Methods
 MethodDefined By
  
GameCenterLeaderboardEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Creates a new GameCenterLeaderboardEvent object.
GameCenterLeaderboardEvent
Public Constants
 ConstantDefined By
  LEADERBOARD_CATEGORIES_FAILED : String = leaderboardCategoriesFailed
[static]
GameCenterLeaderboardEvent
  LEADERBOARD_CATEGORIES_LOADED : String = leaderboardCategoriesLoaded
[static]
GameCenterLeaderboardEvent
  LEADERBOARD_VIEW_FINISHED : String = leaderboardViewFinished
[static] Defines the value of the type property of a GameCenterLeaderboardEvent object.
GameCenterLeaderboardEvent
  SCORES_FAILED : String = scoresFailed
[static]
GameCenterLeaderboardEvent
  SCORES_LOADED : String = scoresLoaded
[static]
GameCenterLeaderboardEvent
  SUBMIT_SCORE_FAILED : String = submitScoreFailed
[static]
GameCenterLeaderboardEvent
  SUBMIT_SCORE_SUCCEEDED : String = submitScoreSucceeded
[static]
GameCenterLeaderboardEvent
Property Detail
leaderboardCategoriesproperty
public var leaderboardCategories:Array

Contains an array of Strings when the event type is LEADERBOARD_CATEGORIES_LOADED

scoresproperty 
public var scores:Array

Contains an array of GameCenterScore objects when the event type is SCORES_LOADED

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

Creates a new GameCenterLeaderboardEvent 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
LEADERBOARD_CATEGORIES_FAILEDConstant
public static const LEADERBOARD_CATEGORIES_FAILED:String = leaderboardCategoriesFailed

LEADERBOARD_CATEGORIES_LOADEDConstant 
public static const LEADERBOARD_CATEGORIES_LOADED:String = leaderboardCategoriesLoaded

LEADERBOARD_VIEW_FINISHEDConstant 
public static const LEADERBOARD_VIEW_FINISHED:String = leaderboardViewFinished

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

SCORES_FAILEDConstant 
public static const SCORES_FAILED:String = scoresFailed

SCORES_LOADEDConstant 
public static const SCORES_LOADED:String = scoresLoaded

SUBMIT_SCORE_FAILEDConstant 
public static const SUBMIT_SCORE_FAILED:String = submitScoreFailed

SUBMIT_SCORE_SUCCEEDEDConstant 
public static const SUBMIT_SCORE_SUCCEEDED:String = submitScoreSucceeded