Open loaded SWFs during playback feature

This commit is contained in:
Jindra Petřík
2015-10-24 10:09:39 +02:00
parent f977c1c381
commit 8c8be0737f
20 changed files with 344 additions and 31 deletions

View File

@@ -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);
}
}
}