ActionScript.org Flash, Flex and ActionScript Resources - http://www.actionscript.org/resources
Detect flash plugin using flash
http://www.actionscript.org/resources/articles/27/1/Detect-flash-plugin-using-flash/Page1.html
Perlaki
This user is yet to take control of their account and provide a biography. If you are the author of this article, please contact us via support AT actionscript DOT org. 
By Perlaki
Published on September 9, 2005
 
Written by: Perlaki
Difficulty Level: Beginner
Requirements: Flash 4

Page 1 of 1
Written by: Perlaki
Difficulty Level: Beginner
Requirements: Flash 4 Download FLA

This tutorial allows you to detect if a user has the Flash player installed, but will not determine which version of the player it is. This method is suitable when you simply need FLash 4 or higher support. The idea behind this method of Flash detection is simple
We have 2 html pages index.html and mainpage.html

index.html has a flash movie that has the following code: [as]getURL ("mainpage.html");
[/as] If browser doesn't have the flash 4 (or higher) plugin you will stay on index.html which may contain a description of how to get the flash plugin, and if browser has the flash plugin you'll automaticly be redirect to mainpage.html (your main flash movie page).

Download an example here