views:

30

answers:

3

There's a lot of examples for ActionScript over the web using trace() to print results.

I'd tryied it using Flash Builder 4, but it don't print to the console. Where can I see the output?

A: 

Are you sure that you are running the debug build and not the release build?

Jason W
A: 
  1. Are you in debug mode ?
  2. Put a breakpoint on the line where the trace() is wrote (ctrl+shift+b), debug and see if the trace is reached.
  3. Are you printing the right string? try to use also a static text in front when doing trace like trace("Loading file: ", _myFile.url);
Adrian Pirvulescu
So it just prints to console in debug mode (crap).. Thanks!
Tom Brito
A: 

If you do not want to use Flash Player debugger, but you want to log messages without annoying Alert popups, you can easily log to the Firebug console.

clownbaby