Link to home
Start Free TrialLog in
Avatar of caf210
caf210Flag for United States of America

asked on

Trace Not Working in Flash CS6, Actionscript 3

I recently upgraded to Flash CS6, and now my trace statements in Actionscript 3 are not writing to the output window.

If I create a simple document with this Actionscript...

trace("test!");

Open in new window


...I get no results in the output window. I don't know why this is happening. Is this a bug?

And I have researched this, and I can tell you this:

1. I'm just publishing locally and this is still happening.
2. I'm publish previewing to Flash, not HTML
3. In the publish settings tab,  "omit trace actions" is unchecked
4. In the Output panel, I have tried all options for filter (from nothing to "none" to verbose)

I'm pretty sure it was working, and then stopped.

Any thoughts?
Avatar of quizengine
quizengine
Flag of United Kingdom of Great Britain and Northern Ireland image

I think sometimes software gets 'confused' about toggle settings like 'omit trace actions' in publish settings. It's unticked in the dialog box but maybe 'inside' the settings it's actually ticked?

I know that sounds daft but here's what I would try in your place.

1. Tick the 'omit trace actions' in Publish settings
2. Save your file and quit Flash
3. Launch Flash and open your file again
4. de-tick the 'omit trace actions'
5. Run the file and see if your trace statements come alive again

I know this probably won't work, but at least it's a quick thing to try.

If this doesn't fix the problem, next I would create a new fla, and put a trace statement in, and test to see if it works. If it does, one thing that might work is to copy all of your content from the original fla, paste it into the new fla and try that.

Good luck.
Avatar of caf210

ASKER

Thanks for the input. I tried this, but it wasn't the issue. Thanks!
ASKER CERTIFIED SOLUTION
Avatar of caf210
caf210
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
here's another idea - showing trace statements using the Firefox browser

http://stackoverflow.com/questions/864155/see-trace-of-flash-when-running-in-browser
Avatar of caf210

ASKER

"Please state your reason for accepting your own comment as the solution?" Because that's what the issue was, and no one else said it here. :)