Debugging messages using Flex?

What's the fastest way to print debug messages from Flex? You know, things like “received a mouse click on ($ x, $ y)” or “received and an event from the sender”.

+3
source share
3 answers
trace(mouseEvent.x + ", " + mouseEvent.y);

prints it to the console if you are using Eclipse / Flex Builder.

+5
source

trace() - Flex Builder. , . . Flex SDK , Log4J. Flex:
http://livedocs.adobe.com/flex/3/html/help.html?content=logging_07.html

+3

trace ( somestring)

+1
source

Source: https://habr.com/ru/post/1705683/


All Articles