
FlashComGuru
POPview
Team Macromedia
In this tutorial you will learn how to detect a specific user's download speed using Flash Communication Server MX. You will learn how to set up the detection routine and use the test results to serve a video clip that is suitable for the user's connection speed.
The sample file bwcheck.fla contains a simple video streaming application as your starting point (I refer to it as your main application) and during the course of this article you will extend it to use the speed test results that the detection routine gathers. This article focuses on implementing the detection routine, not the video playback application.
This article is based on a script by Pritham Shetty, director of engineering for Flash Communication Server, and was published by Giacomo "Peldi" Guilizzoni on his blog at www.peldi.com/blog/.
To complete this tutorial you will need to install the following software and files:
Note: If you need to obtain the updated version, download it from the Macromedia Flash Communication Server Support Center.
You should be familiar with ActionScript, including basic server-side ActionScript. You should also have a basic understanding of Flash Communication Server MX. This tutorial does not require you to write much code; instead, it encourages you to modify the provided source files to suit your needs.
Stefan Richter is a Certified Flash Developer who has been involved with Flash Media Server since its very early days, when it was Flash Communication Server. Shortly after relocating from Germany to the UK, he became the driving force behind Europe's first FCS-centric hosting company, flashcomstudio.com. Stefan now runs his own popular community at flashcomguru.com. Having moved on from his role as developer and webmaster at Monster Worldwide, he now holds the position of VP of application development at Dallas-based POPview. From his home office in the UK he is handling projects for a variety of clients including McAfee, USA Network, and Unilever.