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.