public QueueItem(SimpleLoader loader) { this.loader = loader; //1 simpleloader 添加监听 loader.addEventListener(LoadResourceEvent.Complete, LoadComplete); loader.addEventListener(LoadResourceEvent.Progress, LoadProgress); }
public QueueItem(SimpleLoader loader) { this.loader = loader; loader.addEventListener(LoadEvent.Complete, LoadComplete); loader.addEventListener(LoadEvent.Progress, LoadProgress); }