0 Replies Latest reply on Jul 19, 2011 2:55 PM by dbrecht42

    Flash CS5 compiler options broken?


      Hi all,


      So, I've formally logged a bug against this with Adobe as I've been beating my head against a wall trying to understand why this won't work, but I'm hoping that it's perhaps something within the Flash IDE that I'm setting incorrectly (or not setting at all) that is causing the issue that I'm encountering:


      I've created a container .fla that uses classes that are defined in an externally loaded swc, child.swc. I've added the .swc in the container's library path (Publish Settings > AS 3.0 Settings > Library Path) and have set its "Link Type" as "Exernal". According to Adobe's docs here http://help.adobe.com/en_US/flash/cs/using/WS3e7c64e37a1d85e1e229110db38dec34-7fa4a.html:


      "External: The code resources found in the path are not added to the published SWF file, but the compiler verifies that they are in the locations you specified."


      However, when using FlashDevelop's swf browsing utility after publishing the fla (and having used a reference to the class in the container class), I see that the class definition is still being added to container.swf.



      Now, if I use compc and mxmlc with the appropriate options (-link-report and -load-externs), I can exclude child classes as needed and all functions as expected. However, when setting what seems to be the same options in the Flash IDE, it does not provide the same output. Unfortunately, I have some use cases where the use of the Flash IDE is essential, so a workaround would be painful.


      Is this a known issue, or is there something that I'm just doing wrong (or are my expectations incorrect) in the IDE?


      Thanks in advance.