Flash Tracer Dashboard Widget

Flash Development Add comments

This will likely be of interest to most Flash Developers fortunate enough to be working on a Mac.

Since I recently stopped using Firefox due to its ever increasing size and annoyance of download requests every time I opened it, I chose to switch over to a much slimmer Safari. The only thing I really missed with Firefox was the Flash Tracer extension, which allowed me to see what was going on in the flash files loaded into Safari. So why not come up with a widget to make that happen. So I decided to download the new xcode development tools provided by Apple. It comes with a handy graphical tool for making osx dashboard widgets. After a few evenings of tinkering with the program I came up with my first widget, it is similar to Firefox’s Flash Tracer extension but will allow you to use any browser you want and has a few more features. It uses Ajax to load the flashlog.txt file generated by the flash player (debug version) and parses the data for displaying properly. Pretty strait forward but very useful for any flash developer I would think. All I do is hit the corner hot-spot that loads my dashboard and the flash tracer widget appears showing me all the guts of my flash files that are running in my browser.

I’ve also added a few features to the mix that you don’t get with the regular Flash IDE.

Features

1. Ability to play or pause the readout
2. Wrap the display text
3. Clear all the text in the readout
4. Adjust the font size
5. Invert the readout so the newest line will be at the top of the list rather than the bottom
6. Set how many statements can be in the readout ( between 1 – 100 )
7. Hide warnings
8. Put a line number before each statement (useful for wrapping text)

Instructions

1. Download and install the latest Flash Player debugger version.
2. Download and install the Flash Tracer Widget.
3. It should automatically find the flashlog.txt file generated by the new flash player you just installed. If it can’t try inputting your equivalent of this location…(/Users/[USERNAME]/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt).
4. Visit a website that outputs trace commands such as Rolex.com and watch the magic.

Screenshots

Widget Screenshot 1

Widget Screenshot 2

Let me know if you have any questions/comments or feature requests. I would love to improve upon it if I can.

12 Responses to “Flash Tracer Dashboard Widget”

  1. UNITED STATES anthony Says:

    does it stop working with leopard or the 10.5.2 update cuz i cant get it workin and i realllllllly dont wanna go back to firefox =)

  2. CANADA jesse Says:

    No, it works fine in 10.5.2. That is what I’m running. Make sure you have the debug player installed in the browser you are using.

  3. CANADA jesse Says:

    Also, just make sure you navigate to a site that has trace outputs coming from a flash file on the page. I know this site that I built does http://www.anson-stoner.com/.

  4. UNITED STATES Anthony Says:

    ahh this is a bummer haha, when i was on windows at work i had to manually create a text file named flashlog.txt and then it started working, and now im thinkin its the same thing, but still no luck, my debugger just aint creatin a log and i dunno whyyy

  5. Andrei Potorac Says:

    Thanks soooo much! :D

  6. FINLAND Sami R Says:

    You also might need to grant read&write permission for {username}/Library/Preferences/Macromedia folders in order to get write access for Flash Debug Player.

  7. BELGIUM Wesley Says:

    Hi,

    This seems a great widget but the download link is not working…
    Can you update it please?

    Greets

  8. CANADA jesse Says:

    Sorry about that. The link has been fixed.

  9. Andrei Potorac Says:

    I can’t get this to work, so I’ll remove it from my bookmarks. :(

  10. Paul Romer Says:

    This is a great widget, except that you can’t copy and paste text in the widget or scale out the widget to show long lines of code. I know the wrap can be used, but that makes things confusing to look at. It looks like in the bottom right there’s a place to grab to expand the widget, but it doesn’t seem to work. Am I missing something?

  11. Joakim Lundberg Says:

    Agreeing fully with Paul Romer, please make the widget resizable.

  12. UNITED KINGDOM Panda*Claire Says:

    Cheers v much for this. A re-sizable window would be awesome, but this has worked wonders for me this afternoon.

    Thanks!

Leave a Reply

Powered by WP Hashcash

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in