(Last updated: May 13, 2009)
UltraStats-Flash is an interface for the PHP Web program UltraStats. I modified a couple of the PHP files that generate the server data so they dynamically generate an XML file that is read by the SWF for display. There are some key variables that must be set in the flashVars to work with your server, as well as a CSS file so you can control more of the look and feel of it.
Download UltraStats-Flash (313kb ZIP)
Instructions:
I've built this to work with UltraStats 0.3.13 and not positive it will continue to work with future versions. If updates are needed, I'll be happy to make them. This is also set up to make the SWF have a transparent background, so if you want to make it a solid color, then you'll need to adjust the HTML code that places it on the page.

Copy the following files to your UltraStats direcory:
Edit the CSS file as needed to work with your color scheme.
Copy the following file to your UltraStats/templates directory:
In the directory where the web page is that you want to display this, copy the following file to that directory:
Now you need to copy and edit some code to put the SWF onto your page. Open the ultraStats_Flash2.html file.
Copy the code below and paste it into the <head> area of your web page if it is not aready there.
<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>
There are THREE areas that you will NEED to edit that contain the FlashVars information that is needed to display the UltraStats server info properly...
The structure of my test site is:
wwwroot/ultrastats/
The file I put this code is in the wwwroot directory.
usLoc=(path to your UltraStats directory using the full URL), and don't forget the "/" at the end
pg=(the name of the page for the Flash based info)
sNum=(the number of your server found in the UltraStats admin)

You only need the one Flash piece as you can place the code as many times as you want, changing the flashVars variables to pull stats for other servers if you have more than one.
If you find any bugs or have comments on how to make this better, please feel free to contact me about them.
If you find bugs or have a feature request for this Flash element, please feel free to email me or leave a post in the UltraStats forums.

Copyright © 2012 Steve Veloff. All Rights Reserved.