Package | com.kongregate.air |
Interface | public interface IMobile |
Method | Defined By | ||
---|---|---|---|
openKongregateWindow(target:String, id:String):void
Opens the Kongregate window to a specific item on the target page. | IMobile | ||
trigger(name:String):void
Triggers an event from the game to the Kongregate SDK. | IMobile |
openKongregateWindow | () | method |
public function openKongregateWindow(target:String, id:String):void
Opens the Kongregate window to a specific item on the target page. For example a topic.
Parameters
target:String — the page to open to (e.g. Mobile.TOPICS) [optional]
| |
id:String — the id on the page to open to (e.g. 1234) [optional]
|
trigger | () | method |
public function trigger(name:String):void
Triggers an event from the game to the Kongregate SDK.
Parameters
name:String |