Update Files

This commit is contained in:
2025-01-22 16:18:30 +01:00
parent ed4603cf95
commit a36294b518
16718 changed files with 2960346 additions and 0 deletions

View File

@ -0,0 +1,10 @@
package flash.events;
extern class AVDictionaryDataEvent extends Event {
@:flash.property var dictionary(get,never) : flash.utils.Dictionary;
@:flash.property var time(get,never) : Float;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?init_dictionary : flash.utils.Dictionary, init_dataTime : Float = 0) : Void;
private function get_dictionary() : flash.utils.Dictionary;
private function get_time() : Float;
static final AV_DICTIONARY_DATA : String;
}

View File

@ -0,0 +1,14 @@
package flash.events;
extern class AVHTTPStatusEvent extends Event {
@:flash.property var responseHeaders(get,set) : Array<Dynamic>;
@:flash.property var responseURL(get,set) : String;
@:flash.property var status(get,never) : Int;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, status : Int = 0, ?responseUrl : String, ?responseHeaders : Array<Dynamic>) : Void;
private function get_responseHeaders() : Array<Dynamic>;
private function get_responseURL() : String;
private function get_status() : Int;
private function set_responseHeaders(value : Array<Dynamic>) : Array<Dynamic>;
private function set_responseURL(value : String) : String;
static final AV_HTTP_RESPONSE_STATUS : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class AVLoadInfoEvent extends Event {
@:flash.property var loadInfo(get,never) : flash.utils.Dictionary;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inLoadInfo : flash.utils.Dictionary) : Void;
private function get_loadInfo() : flash.utils.Dictionary;
static final AV_LOAD_INFO : Dynamic;
}

View File

@ -0,0 +1,14 @@
package flash.events;
extern class AVManifestLoadEvent extends Event {
@:flash.property var duration(get,never) : Float;
@:flash.property var handle(get,never) : Int;
@:flash.property var result(get,never) : flash.media.AVResult;
@:flash.property var userData(get,never) : Int;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, inResult : Int = 0, inUserData : Int = 0, inHandle : Int = 0, inDuration : Float = 0) : Void;
private function get_duration() : Float;
private function get_handle() : Int;
private function get_result() : flash.media.AVResult;
private function get_userData() : Int;
static final AV_MANIFEST_LOAD : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class AVPauseAtPeriodEndEvent extends Event {
@:flash.property var userData(get,never) : Int;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, userData : Int = 0) : Void;
private function get_userData() : Int;
static final AV_PAUSE_AT_PERIOD_END : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class AVPlayStateEvent extends Event {
@:flash.property var playState(get,never) : flash.media.AVPlayState;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, inState : Int = 0) : Void;
private function get_playState() : flash.media.AVPlayState;
static final AV_PLAY_STATE : String;
}

View File

@ -0,0 +1,28 @@
package flash.events;
extern class AVStatusEvent extends Event {
@:flash.property var description(get,never) : String;
@:flash.property var notificationType(get,never) : String;
@:flash.property var result(get,never) : flash.media.AVResult;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inNotificationType : String, inResult : Int = 0, ?inDescription : String) : Void;
private function get_description() : String;
private function get_notificationType() : String;
private function get_result() : flash.media.AVResult;
static final AV_STATUS : String;
static final BACKGROUND_MANIFEST_ERROR : String;
static final BACKGROUND_MANIFEST_WARNING : String;
static final BUFFER_STATE : String;
static final DECODER_TYPE : String;
static final DIMENSION_CHANGE : String;
static final ERROR : String;
static final INSERTION_COMPLETE : String;
static final LOAD_COMPLETE : String;
static final MANIFEST_UPDATE : String;
static final PLAY_STATE : String;
static final RENDER_TYPE : String;
static final SEEK_COMPLETE : String;
static final STEP_COMPLETE : String;
static final STREAM_SWITCH : String;
static final TRICKPLAY_ENDED : String;
static final WARNING : String;
}

View File

@ -0,0 +1,18 @@
package flash.events;
extern class AVStreamSwitchEvent extends Event {
@:flash.property var bitrate(get,never) : Int;
@:flash.property var description(get,never) : String;
@:flash.property var switchType(get,never) : Int;
@:flash.property var time(get,never) : Float;
@:flash.property var userData(get,never) : Int;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, time : Float = 0, switchType : Int = 0, bitrate : Int = 0, ?description : String, userData : Int = 0) : Void;
private function get_bitrate() : Int;
private function get_description() : String;
private function get_switchType() : Int;
private function get_time() : Float;
private function get_userData() : Int;
static final ABR_SWITCH : Int;
static final AV_STREAM_SWITCH : String;
static final PERIOD_SWITCH : Int;
}

View File

@ -0,0 +1,18 @@
package flash.events;
@:require(flash10_1) extern class AccelerometerEvent extends Event {
@:flash.property var accelerationX(get,set) : Float;
@:flash.property var accelerationY(get,set) : Float;
@:flash.property var accelerationZ(get,set) : Float;
@:flash.property var timestamp(get,set) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, timestamp : Float = 0, accelerationX : Float = 0, accelerationY : Float = 0, accelerationZ : Float = 0) : Void;
private function get_accelerationX() : Float;
private function get_accelerationY() : Float;
private function get_accelerationZ() : Float;
private function get_timestamp() : Float;
private function set_accelerationX(value : Float) : Float;
private function set_accelerationY(value : Float) : Float;
private function set_accelerationZ(value : Float) : Float;
private function set_timestamp(value : Float) : Float;
static final UPDATE : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern class ActivityEvent extends Event {
@:flash.property var activating(get,set) : Bool;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, activating : Bool = false) : Void;
private function get_activating() : Bool;
private function set_activating(value : Bool) : Bool;
static final ACTIVITY : String;
}

View File

