2 Replies Latest reply on Nov 19, 2008 8:14 AM by nvihinen

    Embed img using mxmlc, Linux/gij

    Flajax
      Hi,

      I'm trying to embed an image into a .swf. I am compiling from a .as file using mxmlc on Linux using gij 4.1.1. The compile step always generates the following fatal error:

      MyTest.as(60): col: 3: Error: exception during transcoding: Failed to grab pixels for image /files/test.png

      It fails likewise for GIF, JPG, etc. Fails regardless of filetype.

      Source code is just a simple embed directive:
      [Embed(source='./test.png')]
      private var MyPhoto:Class;

      Anyone else seen this?