First time here? First time here? Newsletter Signup Newsletter
Login | Register | 651326 Members and growing!
Search tutorials
Author: Kurt Hartman | Website: http://www.scientificrecords.com

How to detect Flash 5 Version Plugin without Javascrip

If you are using Flash 5 and publishing Flash Version 5 movies, this tutorial will give you a quick way to determine if the user has the Flash 5 player installed in their browser without any javascript.

  • First make a new scene in your Flash movie called plugin detection. Place it at the top of all your scenes so it plays first.
  • Now make a new movie symbol. Name it "plugindetector".
  • In the first frame of the movie symbol "plugindetector" place a tellTarget action with the target set as "_root".
  • Within the tellTarget action place a goTo action. This goTo action should point to the first frame of your Flash movie (not the first frame of the plugin detection scene, but the first frame of the scene you want to load if the plugin is present).
  • Now go back to the plugin detection scene.
  • Make the scene 5 frames long and with 3 layers.
  • In the first frame of layer 1 place the movie sybol "plugindetector" (don't forget to name the symbol instance, it can be whatever).
  • Make a keyframe in the 5th frame of layer 2. In this keyframe type or produce a graphic that explains that the user does not have the most current version of flash and needs to download it (you can also put a button with a getUrl action that brings them to the Macromedia download page).
  • Finally put a stop action in the 5th frame of layer 3.

That's it.

Now when your movie loads the "plugindetector" symbol will try to tell the "_root" movie to advance to your first frame. If they don't have the Version 5 plugin their player will not understand the target "_root" and will simply play to the frame where you have placed the note that tells them what's up and what to do about it. Enjoy.

» Level Intermediate

Added: 2000-12-23
Rating: 7 Votes: 186
(10 being the highest)
» Author
No information about the author has been provided.
» Download
Download the files used in this tutorial.
» Forums
More help? Search our boards for quick answers!

Comments

  • There are no comments yet. Be the first to comment!

  • You must have javascript enabled in order to post comments.

Leave a Comment
  • Your email address will not be published. All fields are required.
Featured Flash FLA
» Author: work2survive
» Title: Girl Walking 1kb
» Description: Walking girl, animation just takes 1kb, using high heels shoes, and fashion model attitude.
Featured Sound Loops
Image for equalize

Audio Player

» Author: BoxCat
» Title: CPU Talk
» Description: From the cyberpunk RPG, "Nameless: the Hackers" Completely Free to use! Keywords: edm hip hop rap electronic mysterious mission hacking chase exciting spy ios ambient chilling love happy sad angry suspense
Latest Font
» Author: Fábio FAFERS
» Description: I created this font for free use. Everyone can apply it in personal or business texts. Its free, but I want to be communicated in case of business use. Donations are accepted to keep the project of free fonts alive! Thank you all
Featured Sound Fx
Image for equalize

Audio Player

» Author: nathan
» Description:

A recorded sound of the Dimensional Fork Gate.