@ -0,0 +1,7 @@
package flash.events;
extern class AsyncErrorEvent extends ErrorEvent {
var error : flash.errors.Error;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, ?error : flash.errors.Error) : Void;
static final ASYNC_ERROR : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class AudioOutputChangeEvent extends Event {
@:flash.property var reason(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?reason : String) : Void;
private function get_reason() : String;
static final AUDIO_OUTPUT_CHANGE : String;
}

View File

@ -0,0 +1,16 @@
package flash.events;
extern class ContextMenuEvent extends Event {
@:flash.property var contextMenuOwner(get,set) : flash.display.InteractiveObject;
@:flash.property @:require(flash10) var isMouseTargetInaccessible(get,set) : Bool;
@:flash.property var mouseTarget(get,set) : flash.display.InteractiveObject;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?mouseTarget : flash.display.InteractiveObject, ?contextMenuOwner : flash.display.InteractiveObject) : Void;
private function get_contextMenuOwner() : flash.display.InteractiveObject;
private function get_isMouseTargetInaccessible() : Bool;
private function get_mouseTarget() : flash.display.InteractiveObject;
private function set_contextMenuOwner(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
private function set_isMouseTargetInaccessible(value : Bool) : Bool;
private function set_mouseTarget(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
static final MENU_ITEM_SELECT : String;
static final MENU_SELECT : String;
}

View File

@ -0,0 +1,20 @@
package flash.events;
@:require(flash10_1) extern class DRMAuthenticateEvent extends Event {
@:flash.property var authenticationType(get,never) : String;
@:flash.property var header(get,never) : String;
@:flash.property var netstream(get,never) : flash.net.NetStream;
@:flash.property var passwordPrompt(get,never) : String;
@:flash.property var urlPrompt(get,never) : String;
@:flash.property var usernamePrompt(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?header : String, ?userPrompt : String, ?passPrompt : String, ?urlPrompt : String, ?authenticationType : String, ?netstream : flash.net.NetStream) : Void;
private function get_authenticationType() : String;
private function get_header() : String;
private function get_netstream() : flash.net.NetStream;
private function get_passwordPrompt() : String;
private function get_urlPrompt() : String;
private function get_usernamePrompt() : String;
static final AUTHENTICATION_TYPE_DRM : String;
static final AUTHENTICATION_TYPE_PROXY : String;
static final DRM_AUTHENTICATE : String;
}

View File

@ -0,0 +1,15 @@
package flash.events;
@:require(flash10_1) extern class DRMAuthenticationCompleteEvent extends Event {
@:flash.property var domain(get,set) : String;
@:flash.property var serverURL(get,set) : String;
@:flash.property var token(get,set) : flash.utils.ByteArray;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inServerURL : String, ?inDomain : String, ?inToken : flash.utils.ByteArray) : Void;
private function get_domain() : String;
private function get_serverURL() : String;
private function get_token() : flash.utils.ByteArray;
private function set_domain(value : String) : String;
private function set_serverURL(value : String) : String;
private function set_token(value : flash.utils.ByteArray) : flash.utils.ByteArray;
static final AUTHENTICATION_COMPLETE : String;
}

View File

@ -0,0 +1,15 @@
package flash.events;
@:require(flash10_1) extern class DRMAuthenticationErrorEvent extends ErrorEvent {
@:flash.property var domain(get,set) : String;
@:flash.property var serverURL(get,set) : String;
@:flash.property var subErrorID(get,set) : Int;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inDetail : String, inErrorID : Int = 0, inSubErrorID : Int = 0, ?inServerURL : String, ?inDomain : String) : Void;
private function get_domain() : String;
private function get_serverURL() : String;
private function get_subErrorID() : Int;
private function set_domain(value : String) : String;
private function set_serverURL(value : String) : String;
private function set_subErrorID(value : Int) : Int;
static final AUTHENTICATION_ERROR : String;
}

View File

@ -0,0 +1,5 @@
package flash.events;
@:require(flash10_1) extern class DRMCustomProperties {
function new() : Void;
}

View File

@ -0,0 +1,17 @@
package flash.events;
extern class DRMDeviceGroupErrorEvent extends ErrorEvent {
@:flash.property var deviceGroup(get,set) : flash.net.drm.DRMDeviceGroup;
@:flash.property var drmUpdateNeeded(get,never) : Bool;
@:flash.property var subErrorID(get,set) : Int;
@:flash.property var systemUpdateNeeded(get,never) : Bool;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?errorDetail : String, errorCode : Int = 0, subErrorID : Int = 0, ?deviceGroup : flash.net.drm.DRMDeviceGroup, systemUpdateNeeded : Bool = false, drmUpdateNeeded : Bool = false) : Void;
private function get_deviceGroup() : flash.net.drm.DRMDeviceGroup;
private function get_drmUpdateNeeded() : Bool;
private function get_subErrorID() : Int;
private function get_systemUpdateNeeded() : Bool;
private function set_deviceGroup(value : flash.net.drm.DRMDeviceGroup) : flash.net.drm.DRMDeviceGroup;
private function set_subErrorID(value : Int) : Int;
static final ADD_TO_DEVICE_GROUP_ERROR : String;
static final REMOVE_FROM_DEVICE_GROUP_ERROR : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class DRMDeviceGroupEvent extends Event {
@:flash.property var deviceGroup(get,set) : flash.net.drm.DRMDeviceGroup;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?deviceGroup : flash.net.drm.DRMDeviceGroup) : Void;
private function get_deviceGroup() : flash.net.drm.DRMDeviceGroup;
private function set_deviceGroup(value : flash.net.drm.DRMDeviceGroup) : flash.net.drm.DRMDeviceGroup;
static final ADD_TO_DEVICE_GROUP_COMPLETE : String;
static final REMOVE_FROM_DEVICE_GROUP_COMPLETE : String;
}

