The source of this fine nugget is g.wygonik’s flash experiments who found the info in Flex documentation. I’ve visited or pointed people to that page so often I decided to post it here in case anything ever happened to the original. This really is convenient.
- Right-click on the “My Computer” icon on the Windows XP desktop and select Properties to open the “System Properties” dialog
- Click the Advanced tab
- Click the Environment Variables button
- Add the following environment variables to the User Variables (not the System ones)
– HOMEDRIVE with a value of “C:” (no quotes)
– HOMEPATH with a value of “%USERPROFILE%” (again no quotes)
- Navigate to the C:\Documents and Settings\[i]username[/i] folder and create a new text file named “mm.cfg”
- Open the text file and add the following:
- Download and install the Flash program debug player from Adobe.
- Install the version of your choice (ActiveX for IE / Netscape-compatible for FF)
- Open a web page with a SWF in it. If there is now a “Debugger” option in the context-menu, you have the Debug player installed. if not, try again, or try the uninstaller as mentioned above.
- Open Flash and make a new FLA with the following AS in the Actions panel:
trace(“I am alive”); // or some other goofy test thing
- Publish your movie and open the HTML page
- Open Windows Explorer and look in the root of C:\ – there should be a flashlog.txt file (if not, check all the settings above and perhaps log-out and log back in, or reboot and try it again)
- Open the flashlog.txt file and you should see your trace output.