Flash tools

Static variables

@:value(-1)staticheight:Float = -1

staticread onlyos:String

staticread onlyversion:Array<Int>

@:value(-1)staticwidth:Float = -1

Static methods

staticbase64ToBitmapDataAsync(base64:String, ok:BitmapData ‑> Void, ?error:Dynamic ‑> Void):Void

staticinlinebitmapDataToBase64(data:BitmapData):String

staticbrightness(v:Int):ColorTransform

staticinlinebytesDataToBase64(data:BytesData):String

staticbytesToBitmapData(bytes:Bytes, ok:BitmapData ‑> Void, ?error:Dynamic ‑> Void):Void

staticchildrens(d:DisplayObjectContainer):Iterator<DisplayObject>

staticinlinegetRect(o:DisplayObject):Rectangle

staticgetStage(cb:Stage ‑> Void):Timer

staticincludeAS(dir:Dynamic):Dynamic

staticloadBytes(url:String, ok:Bytes ‑> Void, ?error:Dynamic ‑> Void):Void

staticloadText(url:String, ok:String ‑> Void, ?error:Dynamic ‑> Void):Void

@:value({ color : 0x666666 })staticmakeBigBorders(color:Int = 0x666666):Void

staticrecursiveCompare(o:DisplayObjectContainer, t:Dynamic):Bool

@:has_untypedstaticinlineregisterClassAlias<T>(cl:Class<T>):Void

staticreverseChildren(container:DisplayObjectContainer):Void

staticinlinesetRect(o:DisplayObject, rect:Rectangle):Void

staticinlinesetRectP(o:DisplayObject, r:Rectangle):Void

staticsetSize(o:DisplayObject, w:Float, h:Float):Void

Вписывает объект внутрь прямоугольника, сохраняя пропорции. Размещает по центру.

staticinlinesetTrace():Void

staticsmartFit(m:MovieClip, ?inited:() ‑> Void):Void

staticupdateSize(?_:Unknown):Void