View File

@ -0,0 +1,16 @@
package flash.events;
@:require(flash10_1) extern class DRMErrorEvent extends ErrorEvent {
@:flash.property var contentData(get,set) : flash.net.drm.DRMContentData;
@:flash.property var drmUpdateNeeded(get,never) : Bool;
@:flash.property var subErrorID(get,never) : Int;
@:flash.property var systemUpdateNeeded(get,never) : Bool;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inErrorDetail : String, inErrorCode : Int = 0, insubErrorID : Int = 0, ?inMetadata : flash.net.drm.DRMContentData, inSystemUpdateNeeded : Bool = false, inDrmUpdateNeeded : Bool = false) : Void;
private function get_contentData() : flash.net.drm.DRMContentData;
private function get_drmUpdateNeeded() : Bool;
private function get_subErrorID() : Int;
private function get_systemUpdateNeeded() : Bool;
private function set_contentData(value : flash.net.drm.DRMContentData) : flash.net.drm.DRMContentData;
static final DRM_ERROR : String;
static final DRM_LOAD_DEVICEID_ERROR : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern class DRMLicenseRequestEvent extends Event {
@:flash.property var serverURL(get,set) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inServerURL : String) : Void;
private function get_serverURL() : String;
private function set_serverURL(value : String) : String;
static final LICENSE_REQUEST : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class DRMMetadataEvent extends Event {
@:flash.property var drmMetadata(get,never) : flash.net.drm.DRMContentData;
@:flash.property var timestamp(get,never) : Float;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inMetadata : flash.utils.ByteArray, inTimestamp : Float = 0) : Void;
private function get_drmMetadata() : flash.net.drm.DRMContentData;
private function get_timestamp() : Float;
static final DRM_METADATA : String;
}

View File

@ -0,0 +1,18 @@
package flash.events;
extern class DRMReturnVoucherCompleteEvent extends Event {
@:flash.property var licenseID(get,set) : String;
@:flash.property var numberOfVouchersReturned(get,set) : Int;
@:flash.property var policyID(get,set) : String;
@:flash.property var serverURL(get,set) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inServerURL : String, ?inLicenseID : String, ?inPolicyID : String, inNumberOfVouchersReturned : Int = 0) : Void;
private function get_licenseID() : String;
private function get_numberOfVouchersReturned() : Int;
private function get_policyID() : String;
private function get_serverURL() : String;
private function set_licenseID(value : String) : String;
private function set_numberOfVouchersReturned(value : Int) : Int;
private function set_policyID(value : String) : String;
private function set_serverURL(value : String) : String;
static final RETURN_VOUCHER_COMPLETE : String;
}

View File

@ -0,0 +1,18 @@
package flash.events;
extern class DRMReturnVoucherErrorEvent extends ErrorEvent {
@:flash.property var licenseID(get,set) : String;
@:flash.property var policyID(get,set) : String;
@:flash.property var serverURL(get,set) : String;
@:flash.property var subErrorID(get,set) : Int;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?inDetail : String, inErrorID : Int = 0, inSubErrorID : Int = 0, ?inServerURL : String, ?inLicenseID : String, ?inPolicyID : String) : Void;
private function get_licenseID() : String;
private function get_policyID() : String;
private function get_serverURL() : String;
private function get_subErrorID() : Int;
private function set_licenseID(value : String) : String;
private function set_policyID(value : String) : String;
private function set_serverURL(value : String) : String;
private function set_subErrorID(value : Int) : Int;
static final RETURN_VOUCHER_ERROR : String;
}

View File

