8 Replies Latest reply on Mar 9, 2017 5:12 AM by Andy_Bat1

    problems in old scripts with PS СС2015

    Andy_Bat1 Level 1

      stopped working old scripts with the command

      ScriptUI.newImage(imgs[0]); 
      

      Error - Invalid image data. In JS Guide write:

       

      ScriptUI.newImage ( normal, disabled, pressed, rollover );

      normal  - The resource name or path to the image to use for the normal or default state.

       

      I tried to specify the path to the file with the text to make a resource using File(). The error does not change.

      Please tell me how to fix it ?