trace() is not working in flashbuilder 4?
14,337
Solution 1
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.
Solution 2
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.
Author by
Abhilash Muthuraj
Updated on June 08, 2022Comments
-
Abhilash Muthuraj about 2 years
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?
-
Abhilash Muthuraj over 14 yearsyes i used run application,should i use debug application? what about flash player? some tell to use debug version? i don't understand?
-
typeoneerror over 14 yearsYes, you should have the debug version of the flash player installed and use "debug application". It then displays traces in the output window of FB.