@ -0,0 +1,15 @@
package flash.events;
@:require(flash10_1) extern class DRMStatusEvent extends Event {
@:flash.property var contentData(get,set) : flash.net.drm.DRMContentData;
@:flash.property var isLocal(get,set) : Bool;
@:flash.property var voucher(get,set) : flash.net.drm.DRMVoucher;
function new(?type : String, bubbles : Bool = false, cancelable : Bool = false, ?inMetadata : flash.net.drm.DRMContentData, ?inVoucher : flash.net.drm.DRMVoucher, inLocal : Bool = false) : Void;
private function get_contentData() : flash.net.drm.DRMContentData;
private function get_isLocal() : Bool;
private function get_voucher() : flash.net.drm.DRMVoucher;
private function set_contentData(value : flash.net.drm.DRMContentData) : flash.net.drm.DRMContentData;
private function set_isLocal(value : Bool) : Bool;
private function set_voucher(value : flash.net.drm.DRMVoucher) : flash.net.drm.DRMVoucher;
static final DRM_STATUS : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class DataEvent extends TextEvent {
@:flash.property var data(get,set) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?data : String) : Void;
private function get_data() : String;
private function set_data(value : String) : String;
static final DATA : String;
static final UPLOAD_COMPLETE_DATA : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class ErrorEvent extends TextEvent {
@:flash.property @:require(flash10_1) var errorID(get,never) : Int;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
private function get_errorID() : Int;
static final ERROR : String;
}

View File

@ -0,0 +1,67 @@
package flash.events;
extern class Event {
@:flash.property var bubbles(get,never) : Bool;
@:flash.property var cancelable(get,never) : Bool;
@:flash.property var currentTarget(get,never) : Dynamic;
@:flash.property var eventPhase(get,never) : EventPhase;
@:flash.property var target(get,never) : Dynamic;
@:flash.property var type(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false) : Void;
function clone() : Event;
function formatToString(className : String, restArgs : haxe.extern.Rest<Dynamic>) : String;
private function get_bubbles() : Bool;
private function get_cancelable() : Bool;
private function get_currentTarget() : Dynamic;
private function get_eventPhase() : EventPhase;
private function get_target() : Dynamic;
private function get_type() : String;
function isDefaultPrevented() : Bool;
function preventDefault() : Void;
function stopImmediatePropagation() : Void;
function stopPropagation() : Void;
function toString() : String;
static final ACTIVATE : String;
static final ADDED : String;
static final ADDED_TO_STAGE : String;
static final BROWSER_ZOOM_CHANGE : String;
static final CANCEL : String;
static final CHANGE : String;
static final CHANNEL_MESSAGE : String;
static final CHANNEL_STATE : String;
@:require(flash10) static final CLEAR : String;
static final CLOSE : String;
static final COMPLETE : String;
static final CONNECT : String;
@:require(flash11) static final CONTEXT3D_CREATE : String;
@:require(flash10) static final COPY : String;
@:require(flash10) static final CUT : String;
static final DEACTIVATE : String;
static final ENTER_FRAME : String;
@:require(flash10) static final EXIT_FRAME : String;
@:require(flash10) static final FRAME_CONSTRUCTED : String;
@:require(flash11_3) static final FRAME_LABEL : String;
static final FULLSCREEN : String;
static final ID3 : String;
static final INIT : String;
static final MOUSE_LEAVE : String;
static final OPEN : String;
@:require(flash10) static final PASTE : String;
static final REMOVED : String;
static final REMOVED_FROM_STAGE : String;
static final RENDER : String;
static final RESIZE : String;
static final SCROLL : String;
static final SELECT : String;
@:require(flash10) static final SELECT_ALL : String;
static final SOUND_COMPLETE : String;
@:require(flash11_3) static final SUSPEND : String;
static final TAB_CHILDREN_CHANGE : String;
static final TAB_ENABLED_CHANGE : String;
static final TAB_INDEX_CHANGE : String;
@:require(flash11_3) static final TEXTURE_READY : String;
@:require(flash11) static final TEXT_INTERACTION_MODE_CHANGE : String;
static final UNLOAD : String;
static final VIDEO_FRAME : String;
static final WORKER_STATE : String;
}

View File

@ -0,0 +1,11 @@
package flash.events;
extern class EventDispatcher implements IEventDispatcher {
function new(?target : IEventDispatcher) : Void;
function addEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false, priority : Int = 0, useWeakReference : Bool = false) : Void;
function dispatchEvent(event : Event) : Bool;
function hasEventListener(type : String) : Bool;
function removeEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false) : Void;
function toString() : String;
function willTrigger(type : String) : Bool;
}

View File

@ -0,0 +1,7 @@
package flash.events;
@:native("flash.events.EventPhase") extern enum abstract EventPhase(UInt) {
var AT_TARGET;
var BUBBLING_PHASE;
var CAPTURING_PHASE;
}

View File

@ -0,0 +1,21 @@
package flash.events;
extern class FocusEvent extends Event {
@:flash.property @:require(flash10) var isRelatedObjectInaccessible(get,set) : Bool;
@:flash.property var keyCode(get,set) : UInt;
@:flash.property var relatedObject(get,set) : flash.display.InteractiveObject;
@:flash.property var shiftKey(get,set) : Bool;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?relatedObject : flash.display.InteractiveObject, shiftKey : Bool = false, keyCode : UInt = 0) : Void;
private function get_isRelatedObjectInaccessible() : Bool;
private function get_keyCode() : UInt;
private function get_relatedObject() : flash.display.InteractiveObject;
private function get_shiftKey() : Bool;
private function set_isRelatedObjectInaccessible(value : Bool) : Bool;
private function set_keyCode(value : UInt) : UInt;
private function set_relatedObject(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
private function set_shiftKey(value : Bool) : Bool;
static final FOCUS_IN : String;
static final FOCUS_OUT : String;
static final KEY_FOCUS_CHANGE : String;
static final MOUSE_FOCUS_CHANGE : String;
}

View File

@ -0,0 +1,11 @@
package flash.events;
extern class FullScreenEvent extends ActivityEvent {
@:flash.property var fullScreen(get,never) : Bool;
@:flash.property @:require(flash11_3) var interactive(get,never) : Bool;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, fullScreen : Bool = false, interactive : Bool = false) : Void;
private function get_fullScreen() : Bool;
private function get_interactive() : Bool;
static final FULL_SCREEN : String;
@:require(flash11_3) static final FULL_SCREEN_INTERACTIVE_ACCEPTED : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
@:require(flash11_8) extern final class GameInputEvent extends Event {
@:flash.property var device(get,never) : flash.ui.GameInputDevice;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?device : flash.ui.GameInputDevice) : Void;
private function get_device() : flash.ui.GameInputDevice;
static final DEVICE_ADDED : String;
static final DEVICE_REMOVED : String;
static final DEVICE_UNUSABLE : String;
}

View File

@ -0,0 +1,30 @@
package flash.events;
@:require(flash10_1) extern class GeolocationEvent extends Event {
@:flash.property var altitude(get,set) : Float;
@:flash.property var heading(get,set) : Float;
@:flash.property var horizontalAccuracy(get,set) : Float;
@:flash.property var latitude(get,set) : Float;
@:flash.property var longitude(get,set) : Float;
@:flash.property var speed(get,set) : Float;
@:flash.property var timestamp(get,set) : Float;
@:flash.property var verticalAccuracy(get,set) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, latitude : Float = 0, longitude : Float = 0, altitude : Float = 0, hAccuracy : Float = 0, vAccuracy : Float = 0, speed : Float = 0, heading : Float = 0, timestamp : Float = 0) : Void;
private function get_altitude() : Float;
private function get_heading() : Float;
private function get_horizontalAccuracy() : Float;
private function get_latitude() : Float;
private function get_longitude() : Float;
private function get_speed() : Float;
private function get_timestamp() : Float;
private function get_verticalAccuracy() : Float;
private function set_altitude(value : Float) : Float;
private function set_heading(value : Float) : Float;
private function set_horizontalAccuracy(value : Float) : Float;
private function set_latitude(value : Float) : Float;
private function set_longitude(value : Float) : Float;
private function set_speed(value : Float) : Float;
private function set_timestamp(value : Float) : Float;
private function set_verticalAccuracy(value : Float) : Float;
static final UPDATE : String;
}

View File

@ -0,0 +1,29 @@
package flash.events;
@:require(flash10_1) extern class GestureEvent extends Event {
@:flash.property var altKey(get,set) : Bool;
@:flash.property var ctrlKey(get,set) : Bool;
@:flash.property var localX(get,set) : Float;
@:flash.property var localY(get,set) : Float;
@:flash.property var phase(get,set) : String;
@:flash.property var shiftKey(get,set) : Bool;
@:flash.property var stageX(get,never) : Float;
@:flash.property var stageY(get,never) : Float;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
private function get_altKey() : Bool;
private function get_ctrlKey() : Bool;
private function get_localX() : Float;
private function get_localY() : Float;
private function get_phase() : String;
private function get_shiftKey() : Bool;
private function get_stageX() : Float;
private function get_stageY() : Float;
private function set_altKey(value : Bool) : Bool;
private function set_ctrlKey(value : Bool) : Bool;
private function set_localX(value : Float) : Float;
private function set_localY(value : Float) : Float;
private function set_phase(value : String) : String;
private function set_shiftKey(value : Bool) : Bool;
function updateAfterEvent() : Void;
static final GESTURE_TWO_FINGER_TAP : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
@:native("flash.events.GesturePhase") @:require(flash10_1) extern enum abstract GesturePhase(String) {
var ALL;
var BEGIN;
var END;
var UPDATE;
}

View File

@ -0,0 +1,18 @@
package flash.events;
extern class HTTPStatusEvent extends Event {
@:flash.property var redirected(get,set) : Bool;
@:flash.property @:require(flash10_1) var responseHeaders(get,set) : Array<Dynamic>;
@:flash.property @:require(flash10_1) var responseURL(get,set) : String;
@:flash.property var status(get,never) : Int;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, status : Int = 0, redirected : Bool = false) : Void;
private function get_redirected() : Bool;
private function get_responseHeaders() : Array<Dynamic>;
private function get_responseURL() : String;
private function get_status() : Int;
private function set_redirected(value : Bool) : Bool;
private function set_responseHeaders(value : Array<Dynamic>) : Array<Dynamic>;
private function set_responseURL(value : String) : String;
@:require(flash10_1) static final HTTP_RESPONSE_STATUS : String;
static final HTTP_STATUS : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern interface IEventDispatcher {
function addEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false, priority : Int = 0, useWeakReference : Bool = false) : Void;
function dispatchEvent(event : Event) : Bool;
function hasEventListener(type : String) : Bool;
function removeEventListener(type : String, listener : Dynamic -> Void, useCapture : Bool = false) : Void;
function willTrigger(type : String) : Bool;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class IMEEvent extends TextEvent {
@:flash.property @:require(flash10_1) var imeClient(get,set) : flash.text.ime.IIMEClient;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, ?imeClient : flash.text.ime.IIMEClient) : Void;
private function get_imeClient() : flash.text.ime.IIMEClient;
private function set_imeClient(value : flash.text.ime.IIMEClient) : flash.text.ime.IIMEClient;
static final IME_COMPOSITION : String;
@:require(flash10_1) static final IME_START_COMPOSITION : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern class IOErrorEvent extends ErrorEvent {
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
static final DISK_ERROR : String;
static final IO_ERROR : String;
static final NETWORK_ERROR : String;
static final VERIFY_ERROR : String;
}

View File

@ -0,0 +1,26 @@
package flash.events;
extern class KeyboardEvent extends Event {
@:flash.property var altKey(get,set) : Bool;
@:flash.property var charCode(get,set) : UInt;
@:flash.property var ctrlKey(get,set) : Bool;
@:flash.property var keyCode(get,set) : UInt;
@:flash.property var keyLocation(get,set) : flash.ui.KeyLocation;
@:flash.property var shiftKey(get,set) : Bool;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, charCodeValue : UInt = 0, keyCodeValue : UInt = 0, keyLocationValue : flash.ui.KeyLocation = flash.ui.KeyLocation.D_PAD, ctrlKeyValue : Bool = false, altKeyValue : Bool = false, shiftKeyValue : Bool = false) : Void;
private function get_altKey() : Bool;
private function get_charCode() : UInt;
private function get_ctrlKey() : Bool;
private function get_keyCode() : UInt;
private function get_keyLocation() : flash.ui.KeyLocation;
private function get_shiftKey() : Bool;
private function set_altKey(value : Bool) : Bool;
private function set_charCode(value : UInt) : UInt;
private function set_ctrlKey(value : Bool) : Bool;
private function set_keyCode(value : UInt) : UInt;
private function set_keyLocation(value : flash.ui.KeyLocation) : flash.ui.KeyLocation;
private function set_shiftKey(value : Bool) : Bool;
function updateAfterEvent() : Void;
static final KEY_DOWN : String;
static final KEY_UP : String;
}

View File

@ -0,0 +1,61 @@
package flash.events;
extern class MouseEvent extends Event {
@:flash.property var altKey(get,set) : Bool;
@:flash.property var buttonDown(get,set) : Bool;
@:flash.property var ctrlKey(get,set) : Bool;
@:flash.property var delta(get,set) : Int;
@:flash.property @:require(flash10) var isRelatedObjectInaccessible(get,set) : Bool;
@:flash.property var localX(get,set) : Float;
@:flash.property var localY(get,set) : Float;
@:flash.property @:require(flash11_2) var movementX(get,set) : Float;
@:flash.property @:require(flash11_2) var movementY(get,set) : Float;
@:flash.property var relatedObject(get,set) : flash.display.InteractiveObject;
@:flash.property var shiftKey(get,set) : Bool;
@:flash.property var stageX(get,never) : Float;
@:flash.property var stageY(get,never) : Float;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, localX : Null<Float> = 0, localY : Null<Float> = 0, ?relatedObject : flash.display.InteractiveObject, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false, buttonDown : Bool = false, delta : Int = 0) : Void;
private function get_altKey() : Bool;
private function get_buttonDown() : Bool;
private function get_ctrlKey() : Bool;
private function get_delta() : Int;
private function get_isRelatedObjectInaccessible() : Bool;
private function get_localX() : Float;
private function get_localY() : Float;
private function get_movementX() : Float;
private function get_movementY() : Float;
private function get_relatedObject() : flash.display.InteractiveObject;
private function get_shiftKey() : Bool;
private function get_stageX() : Float;
private function get_stageY() : Float;
private function set_altKey(value : Bool) : Bool;
private function set_buttonDown(value : Bool) : Bool;
private function set_ctrlKey(value : Bool) : Bool;
private function set_delta(value : Int) : Int;
private function set_isRelatedObjectInaccessible(value : Bool) : Bool;
private function set_localX(value : Float) : Float;
private function set_localY(value : Float) : Float;
private function set_movementX(value : Float) : Float;
private function set_movementY(value : Float) : Float;
private function set_relatedObject(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
private function set_shiftKey(value : Bool) : Bool;
function updateAfterEvent() : Void;
static final CLICK : String;
@:require(flash11_2) static final CONTEXT_MENU : String;
static final DOUBLE_CLICK : String;
@:require(flash11_2) static final MIDDLE_CLICK : String;
@:require(flash11_2) static final MIDDLE_MOUSE_DOWN : String;
@:require(flash11_2) static final MIDDLE_MOUSE_UP : String;
static final MOUSE_DOWN : String;
static final MOUSE_MOVE : String;
static final MOUSE_OUT : String;
static final MOUSE_OVER : String;
static final MOUSE_UP : String;
static final MOUSE_WHEEL : String;
@:require(flash11_3) static final RELEASE_OUTSIDE : String;
@:require(flash11_2) static final RIGHT_CLICK : String;
@:require(flash11_2) static final RIGHT_MOUSE_DOWN : String;
@:require(flash11_2) static final RIGHT_MOUSE_UP : String;
static final ROLL_OUT : String;
static final ROLL_OVER : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class NetDataEvent extends Event {
@:flash.property var info(get,never) : Dynamic;
@:flash.property var timestamp(get,never) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, timestamp : Float = 0, ?info : Dynamic) : Void;
private function get_info() : Dynamic;
private function get_timestamp() : Float;
static final MEDIA_TYPE_DATA : String;
}

View File

@ -0,0 +1,7 @@
package flash.events;
extern class NetFilterEvent extends Event {
var data : flash.utils.ByteArray;
var header : flash.utils.ByteArray;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?header : flash.utils.ByteArray, ?data : flash.utils.ByteArray) : Void;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class NetMonitorEvent extends Event {
@:flash.property var netStream(get,never) : flash.net.NetStream;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?netStream : flash.net.NetStream) : Void;
private function get_netStream() : flash.net.NetStream;
static final NET_STREAM_CREATE : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern class NetStatusEvent extends Event {
@:flash.property var info(get,set) : Dynamic;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?info : Dynamic) : Void;
private function get_info() : Dynamic;
private function set_info(value : Dynamic) : Dynamic;
static final NET_STATUS : String;
}

View File

@ -0,0 +1,12 @@
package flash.events;
extern class OutputProgressEvent extends Event {
@:flash.property var bytesPending(get,set) : Float;
@:flash.property var bytesTotal(get,set) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, bytesPending : Float = 0, bytesTotal : Float = 0) : Void;
private function get_bytesPending() : Float;
private function get_bytesTotal() : Float;
private function set_bytesPending(value : Float) : Float;
private function set_bytesTotal(value : Float) : Float;
static final OUTPUT_PROGRESS : String;
}

View File

@ -0,0 +1,16 @@
package flash.events;
@:require(flash10_1) extern class PressAndTapGestureEvent extends GestureEvent {
@:flash.property var tapLocalX(get,set) : Float;
@:flash.property var tapLocalY(get,set) : Float;
@:flash.property var tapStageX(get,never) : Float;
@:flash.property var tapStageY(get,never) : Float;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, tapLocalX : Float = 0, tapLocalY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
private function get_tapLocalX() : Float;
private function get_tapLocalY() : Float;
private function get_tapStageX() : Float;
private function get_tapStageY() : Float;
private function set_tapLocalX(value : Float) : Float;
private function set_tapLocalY(value : Float) : Float;
static final GESTURE_PRESS_AND_TAP : String;
}

View File

@ -0,0 +1,13 @@
package flash.events;
extern class ProgressEvent extends Event {
@:flash.property var bytesLoaded(get,set) : Float;
@:flash.property var bytesTotal(get,set) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, bytesLoaded : Float = 0, bytesTotal : Float = 0) : Void;
private function get_bytesLoaded() : Float;
private function get_bytesTotal() : Float;
private function set_bytesLoaded(value : Float) : Float;
private function set_bytesTotal(value : Float) : Float;
static final PROGRESS : String;
static final SOCKET_DATA : String;
}

View File

@ -0,0 +1,12 @@
package flash.events;
extern class SampleDataEvent extends Event {
@:flash.property var data(get,set) : flash.utils.ByteArray;
@:flash.property var position(get,set) : Float;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, theposition : Float = 0, ?thedata : flash.utils.ByteArray) : Void;
private function get_data() : flash.utils.ByteArray;
private function get_position() : Float;
private function set_data(value : flash.utils.ByteArray) : flash.utils.ByteArray;
private function set_position(value : Float) : Float;
static final SAMPLE_DATA : String;
}

