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,17 @@
package flash.system;
extern final class ApplicationDomain {
@:flash.property @:require(flash10) var domainMemory(get,set) : flash.utils.ByteArray;
@:flash.property var parentDomain(get,never) : ApplicationDomain;
function new(?parentDomain : ApplicationDomain) : Void;
function getDefinition(name : String) : flash.utils.Object;
@:require(flash11_3) function getQualifiedDefinitionNames() : flash.Vector<String>;
private function get_domainMemory() : flash.utils.ByteArray;
private function get_parentDomain() : ApplicationDomain;
function hasDefinition(name : String) : Bool;
private function set_domainMemory(value : flash.utils.ByteArray) : flash.utils.ByteArray;
@:flash.property @:require(flash10) static var MIN_DOMAIN_MEMORY_LENGTH(get,never) : UInt;
@:flash.property static var currentDomain(get,never) : ApplicationDomain;
private static function get_MIN_DOMAIN_MEMORY_LENGTH() : UInt;
private static function get_currentDomain() : ApplicationDomain;
}

View File

@ -0,0 +1,10 @@
package flash.system;
@:require(flash11_3) extern final class ApplicationInstaller extends flash.events.EventDispatcher {
@:flash.property var isInstalled(get,never) : Bool;
function new() : Void;
private function get_isInstalled() : Bool;
function install(?mode : String) : Void;
static function iconDigest(icon : flash.utils.ByteArray) : String;
static function stringsDigest(strings : flash.xml.XML) : String;
}

View File

@ -0,0 +1,7 @@
package flash.system;
@:native("flash.system.ApplicationInstallerMode") extern enum abstract ApplicationInstallerMode(String) {
var INSTALL_ONLY;
var INSTALL_WITH_SHORTCUTS;
var SHORTCUTS_ONLY;
}

View File

@ -0,0 +1,14 @@
package flash.system;
@:require(flash11_3) extern final class AuthorizedFeatures {
function new() : Void;
function createApplicationInstaller(strings : flash.xml.XML, icon : flash.utils.ByteArray) : ApplicationInstaller;
function enableAVLoader(loader : flash.display.AVLoader) : Bool;
function enableAVURLLoader(loader : flash.media.AVURLLoader) : Bool;
function enableAVURLStream(stream : flash.media.AVURLStream) : Bool;
@:require(flash11_4) function enableDiskCache(stream : flash.net.URLStream) : Bool;
@:require(flash11_7) function enableHLSPlayback(stream : flash.media.AVStream) : Bool;
function enableMediaPlayerHLSPlayback(player : Dynamic) : Bool;
@:ns("flash.system",internal) @:require(flash11_4) function isFeatureEnabled(feature : String, ?data : String) : Bool;
@:ns("flash.system",internal) @:require(flash11_4) function isNegativeToken() : Bool;
}

View File

@ -0,0 +1,10 @@
package flash.system;
@:require(flash11_3) extern final class AuthorizedFeaturesLoader extends flash.events.EventDispatcher {
@:flash.property var authorizedFeatures(get,never) : AuthorizedFeatures;
function new() : Void;
private function get_authorizedFeatures() : AuthorizedFeatures;
function loadAuthorizedFeatures() : Void;
@:require(flash11_7) function loadAuthorizedFeaturesFromData(data : flash.utils.ByteArray) : Void;
@:ns("flash.system",internal) @:require(flash11_4) function makeGlobal() : Void;
}

View File

