2 Replies Latest reply: Apr 23, 2012 2:55 AM by Venkom RSS

    get screen screenResolution ?

    Venkom Community Member

      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));