View File

@ -0,0 +1,6 @@
package flash.events;
extern class SecurityErrorEvent extends ErrorEvent {
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String, id : Int = 0) : Void;
static final SECURITY_ERROR : String;
}

View File

@ -0,0 +1,15 @@
package flash.events;
extern class ShaderEvent extends Event {
@:flash.property var bitmapData(get,set) : flash.display.BitmapData;
@:flash.property var byteArray(get,set) : flash.utils.ByteArray;
@:flash.property var vector(get,set) : flash.Vector<Float>;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?bitmap : flash.display.BitmapData, ?array : flash.utils.ByteArray, ?vector : flash.Vector<Float>) : Void;
private function get_bitmapData() : flash.display.BitmapData;
private function get_byteArray() : flash.utils.ByteArray;
private function get_vector() : flash.Vector<Float>;
private function set_bitmapData(value : flash.display.BitmapData) : flash.display.BitmapData;
private function set_byteArray(value : flash.utils.ByteArray) : flash.utils.ByteArray;
private function set_vector(value : flash.Vector<Float>) : flash.Vector<Float>;
static final COMPLETE : String;
}

View File

@ -0,0 +1,13 @@
package flash.events;
extern class SoftKeyboardEvent extends Event {
@:flash.property var relatedObject(get,set) : flash.display.InteractiveObject;
@:flash.property var triggerType(get,never) : String;
function new(type : String, bubbles : Bool, cancelable : Bool, relatedObjectVal : flash.display.InteractiveObject, triggerTypeVal : String) : Void;
private function get_relatedObject() : flash.display.InteractiveObject;
private function get_triggerType() : String;
private function set_relatedObject(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
static final SOFT_KEYBOARD_ACTIVATE : String;
static final SOFT_KEYBOARD_ACTIVATING : String;
static final SOFT_KEYBOARD_DEACTIVATE : String;
}

View File

@ -0,0 +1,7 @@
package flash.events;
extern class SoftKeyboardTrigger {
function new() : Void;
static final CONTENT_TRIGGERED : String;
static final USER_TRIGGERED : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class StageVideoAvailabilityEvent extends Event {
@:flash.property var availability(get,never) : String;
final driver : String;
final reason : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?availability : String) : Void;
private function get_availability() : String;
static final STAGE_VIDEO_AVAILABILITY : String;
}

View File

@ -0,0 +1,14 @@
package flash.events;
@:require(flash10_2) extern class StageVideoEvent extends Event {
final codecInfo : String;
@:flash.property var colorSpace(get,never) : String;
@:flash.property var status(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?status : String, ?colorSpace : String) : Void;
private function get_colorSpace() : String;
private function get_status() : String;
static final RENDER_STATE : String;
static final RENDER_STATUS_ACCELERATED : String;
static final RENDER_STATUS_SOFTWARE : String;
static final RENDER_STATUS_UNAVAILABLE : String;
}

View File

@ -0,0 +1,12 @@
package flash.events;
extern class StatusEvent extends Event {
@:flash.property var code(get,set) : String;
@:flash.property var level(get,set) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?code : String, ?level : String) : Void;
private function get_code() : String;
private function get_level() : String;
private function set_code(value : String) : String;
private function set_level(value : String) : String;
static final STATUS : String;
}

View File

@ -0,0 +1,9 @@
package flash.events;
extern class SyncEvent extends Event {
@:flash.property var changeList(get,set) : Array<Dynamic>;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?changeList : Array<Dynamic>) : Void;
private function get_changeList() : Array<Dynamic>;
private function set_changeList(value : Array<Dynamic>) : Array<Dynamic>;
static final SYNC : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
extern class TextEvent extends Event {
@:flash.property var text(get,set) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?text : String) : Void;
private function get_text() : String;
private function set_text(value : String) : String;
static final LINK : String;
static final TEXT_INPUT : String;
}

View File

@ -0,0 +1,10 @@
package flash.events;
@:require(flash11_2) extern class ThrottleEvent extends Event {
@:flash.property var state(get,never) : String;
@:flash.property var targetFrameRate(get,never) : Float;
function new(type : ThrottleType, bubbles : Bool = false, cancelable : Bool = false, ?state : String, targetFrameRate : Float = 0) : Void;
private function get_state() : String;
private function get_targetFrameRate() : Float;
static final THROTTLE : String;
}

View File

@ -0,0 +1,7 @@
package flash.events;
@:native("flash.events.ThrottleType") extern enum abstract ThrottleType(String) {
var PAUSE;
var RESUME;
var THROTTLE;
}

View File

@ -0,0 +1,8 @@
package flash.events;
extern class TimerEvent extends Event {
function new(type : String, bubbles : Bool = false, cancelable : Bool = false) : Void;
function updateAfterEvent() : Void;
static final TIMER : String;
static final TIMER_COMPLETE : String;
}

View File