@ -0,0 +1,75 @@
package flash.system;
extern class Capabilities {
@:flash.property static var _internal(get,never) : UInt;
@:flash.property static var avHardwareDisable(get,never) : Bool;
@:flash.property static var cpuAddressSize(get,never) : Float;
@:flash.property @:require(flash10_1) static var cpuArchitecture(get,never) : String;
@:flash.property static var hasAccessibility(get,never) : Bool;
@:flash.property static var hasAudio(get,never) : Bool;
@:flash.property static var hasAudioEncoder(get,never) : Bool;
@:flash.property static var hasEmbeddedVideo(get,never) : Bool;
@:flash.property static var hasIME(get,never) : Bool;
@:flash.property static var hasMP3(get,never) : Bool;
@:flash.property static var hasPrinting(get,never) : Bool;
@:flash.property static var hasScreenBroadcast(get,never) : Bool;
@:flash.property static var hasScreenPlayback(get,never) : Bool;
@:flash.property static var hasStreamingAudio(get,never) : Bool;
@:flash.property static var hasStreamingVideo(get,never) : Bool;
@:flash.property static var hasTLS(get,never) : Bool;
@:flash.property static var hasVideoEncoder(get,never) : Bool;
@:flash.property static var isDebugger(get,never) : Bool;
@:flash.property @:require(flash10) static var isEmbeddedInAcrobat(get,never) : Bool;
@:flash.property static var language(get,never) : String;
@:flash.property static var localFileReadDisable(get,never) : Bool;
@:flash.property static var manufacturer(get,never) : String;
@:flash.property @:require(flash10) static var maxLevelIDC(get,never) : String;
@:flash.property static var os(get,never) : String;
@:flash.property static var pixelAspectRatio(get,never) : Float;
@:flash.property static var playerType(get,never) : String;
@:flash.property static var screenColor(get,never) : String;
@:flash.property static var screenDPI(get,never) : Float;
@:flash.property static var screenResolutionX(get,never) : Float;
@:flash.property static var screenResolutionY(get,never) : Float;
@:flash.property static var serverString(get,never) : String;
@:flash.property @:require(flash10_1) static var supports32BitProcesses(get,never) : Bool;
@:flash.property @:require(flash10_1) static var supports64BitProcesses(get,never) : Bool;
@:flash.property @:require(flash10_1) static var touchscreenType(get,never) : TouchscreenType;
@:flash.property static var version(get,never) : String;
private static function get__internal() : UInt;
private static function get_avHardwareDisable() : Bool;
private static function get_cpuAddressSize() : Float;
private static function get_cpuArchitecture() : String;
private static function get_hasAccessibility() : Bool;
private static function get_hasAudio() : Bool;
private static function get_hasAudioEncoder() : Bool;
private static function get_hasEmbeddedVideo() : Bool;
private static function get_hasIME() : Bool;
private static function get_hasMP3() : Bool;
private static function get_hasPrinting() : Bool;
private static function get_hasScreenBroadcast() : Bool;
private static function get_hasScreenPlayback() : Bool;
private static function get_hasStreamingAudio() : Bool;
private static function get_hasStreamingVideo() : Bool;
private static function get_hasTLS() : Bool;
private static function get_hasVideoEncoder() : Bool;
private static function get_isDebugger() : Bool;
private static function get_isEmbeddedInAcrobat() : Bool;
private static function get_language() : String;
private static function get_localFileReadDisable() : Bool;
private static function get_manufacturer() : String;
private static function get_maxLevelIDC() : String;
private static function get_os() : String;
private static function get_pixelAspectRatio() : Float;
private static function get_playerType() : String;
private static function get_screenColor() : String;
private static function get_screenDPI() : Float;
private static function get_screenResolutionX() : Float;
private static function get_screenResolutionY() : Float;
private static function get_serverString() : String;
private static function get_supports32BitProcesses() : Bool;
private static function get_supports64BitProcesses() : Bool;
private static function get_touchscreenType() : TouchscreenType;
private static function get_version() : String;
@:require(flash11) static function hasMultiChannelAudio(type : String) : Bool;
}

View File

@ -0,0 +1,9 @@
package flash.system;
extern final class ConnexionsClient {
function new() : Void;
function Connexions() : Dynamic;
function _init(topLocation : String, documentReferrer : String, windowLocation : String, movie : String, userAgent : String, timeout : UInt) : Void;
function autoAdd(port : Int) : Dynamic;
function manualAdd(port : Int) : Dynamic;
}

View File

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

View File

@ -0,0 +1,5 @@
package flash.system;
extern class FSCommand {
static function _fscommand(command : String, args : String) : Void;
}

View File

@ -0,0 +1,16 @@
package flash.system;
extern class IME extends flash.events.EventDispatcher {
@:flash.property static var conversionMode(get,set) : IMEConversionMode;
@:flash.property static var enabled(get,set) : Bool;
@:flash.property @:require(flash10_1) static var isSupported(get,never) : Bool;
@:require(flash10_1) static function compositionAbandoned() : Void;
@:require(flash10_1) static function compositionSelectionChanged(start : Int, end : Int) : Void;
static function doConversion() : Void;
private static function get_conversionMode() : IMEConversionMode;
private static function get_enabled() : Bool;
private static function get_isSupported() : Bool;
static function setCompositionString(composition : String) : Void;
private static function set_conversionMode(value : IMEConversionMode) : IMEConversionMode;
private static function set_enabled(value : Bool) : Bool;
}

