function SessionCreateEvent(event)
{
print(event.getSessionId());
}
// can you call event by class name, if class name is "TestEvent" use
function TestEvent(event)
{
// put your code
}
// you can create custom event, needs extends ProxyEvent (com.intion.proxy.event.ProxyEvent)
// see example
manager.callEvent(yourCustomEventInstanciated);
// if event can implements Cancelable, you can use event.setCancelled(), to stop event for final running
function TestEvent(event)
{
event.setCancelled();
}