• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
0

get screen screenResolution ?

Engaged ,
Apr 23, 2012 Apr 23, 2012

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 71086: Syntax error: expecting semicolon before "x".

Code:

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

TOPICS
ActionScript

Views

518

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Advocate , Apr 23, 2012 Apr 23, 2012

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

Votes

Translate

Translate
Advocate ,
Apr 23, 2012 Apr 23, 2012

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Apr 23, 2012 Apr 23, 2012

Copy link to clipboard

Copied

LATEST

yaa working .

Thank you...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines