Loader.hx 611 B

12345678910111213
  1. package flash.display;
  2. extern class Loader extends DisplayObjectContainer {
  3. var content(default,never) : DisplayObject;
  4. var contentLoaderInfo(default,never) : LoaderInfo;
  5. @:require(flash10_1) var uncaughtErrorEvents(default,never) : flash.events.UncaughtErrorEvents;
  6. function new() : Void;
  7. function close() : Void;
  8. function load(request : flash.net.URLRequest, ?context : flash.system.LoaderContext) : Void;
  9. function loadBytes(bytes : flash.utils.ByteArray, ?context : flash.system.LoaderContext) : Void;
  10. function unload() : Void;
  11. @:require(flash10) function unloadAndStop(gc : Bool = true) : Void;
  12. }