@ -0,0 +1,61 @@
package flash.events;
@:require(flash10_1) extern class TouchEvent extends Event {
@:flash.property var altKey(get,set) : Bool;
@:flash.property var ctrlKey(get,set) : Bool;
@:flash.property var isPrimaryTouchPoint(get,set) : Bool;
@:flash.property var isRelatedObjectInaccessible(get,set) : Bool;
@:flash.property var localX(get,set) : Float;
@:flash.property var localY(get,set) : Float;
@:flash.property var pressure(get,set) : Float;
@:flash.property var relatedObject(get,set) : flash.display.InteractiveObject;
@:flash.property var shiftKey(get,set) : Bool;
@:flash.property var sizeX(get,set) : Float;
@:flash.property var sizeY(get,set) : Float;
@:flash.property var stageX(get,never) : Float;
@:flash.property var stageY(get,never) : Float;
@:flash.property var touchPointID(get,set) : Int;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, touchPointID : Int = 0, isPrimaryTouchPoint : Bool = false, localX : Float = 0./*NaN*/, localY : Float = 0./*NaN*/, sizeX : Float = 0./*NaN*/, sizeY : Float = 0./*NaN*/, pressure : Float = 0./*NaN*/, ?relatedObject : flash.display.InteractiveObject, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
private function get_altKey() : Bool;
private function get_ctrlKey() : Bool;
private function get_isPrimaryTouchPoint() : Bool;
private function get_isRelatedObjectInaccessible() : Bool;
private function get_localX() : Float;
private function get_localY() : Float;
private function get_pressure() : Float;
private function get_relatedObject() : flash.display.InteractiveObject;
private function get_shiftKey() : Bool;
private function get_sizeX() : Float;
private function get_sizeY() : Float;
private function get_stageX() : Float;
private function get_stageY() : Float;
private function get_touchPointID() : Int;
private function set_altKey(value : Bool) : Bool;
private function set_ctrlKey(value : Bool) : Bool;
private function set_isPrimaryTouchPoint(value : Bool) : Bool;
private function set_isRelatedObjectInaccessible(value : Bool) : Bool;
private function set_localX(value : Float) : Float;
private function set_localY(value : Float) : Float;
private function set_pressure(value : Float) : Float;
private function set_relatedObject(value : flash.display.InteractiveObject) : flash.display.InteractiveObject;
private function set_shiftKey(value : Bool) : Bool;
private function set_sizeX(value : Float) : Float;
private function set_sizeY(value : Float) : Float;
private function set_touchPointID(value : Int) : Int;
function updateAfterEvent() : Void;
static final PROXIMITY_BEGIN : String;
static final PROXIMITY_END : String;
static final PROXIMITY_MOVE : String;
static final PROXIMITY_OUT : String;
static final PROXIMITY_OVER : String;
static final PROXIMITY_ROLL_OUT : String;
static final PROXIMITY_ROLL_OVER : String;
static final TOUCH_BEGIN : String;
static final TOUCH_END : String;
static final TOUCH_MOVE : String;
static final TOUCH_OUT : String;
static final TOUCH_OVER : String;
static final TOUCH_ROLL_OUT : String;
static final TOUCH_ROLL_OVER : String;
static final TOUCH_TAP : String;
}

View File

@ -0,0 +1,28 @@
package flash.events;
@:require(flash10_1) extern class TransformGestureEvent extends GestureEvent {
@:flash.property var offsetX(get,set) : Float;
@:flash.property var offsetY(get,set) : Float;
@:flash.property var rotation(get,set) : Float;
@:flash.property var scaleX(get,set) : Float;
@:flash.property var scaleY(get,set) : Float;
@:flash.property var velocity(get,set) : Float;
function new(type : String, bubbles : Bool = true, cancelable : Bool = false, ?phase : String, localX : Float = 0, localY : Float = 0, scaleX : Float = 1, scaleY : Float = 1, rotation : Float = 0, offsetX : Float = 0, offsetY : Float = 0, ctrlKey : Bool = false, altKey : Bool = false, shiftKey : Bool = false) : Void;
private function get_offsetX() : Float;
private function get_offsetY() : Float;
private function get_rotation() : Float;
private function get_scaleX() : Float;
private function get_scaleY() : Float;
private function get_velocity() : Float;
private function set_offsetX(value : Float) : Float;
private function set_offsetY(value : Float) : Float;
private function set_rotation(value : Float) : Float;
private function set_scaleX(value : Float) : Float;
private function set_scaleY(value : Float) : Float;
private function set_velocity(value : Float) : Float;
static final GESTURE_DIRECTIONAL_TAP : String;
static final GESTURE_PAN : String;
static final GESTURE_ROTATE : String;
static final GESTURE_SWIPE : String;
static final GESTURE_ZOOM : String;
}

View File

@ -0,0 +1,8 @@
package flash.events;
@:require(flash10_1) extern class UncaughtErrorEvent extends ErrorEvent {
@:flash.property var error(get,never) : Dynamic;
function new(?type : String, bubbles : Bool = true, cancelable : Bool = true, ?error_in : Dynamic) : Void;
private function get_error() : Dynamic;
static final UNCAUGHT_ERROR : String;
}

View File

@ -0,0 +1,5 @@
package flash.events;
@:require(flash10_1) extern class UncaughtErrorEvents extends EventDispatcher {
function new() : Void;
}

View File

@ -0,0 +1,12 @@
package flash.events;
@:require(flash10_2) extern class VideoEvent extends Event {
final codecInfo : String;
@:flash.property var status(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?status : String) : Void;
private function get_status() : String;
static final RENDER_STATE : String;
static final RENDER_STATUS_ACCELERATED : String;
static final RENDER_STATUS_SOFTWARE : String;
static final RENDER_STATUS_UNAVAILABLE : String;
}

View File

@ -0,0 +1,11 @@
package flash.events;
extern class VideoTextureEvent extends Event {
final codecInfo : String;
@:flash.property var colorSpace(get,never) : String;
@:flash.property var status(get,never) : String;
function new(type : String, bubbles : Bool = false, cancelable : Bool = false, ?status : String, ?colorSpace : String) : Void;
private function get_colorSpace() : String;
private function get_status() : String;
static final RENDER_STATE : String;
}

View File

@ -0,0 +1,4 @@
package flash.events;
extern class WeakFunctionClosure {
}

View File

@ -0,0 +1,5 @@
package flash.events;
extern class WeakMethodClosure {
function new() : Void;
}