Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

trace() is not working in flashbuilder 4?

i'm trying to use actionscript 3.0 and using trace(), it never outputs content of trace of variable either in flash player or in output area? how to coorect or should i enable something? whats the problem?

like image 659
Abhilash Muthuraj Avatar asked Dec 18 '09 15:12

Abhilash Muthuraj


2 Answers

As others have pointed out, trace only works when in debug.
If you want information to get dumped out when running "release", you'll need to use the logging api that flex provides.

like image 91
dw.mackie Avatar answered Oct 15 '22 09:10

dw.mackie


When you test your movie, are you using "Run Application" or "Debug Application"? I'm not sure if this has changed in 4, but if you just run it, trace actions are omitted by default.

like image 29
typeoneerror Avatar answered Oct 15 '22 10:10

typeoneerror