Packageorg.flixel.data
Classpublic class FlxKong
InheritanceFlxKong Inheritance flash.display.Sprite

This class provides basic high scores and achievements via Kongregate's game API.



Public Properties
 PropertyDefined By
  API : *
Stores the Kongregate API object.
FlxKong
Public Methods
 MethodDefined By
  
Constructor.
FlxKong
  
init():void
Actually initializes the FlxKong object.
FlxKong
Protected Methods
 MethodDefined By
  
APILoaded(event:Event):void
Fired when the Kongregate API finishes loading into the API object.
FlxKong
Property Detail
APIproperty
public var API:*

Stores the Kongregate API object.

The default value is null.

Constructor Detail
FlxKong()Constructor
public function FlxKong()

Constructor.

Method Detail
APILoaded()method
protected function APILoaded(event:Event):void

Fired when the Kongregate API finishes loading into the API object.

Parameters

event:Event

init()method 
public function init():void

Actually initializes the FlxKong object. Highly recommend calling this inside your first game state's update() function to ensure that all the necessary Flash stage stuff is loaded.