public static const COMPLETE:String = "component_api_available"
Defines the value of the type property of a complete event object.
This event is fired when Kongregate services have finished loading into the component
and are available for developer access.
Example
// Import the libraries
import com.kongregate.as3.client.KongregateAPI;
import com.kongregate.as3.client.events.KongregateEvent
var kongregate:KongregateAPI = new KongregateAPI();
this.addChild ( kongregate );
// Our custom method, which will be called when the services load
function servicesLoaded ( e:KongregateEvent ):void
{
trace ( "Kongregate services are now available" );
}
// Add the listener
kongregate.addEventListener ( KongregateEvent.COMPLETE, servicesLoaded );