0 Replies Latest reply on Dec 13, 2006 3:12 PM by bhleonard

    embedding gifs

    bhleonard
      The dev guide (p896) says that when using the Embed metadata to embed a gif, the compiler searches the source paths to find the asset if the path begins with a slash. I can't seem to get this to work. Given this:

      src/eg/Main.as -> [Embed(source="/image.gif")]
      assets/image.gif

      mxmlc -compiler.source-path+=assets

      The compiler errors out with:
      ... Error: unable to resolve '/image.gif' for transcoding

      It will embed if I set the embed path to one relative to the Main.as file, so the compiler seems to be ignoring the -compiler.source-path directive.