Tuesday 31 May 2011

Flex4, trace function is not working anymore!


situation

This is known bug! This problem occurred when you exported a “release” previously; thenceforth the trace() messages are not appeared in the console window.
!!! If you are beginner on Flex, read the "attention" at the bottom of this post! !!!
problem

adobe flex4 AS3.0
Flex4, trace function is not working anymore!
----
> page: dn
difficulty level

3/10 :))
compatibility

flex4, as3
solution

Try 1
1. Clean the build: Project -> Clean -> Clean project (select this one specific from the list) -> ok
2. “Debug” the application (pressing the “bug” button); rebuild will be done
3. The problem should be solved! Otherwise try try2.

Try 2
1. Restart the Flex / Flash builder IDE
2. Restart the browser with Adobe Flash Debugger Player
3. Clean the build: Project -> Clean -> Clean project (select this one specific from the list) -> ok
4. “Debug” the application (pressing the “bug” button); rebuild will be done
3. The problem should be solved!
attention

Important note for beginners: You should “debug” the application (pressing the “bug” button) and not “run” the application (pressing the “play” button) to see the trace() messages at the console window. In “run” mode the trace() message are omitted.

No comments:

Post a Comment