Skip navigation
Currently Being Moderated

get screen screenResolution ?

Apr 23, 2012 2:18 AM

how get screen screenResolution ?

 

i want like 1280 x 960 in  scrRes

 

but i getting error:

 

Scene 1, Layer 'actions', Frame 1, Line 71086: Syntax error: expecting semicolon before "x".

 

Code:

 

scrRes.text = (String(Capabilities.screenResolutionX)) "x" (String(Capabilities.screenResolutionY));
 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points