NIET
Would you like to react to this message? Create an account in a few clicks or log in to continue.
LATEST NEWS
HI FRIENDS...!








WELCOME TO NIET GALAXY








KEEP VISITING...!








IT IS FOR NIET STUDENTS
FOLLOW ME
ActionScript program for Detecting the player version Twit_05
NOTICE BOARD...!!!
Latest topics
» Beautiful Brides
ActionScript program for Detecting the player version EmptyMon Sep 14, 2009 12:07 pm by NIETGALAXY

» Bollywood actresses In Sarees
ActionScript program for Detecting the player version EmptyMon Sep 14, 2009 12:05 pm by NIETGALAXY

» Childhood photos of Bollywood stars
ActionScript program for Detecting the player version EmptyMon Sep 14, 2009 12:02 pm by NIETGALAXY

» How to Use the Secret
ActionScript program for Detecting the player version EmptySat Sep 05, 2009 1:35 pm by NIETGALAXY

» How to Be A Teacher's Pet
ActionScript program for Detecting the player version EmptySat Sep 05, 2009 1:28 pm by NIETGALAXY

» How to Get into the Habit of Studying for a Test
ActionScript program for Detecting the player version EmptySat Sep 05, 2009 1:24 pm by NIETGALAXY

» Vodafone Free GPRS hack
ActionScript program for Detecting the player version EmptyTue Aug 18, 2009 8:31 pm by anil kumar

» How To Get Big Arms?
ActionScript program for Detecting the player version EmptyTue Aug 18, 2009 8:24 pm by anil kumar

» Airtel GPRS hack
ActionScript program for Detecting the player version EmptyTue Aug 18, 2009 8:20 pm by anil kumar


ActionScript program for Detecting the player version

Go down

ActionScript program for Detecting the player version Empty ActionScript program for Detecting the player version

Post by NIETGALAXY Wed Jul 29, 2009 7:47 pm

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

lol! lol! lol! lol! lol! lol! lol! lol! lol! lol!
NIETGALAXY
NIETGALAXY
Admin

Posts : 401
Join date : 2009-07-03
Location : GUNTUR

https://niethangout.forumotion.com

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum