LATEST NEWS
NOTICE BOARD...!!!
Latest topics
ActionScript program for Detecting the player version
Page 1 of 1
ActionScript program for Detecting the player version
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);
-----------------------------------------------------------------------------
------------------------------------------------------------------------------
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
Similar topics
» ActionScript program for Detecting the Operating System
» ActionScript program for Detecting Display Settings
» ActionScript program for Binary Search
» ActionScript program for Drawing a Circle
» ActionScript program for Scripting Mask
» ActionScript program for Detecting Display Settings
» ActionScript program for Binary Search
» ActionScript program for Drawing a Circle
» ActionScript program for Scripting Mask
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Mon Sep 14, 2009 12:07 pm by NIETGALAXY
» Bollywood actresses In Sarees
Mon Sep 14, 2009 12:05 pm by NIETGALAXY
» Childhood photos of Bollywood stars
Mon Sep 14, 2009 12:02 pm by NIETGALAXY
» How to Use the Secret
Sat Sep 05, 2009 1:35 pm by NIETGALAXY
» How to Be A Teacher's Pet
Sat Sep 05, 2009 1:28 pm by NIETGALAXY
» How to Get into the Habit of Studying for a Test
Sat Sep 05, 2009 1:24 pm by NIETGALAXY
» Vodafone Free GPRS hack
Tue Aug 18, 2009 8:31 pm by anil kumar
» How To Get Big Arms?
Tue Aug 18, 2009 8:24 pm by anil kumar
» Airtel GPRS hack
Tue Aug 18, 2009 8:20 pm by anil kumar