On 9/6/13 8:05 AM, "Erik de Bruin" <e...@ixsoftware.nl> wrote:

>Alex, while on the topic of Falcon: I'm trying to compile a large AIR
>application which uses embedded media from a path outside the "src"
>directory. The code is
>
>[Embed(source="./packagedMedia/buttons/notes/up.png")]
>
>If I throw this at Falcon, it complains:
>
>Error: Could not find Embed source
>'./packagedMedia/buttons/notes/up.png'. Searched
>'/Users/erik/Documents/Adobe Flash Builder
>4.7/pegasus-examSimPlayer/src/application/packagedMedia/buttons/notes/up.p
>ng',
>'./packagedMedia/buttons/notes/up.png' in SWCs on the library path
>
>Now, before I file another useless JIRA issue, is there a command line
>thingy that I need to set to tell the compiler where to look? I tried
>'source-path' with full and relative paths, but the error remains.
Did it look in the right place?  IOW, was the current dir
'/Users/erik/Documents/Adobe Flash Builder
4.7/pegasus-examSimPlayer/src/application' or is that where the main mxml
file is?

FB does some 'magic' with source paths.  If you are comparing Falcon to
FB, that may not be a fair test.  A better test is probably mxmlc from the
command line against Falcon from the command line.

-Alex

Reply via email to