Code.GeekInterview.com
 
Code Samples Flash
 

Detect Flash Player Version


Code ResourceAuthor: lavanyarani  

Difficulty Level: Beginner

Published: 10th Nov 2009   Read: 2940 times  

Filed in: Flash
Add Comment


 

 

Sponsored Links


 

 
The following code illustrates as to how one can detect the flash player version programatically.
 


Sample Code
  1. Step-1: Create an input box and give the name as “n”.
  2. Step-2: Create a button with the text on it “click”.
  3. Step-3: Select the button and open the action panel and write the
  4.              following code in the script pane.
  5.              on(release)
  6.             {
  7.                 var ver = getVersion().split(" ");
  8.                  var version=ver[1].split(",");
  9.                  n.text=version[0];    
  10.            }
  11.  Step-4: press ctrl+enter to test the movie.
  12.  
Copyright GeekInterview.com


Next Article: Generation of Random Number


 

Latest Code Samples

 

Popular Code Samples

 

Related Code Samples

 

Post Your Comment:

Members Please Login
Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe    



Popular Coders

# Coder NameHits
1. lavanyarani66430

Active Coders

# Coder NameCodes
1. lavanyarani13

Refined Tags