Flex/Actionscript: Unable to add archive file

Posted by biggusjimmus on Stack Overflow See other posts from Stack Overflow or by biggusjimmus
Published on 2010-05-21T17:33:05Z Indexed on 2010/05/21 17:40 UTC
Read the original article Hit count: 431

Filed under:
|
|
|

I have an Flex 4 application that I am developing in Flash Builder 4. I'm trying to use a library developed by a coworker, which was delivered as an SWC.

I added the library to the Library Path in the project properties. Component set: MX + Spark, Framework linkage: Merged into code.

When I attempt to instantiate a component from this library, I get the following error:

unable to add archive file: [library].swc$locale\en_US\..\..\resources\images\AcceptButton.png (The system cannot find the path specified)

When I unzip [library].swc, the image does exist in .\resources\images\AcceptButton.png as I would expect.

Any suggestions to go about resolving this would be much appreciated.

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript