Flex Tracer Class Functionality: It can be used to trace any value as we do with default trace in flex. Flex Tracer window appears by pressing "~" (TILD) key which will show you all your traces like the output / Console window. More than that you can pass the color for message also , so that it can be easily distinguished from other messages. Which makes it extremely user friendly and handy to use. Now you can trace your application anytime anywhere whether you are using a debug version of flash player or not. It just works anywhere .
How to use Runtime Flex Tracer: Copy the itrace.as in your flex 3.0 Project and use the following syntax to add the traces:
itrace.msg("Your message");
To add color to message pass the second optional parameter. It can be 0 to 9 for different colors. Default message color is black.
itrace.msg("Your message", 2);
Download :itrace.as
See Runtime Flex Tracer in action: Use Tilde key to show or hide the tracer window. Click on the buttons to see the runtime messages being added to Tracer window. You can also drag the Traces window using mouse. Donot hesitate to send me feedback /suggestions using http://askmeflash.com/contact.