I am completely new to Flash and have no idea what I'm getting myself into.
My company has computers throughout the Texas and I have been tasked with getting internet speeds for all of them. I will need download, upload, and latency. I currently have a Javascript based program, but it appears to be unreliable. Various forums and other speed test sites are leading me to believe that Flash is the best way to accomplish this.
The script will have to run automatically, with no user interaction. I will then need to automatically put the results into a mySQL database. I have already set up the database, and am familiar with PHP / MySQL. I just don't know where to start for the flash portion of this project.
I would appreciate any input as to where to start and where I might find sample code to mimic.
You can host a free speed test on your own server that uses the same technology as Ookla Speedtest! Setup is very simple, and the only requirement is that your web server supports PHP, ASP.NET, ASP or JSP. http://www.speedtest.net/mini.php
Thank you for the recommendation, however I have tried their mini test but do not see a way to export into mysql or PHP. I would also need a way to have this start automatically.
They also don't provide the flash document, just the swf, so I can't edit anything to tweak this to fit my needs. Although, I am new to Flash. Do you know of a way to get this working the way I want?
Flash is a programming language so you can set up a test yourself. From what you've said, you just need to set up a test that gives you results for comparison. The key being comparison. You don't need your app to figure out the exact speeds, you just need it to do a specific test and you can compare the results.
Put specific-sized files on a server, 1mb for instance. Your app starts a timer, requests to load the file, when the download starts you have a rough latency number (good for comparison), when the download completes you have a time to download 1mb. Same with uploading files.
You can use somebody else's test to give you some real numbers to compare against your app and come up with a good approximation. Speedtest says you're the device has a 1.2mb connection, you can create formula against that number.
Thank you for the input. As I mentioned, I am very new to Flash / AS3. I don't mind working through the problem, I just don't know where to start for the solution. I am reading up on the timer functions and checking out examples on the net to determine how to mold them to fit my needs. What other functions do you recommend for this project?