You want to use Flash Plasyer 8 features in your swf file but you don’t know your visitors have the Flash Plasyer 8 on their system? Now, Adobe has developed Detection kit and it provides us to upgrade user’s Flash Player automatically. You wanna learn how you can do it? follow me :
1) Firstly, we should download Detection kit package.

2) Extract the package somewhere and than open the playerProductInstall.fla which waiting for us in the Express Intallation folder.

3) In this Fla file, we will see a grey box (MovieClip) on the stage, you should copy and paste it to your own Fla file.

4) Open the playerProductInstallCallback.as file in the Express Intallation folder.

Now you see “Download.Complete” , “Download.Cancelled” and”Download.Failed” strings in there.
After Download.Complete,you should place the codes that will run after the Flash Player download completes.
If the user chooses “Cancel” or “No” Download.Cancelled will run after this selection,
After Download.Failed you should write codes for any network/server and etc. problems .

5) Again in Express Intallation folder, open the playerProductInstall.html file in edit mode
You will see

var requiredMajorVersion = 8;

in there and you can change the number to your flash player requirement
After that, you should open this file and, Change the codes in the Red boxes for your upgrader swf file
The Green boxes shows us the codes for target SWF, which can run only on the latest or required Flash Player version .

Thats all. Now your visitors can upgrade their Flash Player automatically . (This system requires Flash Player 6 to run)