2 Replies Latest reply on Jun 18, 2012 5:45 AM by bduffy323

    scriptUIImage issue

    bduffy323 Level 1

      In the below code I am getting an alert saying "Invalid Image Data".

       

      try

      {

                var myImage = ScriptUI.newImage("C:\\Users\\Brian\\Desktop\\testImage.gif")

      }

      catch(e)

      {

                alert(e)

      }

       

      I am under the impression that ScriptUI objects can accepted images in the form of a GIF from the API found here -> http://jongware.mit.edu/idcs5js/pc_ScriptUIImage.html

       

      testImage.gif

       

      This is the image I am trying to use. I'm not sure if you will be able to download it from the forums but if you can it is a good test case. This does not work on a Mac/PC on CS 5.5.

       

       

      Any help or explanations would be great! Thanks.