capabilities.hx
来自「ocaml编写的一个flash编译器」· HX 代码 · 共 38 行
HX
38 行
package flash.system;extern class Capabilities{ static var hasAudio:Bool; static var hasMP3:Bool; static var hasAudioEncoder:Bool; static var hasVideoEncoder:Bool; static var screenResolutionX:Float; static var screenResolutionY:Float; static var screenDPI:Float; static var screenColor:String; static var pixelAspectRatio:Float; static var hasAccessibility:Bool; static var input:String; static var isDebugger:Bool; static var language:String; static var manufacturer:String; static var os:String; static var serverString:String; static var version:String; static var hasPrinting:Bool; static var playerType:String; static var hasStreamingAudio:Bool; static var hasScreenBroadcast:Bool; static var hasScreenPlayback:Bool; static var hasStreamingVideo:Bool; static var hasEmbeddedVideo:Bool; static var avHardwareDisable:Bool; static var localFileReadDisable:Bool; static var windowlessDisable:Bool; private static function __init__() : Void untyped { flash.system.Capabilities = _global["System"]["capabilities"]; }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?