sivaramaiah  
 
  Record5 09/20/2017 9:52pm (UTC)
   
 

Record 5:

. Detecting the Player Version

------------------------------------------------- 

var playerparts=_root.$version.split(" ");

var playeros=playerparts[0];

trace("the player operating system="+playeros);

var playerversion=playerparts[1].split(",");

trace("the player version="+playerversion);

var playermajor=Number(playerversion[0]);

trace("the playermajor version="+playermajor);

var playerminor=Number(playerversion[1]);

trace("the playerminor version="+playerminor);

var playerbuild=Number(playerversion[2]);

trace("the playerbuild="+playerbuild);

var playerpatch=Number(playerversion[3]);

trace("the playerpatch="+playerpatch);

Output

the player operating system=WIN

the player version=8,0,22,0

the playermajor version=8

the playerminor version=0

the playerbuild=22

the playerpatch=0

 
  Menu Items
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

  add
HOT TOPICS
MCA PROJECT DETAILS ------------------------------------- Jntu all Lab manuals ------------------------------------- Jntu Syllabus Books ------------------------------------- Paper presentations ------------------------------------- Seminars ------------------------------------- Campus Papers ------------------------------------- Competetive Exams GATE ------------------------------------- GRE ------------------------------------- TOEFL ------------------------------------- IELTS ------------------------------------- CAT ------------------------------------- GMAT ------------------------------------- Templates ------------------------------------- Students Resume Preparation tips ------------------------------------- Job zone(Interview questions) ------------------------------------- Google Adsence html code ------------------------------------- Web sites --------x--------------x-----------
  Advertisement
  Advertisement

 


-----------------------------
  Offline Messages
  Adds
  Visitors Information
Today, there have been 66440 visitors (187995 hits) on this page!
=> Do you also want a homepage for free? Then click here! <= --------------------------------------------------