David Harris's Technology Blog

ColdFusion, Flex, and other stuff...   (and 324,722 hours, 10 mins in to my plan for global domination)

Search:

Calendar:

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Subscribe:

Enter your email address to subscribe to this blog.

Archives By Subject:

Tags:

adobe air ajax cfug coldfusion flash flex frameworks free software fxug general jpgmetadatareader mac off topic opensource papervision spry

Recent Entries:

No recent entries.

Top Posts:

Recent Comments:

Top Commenters:

My Links:

RSS:


Trace log not working on Flash Player 9,0,28,0

When I am working with Flash, I use the "trace" function ALLOT...

It's great for quick debugging and working out what your code is doing.

On XP, to define where the Flash log is writen client side you set up a file called "mm.cfg" in location: C:\Documents and Settings\[user name]

in this file, one of the settings you define is "TraceOutPutFileName", which is the location and name of the log file that is created and written to by the Flash Player as your application runs. EG: "C:\MyFlashLog.txt" would be a valid value for this variable

In FireFox, I use "Flash Tracer" to monitor the defined file while I am developing.

For some reason, it stopped working! I was trying all sorts of things, and often when the Flash log stops working it can be the version of FP installed, but I KNOW I had the right version installed. I had version 9,0,28,0 installed.

I asked on FlexCoders, and Matt Horn from Adobe answered...

The problem was that you can't define where the Flash log is written now, and it is hard coded to write to : "C:\Documents and Settings\[user name]\Application Data\Macromedia\Flash Player\Logs\flashlog.txt"

So once I pointed FireFox plugin "Flash Tracer" to that file, I started seeing my trace output again!

Thank you Matt for your response!

You can see the thread at: http://tech.groups.yahoo.com/group/flexcoders/message/63656

Comments
thank you!
i've been trying to figure this out for ages. your fix worked.
# Posted By ben | 5/30/07 5:54 AM
Glad to be of help! :-)
# Posted By David | 5/31/07 8:05 AM
This is adobe! Its not meant to work lol
# Posted By Emma Parsons Abergavenny | 6/23/07 7:59 PM
Thanks David. I was starting to get frustrated with this. I pointed to the location of the log file and now it's fine - Cheers :)
# Posted By Stephen | 9/15/07 11:48 AM
This log folder no longer exists on my player.
# Posted By Mr-Yellow | 7/3/08 5:01 PM