mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-19 03:51:54 +00:00
Open loaded SWFs during playback feature
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
package com.jpexs.decompiler.flash.debugger {
|
||||
|
||||
import flash.display.Loader;
|
||||
import flash.net.URLRequest;
|
||||
import flash.system.LoaderContext;
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
public class DebugLoader extends Loader {
|
||||
|
||||
|
||||
public override function load(request:URLRequest, context:LoaderContext = null):void {
|
||||
DebugConnection.writeLoaderURL(request.url);
|
||||
super.load(request,context);
|
||||
}
|
||||
|
||||
public override function loadBytes(bytes:ByteArray, context:LoaderContext = null):void {
|
||||
DebugConnection.writeLoaderBytes(bytes);
|
||||
super.loadBytes(bytes,context);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user