Copy link to clipboard
Copied
how get screen screenResolution ?
i want like 1280 x 960 in scrRes
but i getting error:
Scene 1, Layer 'actions', Frame 1, Line 7 | 1086: Syntax error: expecting semicolon before "x". |
Code:
scrRes.text = (String(Capabilities.screenResolutionX)) "x" (String(Capabilities.screenResolutionY));
scrRes.text = (String(Capabilities.screenResolutionX)) + "x" + (String(Capabilities.screenResolutionY));
Copy link to clipboard
Copied
scrRes.text = (String(Capabilities.screenResolutionX)) + "x" + (String(Capabilities.screenResolutionY));
Copy link to clipboard
Copied
yaa working .
Thank you...