[osflash] Debugging / Troubleshooting SWF movies created with MTASC

Stephen Moore delfick755 at gmail.com
Fri Feb 22 15:10:53 PST 2008


On Sat, Feb 23, 2008 at 1:46 AM, Barak Ori <barakori at gmail.com> wrote:
> Of course there's an error on the second line, but where do I see that
> 'value' is undefined?
>
> I tried installing the Flash Debug Player, but it didn't write anything to
> the log/trace file. Maybe it only works with AS3 code. Any solution for
> this?


you could use this custom tracer I made
http://flashbsm.googlecode.com/svn/testing/tracer/

all you'll need is the tracer.swf from there and then in your main
application make this function

	public static function trace (text:Object)
	{
		var theParams:Array = arguments.splice(1, arguments.length-1);
		var lc:LocalConnection = new LocalConnection ();
		lc.send ('tracelog', 'tracer', text, theParams);
	}

then look at the readme (
http://flashbsm.googlecode.com/svn/testing/tracer/Readme ) to see how
to use it.

hope that helps :)

(certainly helped me when I was working with as2 :))



More information about the osflash mailing list