new(substate:FlxSubState)
substate:FlxSubState
Substate that is about to be opened/closed
@:value({ })data:Dynamic = { }
Additional data if used in scripts
@:value({ c : true })preventDefault(c:Bool = true):Void
Prevents default action from occuring.
Parameters:
c
Whenever the scripts following this one should be called or not. (Defaults to true)
true
toString():String
Returns a string representation of the event, in this format: [CancellableEvent] [CancellableEvent (Cancelled)]
[CancellableEvent]
[CancellableEvent (Cancelled)]
Returns:
String