Traces are not stripped from swf even if debug='false'. All you need to
check that is to have debug flash player installed. Output is stored (on my
Windows machine, the latest version of flash player) in: C:\Documents and
Settings\<username>\Application Data\Macromedia\Flash
Player\Logs\flashlog.txt.

R.

On 29 Mar 2007 06:08:41 -0700, Steve Gilchrist <[EMAIL PROTECTED]> wrote:

  Hi,

I like to pepper my code with a heap of trace statements so I can see
execution flow.

When I go to deploy to production I compile with debug=false. Are the
trace statements stripped out / ignored or do they still execute?

Also is there any way to get trace to output the function it is running in
automagically. I'm wondering if there is a short cut for the below:

public function myMethod():void
{
trace(this+".myMethod"+"some variables");
}

'this' gives the object name but I have to hand code the myMethod().

Thanks
S

Reply via email to