Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I get the user's screen resolution in ActionScript 3?

Is there a way ActionScript 3 can detect the user's screen resolution?

like image 869
markblue777 Avatar asked Jun 26 '09 11:06

markblue777


1 Answers

These will return the numbers to your output window:

trace(Capabilities.screenResolutionX);
trace(Capabilities.screenResolutionY);
like image 128
rejo Avatar answered Jan 26 '23 18:01

rejo