View File

@ -0,0 +1,12 @@
package flash.system;
@:native("flash.system.IMEConversionMode") extern enum abstract IMEConversionMode(String) {
var ALPHANUMERIC_FULL;
var ALPHANUMERIC_HALF;
var CHINESE;
var JAPANESE_HIRAGANA;
var JAPANESE_KATAKANA_FULL;
var JAPANESE_KATAKANA_HALF;
var KOREAN;
var UNKNOWN;
}

View File

@ -0,0 +1,6 @@
package flash.system;
@:native("flash.system.ImageDecodingPolicy") extern enum abstract ImageDecodingPolicy(String) {
var ON_DEMAND;
var ON_LOAD;
}

View File

@ -0,0 +1,6 @@
package flash.system;
@:require(flash10) extern class JPEGLoaderContext extends LoaderContext {
var deblockingFilter : Float;
function new(deblockingFilter : Float = 0, checkPolicyFile : Bool = false, ?applicationDomain : ApplicationDomain, ?securityDomain : SecurityDomain) : Void;
}

View File

@ -0,0 +1,15 @@
package flash.system;
extern class LoaderContext {
@:require(flash10_1) var allowCodeImport : Bool;
@:flash.property @:require(flash10_1) var allowLoadBytesCodeExecution(get,set) : Bool;
var applicationDomain : ApplicationDomain;
var checkPolicyFile : Bool;
@:require(flash11) var imageDecodingPolicy : ImageDecodingPolicy;
@:require(flash11) var parameters : Dynamic;
@:require(flash11) var requestedContentParent : flash.display.DisplayObjectContainer;
var securityDomain : SecurityDomain;
function new(checkPolicyFile : Bool = false, ?applicationDomain : ApplicationDomain, ?securityDomain : SecurityDomain) : Void;
private function get_allowLoadBytesCodeExecution() : Bool;
private function set_allowLoadBytesCodeExecution(value : Bool) : Bool;
}

View File

@ -0,0 +1,11 @@
package flash.system;
@:require(flash11_4) extern final class MessageChannel extends flash.events.EventDispatcher {
@:flash.property var messageAvailable(get,never) : Bool;
@:flash.property var state(get,never) : MessageChannelState;
function close() : Void;
private function get_messageAvailable() : Bool;
private function get_state() : MessageChannelState;
function receive(blockUntilReceived : Bool = false) : Dynamic;
function send(arg : Dynamic, queueLimit : Int = -1) : Void;
}

View File

@ -0,0 +1,7 @@
package flash.system;
@:native("flash.system.MessageChannelState") extern enum abstract MessageChannelState(String) {
var CLOSED;
var CLOSING;
var OPEN;
}

View File

@ -0,0 +1,25 @@
package flash.system;
extern class Security {
@:require(flash10_1) static final APPLICATION : String;
static final LOCAL_TRUSTED : String;
static final LOCAL_WITH_FILE : String;
static final LOCAL_WITH_NETWORK : String;
static final REMOTE : String;
@:flash.property static var disableAVM1Loading(get,set) : Bool;
@:flash.property static var exactSettings(get,set) : Bool;
@:flash.property @:require(flash11) static var pageDomain(get,never) : String;
@:flash.property static var sandboxType(get,never) : String;
static function allowDomain(restArgs : haxe.extern.Rest<Dynamic>) : Void;
static function allowInsecureDomain(restArgs : haxe.extern.Rest<Dynamic>) : Void;
@:ns("flash.system",internal) @:require(flash10_1) static function duplicateSandboxBridgeInputArguments(toplevel : Dynamic, args : Array<Dynamic>) : Array<Dynamic>;
@:ns("flash.system",internal) @:require(flash10_1) static function duplicateSandboxBridgeOutputArgument(toplevel : Dynamic, arg : Dynamic) : Dynamic;
private static function get_disableAVM1Loading() : Bool;
private static function get_exactSettings() : Bool;
private static function get_pageDomain() : String;
private static function get_sandboxType() : String;
static function loadPolicyFile(url : String) : Void;
private static function set_disableAVM1Loading(value : Bool) : Bool;
private static function set_exactSettings(value : Bool) : Bool;
static function showSettings(?panel : SecurityPanel) : Void;
}

View File

@ -0,0 +1,8 @@
package flash.system;
extern class SecurityDomain {
@:flash.property @:require(flash11_3) var domainID(get,never) : String;
private function get_domainID() : String;
@:flash.property static var currentDomain(get,never) : SecurityDomain;
private static function get_currentDomain() : SecurityDomain;
}

View File

@ -0,0 +1,11 @@
package flash.system;
@:native("flash.system.SecurityPanel") extern enum abstract SecurityPanel(String) {
var CAMERA;
var DEFAULT;
var DISPLAY;
var LOCAL_STORAGE;
var MICROPHONE;
var PRIVACY;
var SETTINGS_MANAGER;
}

View File

@ -0,0 +1,28 @@
package flash.system;
extern class System {
@:flash.property @:require(flash10_1) static var freeMemory(get,never) : Float;
@:flash.property static var ime(get,never) : IME;
@:flash.property @:require(flash10_1) static var privateMemory(get,never) : Float;
@:flash.property @:require(flash11) static var processCPUUsage(get,never) : Float;
@:flash.property static var totalMemory(get,never) : UInt;
@:flash.property @:require(flash10_1) static var totalMemoryNumber(get,never) : Float;
@:flash.property static var useCodePage(get,set) : Bool;
@:flash.property static var vmVersion(get,never) : String;
@:require(flash10_1) static function disposeXML(node : flash.xml.XML) : Void;
static function exit(code : UInt) : Void;
static function gc() : Void;
private static function get_freeMemory() : Float;
private static function get_ime() : IME;
private static function get_privateMemory() : Float;
private static function get_processCPUUsage() : Float;
private static function get_totalMemory() : UInt;
private static function get_totalMemoryNumber() : Float;
private static function get_useCodePage() : Bool;
private static function get_vmVersion() : String;
static function pause() : Void;
@:require(flash11) static function pauseForGCIfCollectionImminent(imminence : Float = 0.75) : Void;
static function resume() : Void;
static function setClipboard(string : String) : Void;
private static function set_useCodePage(value : Bool) : Bool;
}

View File

@ -0,0 +1,7 @@
package flash.system;
@:require(flash10_1) extern class SystemUpdater extends flash.events.EventDispatcher {
function new() : Void;
function cancel() : Void;
function update(type : SystemUpdaterType) : Void;
}

View File

@ -0,0 +1,6 @@
package flash.system;
@:native("flash.system.SystemUpdaterType") extern enum abstract SystemUpdaterType(String) {
var DRM;
var SYSTEM;
}

View File

@ -0,0 +1,7 @@
package flash.system;
@:native("flash.system.TouchscreenType") extern enum abstract TouchscreenType(String) {
var FINGER;
var NONE;
var STYLUS;
}

View File

@ -0,0 +1,17 @@
package flash.system;
@:require(flash11_4) extern final class Worker extends flash.events.EventDispatcher {
@:flash.property var isPrimordial(get,never) : Bool;
@:flash.property var state(get,never) : WorkerState;
function createMessageChannel(receiver : Worker) : MessageChannel;
function getSharedProperty(key : String) : Dynamic;
private function get_isPrimordial() : Bool;
private function get_state() : WorkerState;
function setSharedProperty(key : String, value : Dynamic) : Void;
function start() : Void;
function terminate() : Bool;
@:flash.property static var current(get,never) : Worker;
@:flash.property static var isSupported(get,never) : Bool;
private static function get_current() : Worker;
private static function get_isSupported() : Bool;
}

View File

@ -0,0 +1,11 @@
package flash.system;
@:require(flash11_4) extern final class WorkerDomain {
function new() : Void;
function createWorker(swf : flash.utils.ByteArray, giveAppPrivileges : Bool = false) : Worker;
function listWorkers() : flash.Vector<Worker>;
@:flash.property static var current(get,never) : WorkerDomain;
@:flash.property static var isSupported(get,never) : Bool;
private static function get_current() : WorkerDomain;
private static function get_isSupported() : Bool;
}

View File

@ -0,0 +1,7 @@
package flash.system;
@:native("flash.system.WorkerState") extern enum abstract WorkerState(String) {
var NEW;
var RUNNING;
var TERMINATED;
}