This content has been marked as final. Show 3 replies
If the path starts with a slash character, Flex first searches the directory of the MXML file for the asset, and then it searches the source path. You specify the source path to the Flex compiler by using the source-path compiler option. For example, you set the source-path option as the following code shows:
Flex first searches for the file in a1/assets, then in a2/assets, and then in a3/assets. If the image is not found, Flex searches for the image in the SWC files associated with the application.
If the MXML file is in the a2 directory, as in a2/testEmbed.mxml, Flex first searches the a2 directory and then the directories specified by the source-path option.
Thanks for the reply. We were missing the slash character at the beginning of the path. After changing this, our build works fine now. Do you know why Flex Builder 3 is inconsistent with the compc compiler?
Flex Builder 3 regards your source code path as the default compiled source path.