PDA

View Full Version : detect resolution



jazzman121
May 12th, 2003, 12:02 PM
...hey.. i wanted to know how i can detect what resolution someones computer is at... , either using java or something ....

For example... if the users computer is 800x600 i wanna send a variable value to my flash movie... in the next page... ..

if it is on a resolution above that .. send another value to my flash movie..???

please help thanks

kode
May 12th, 2003, 02:24 PM
you don't need javascript, you can detect the screen resolution in flash... ;)

System.capabilities.screenResolutionX;
System.capabilities.screenResolutionY;

jazzman121
May 12th, 2003, 05:46 PM
thanks dude... that helped

kode
May 12th, 2003, 05:50 PM
no problem, jazz. ;)