Console Logging for Flash (i.e. Tracing in a browser)

If you want to trace something in flash but you want to load the flash in a browser, you can rework your trace statements to display them with the Firebug extensions.

Instead of using trace() you can use the following:

var flash_variable = ‘testing 123′;
getURL(”javascript: console.log(’”+ flash_variable +”‘)”,”_self”);

These statements will appear in the Firebug console inside Firefox. For more options, you can view the full capabilities of the console: www.getfirebug.com/console.html

You could create a new function that automatically traces to both sources, but make sure it is not switched on by default, or it could cause problems and expose data to maliscious users. AP

Bookmark This Page

Add 'Console Logging for Flash (i.e. Tracing in a browser)' to Del.icio.us Add 'Console Logging for Flash (i.e. Tracing in a browser)' to digg Add 'Console Logging for Flash (i.e. Tracing in a browser)' to FURL Add 'Console Logging for Flash (i.e. Tracing in a browser)' to blinklist Add 'Console Logging for Flash (i.e. Tracing in a browser)' to My-Tuts Add 'Console Logging for Flash (i.e. Tracing in a browser)' to reddit Add 'Console Logging for Flash (i.e. Tracing in a browser)' to Feed Me Links! Add 'Console Logging for Flash (i.e. Tracing in a browser)' to Technorati Add 'Console Logging for Flash (i.e. Tracing in a browser)' to Socializer 

Leave a Reply


HOME | CONTACT Copyright © 2008 Extro Interactive