Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Later
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
Unzip attached projects and add them in FB workspace and then compile
Description:
ZLibrary1 contains a .properties file embeding binary assets (images). The binary assets are located in locale/en_US/images/, as explained at http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f3a.html
They are used in a MXML component Component1 by calling resourceManager.getClass("mybundle","myprop") method
ZLibrary2 is using Zlibrary1 (added in its build bath); an instance of Component1 is added in a MXML Component2.
ZApplication is using Zlibrary2 in order to add a Component2 into the Application.mxml
Actual Results:
When building the projects I get the following error in ZLibrary2:
"unable to add archive file: C:\Development\Flex\diagramFlex\ZLibrary2\src\flex\images\flexlogo.jpg (The system cannot find the path specified) "
ZApplication is not compiled because ZLibrary2.swc is not built
Expected Results:
No error
Workaround (if any):
In ZLibrary2 project properties, changing the Link Type of ZLibrary1 to "External".
But I can not force people who want to use ZLibrary1 in their own libs to use the "external" link type.