I think that getting a swf running in the browser to connect to FlashDevelop requires some extra sandbox permissions voodoo.

I solved the problem by putting a function in my source fla that gets compiled in the IDE into the input swf file:

function traceOut(str:String) {
   trace(str);
}

Then in the code that gets compiled in FD I changed the Object prototype to call _root.traceOut(str):

Object.prototype.trace = function (str:String):Boolean {
           _root.traceOut(str);
}


Andrew Sinning wrote:
I'm using AS2. Does anybody know how to get FlashDevelop to compile a swf that will trace out to Vizzy Flash Tracer?

I had to set the compile option "Use MX classes" to true in order to get my classes to compile, so maybe this is preventing the MX mode to work.

I'm able to get it to trace out to FlashDevelop using the FlashConnect object as described here <http://lab.simplicit.co.za/?p=123>, but I might prefer to use Vizzy.

Thanks!
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to