0 Replies Latest reply on Oct 3, 2011 12:38 AM by lukevanin

    Flash Builder 4.5 + AIR 3.0 RC1 does not output modules to correct location

    lukevanin

      Hello

       

      I'm having some trouble with Flash Builder 4.5 and Flex SDK 4.5.1.21328 with AIR 3.0 RC1. Flash Builder does not appear to compile modules into the location set in the "Edit module" dialog.

       

      The screenshots below show that the output path of a module is set to a specific folder, yet Flash Builder compiles the module into the default sub-folder.

       

      #1. Project properties showing application modules

       

      modules-01.png

       

      #2. Dialog showing the path to the module. Not the "Output SWF" location. The default location is the same as the package namespaces, eg: "d6/v3/banners/Banners.swf". After removing the path the module should compile into the output folder (set to bin/debug), however as the next screenshot shows, the module still compiles into the default sub-folder.

      modules-02.png

       

      #3. The module is compiled into a sub-folder of the output folder, instead of into the "root" of the output folder.

      modules-03.png

       

      #4. The output folder contains only the main application, with a sub-folder for the module.

      modules-04.png

       

      #5. Project pproperties showing the output folder.

      modules-05.png

       

      There is a workaround - move the module source file into the "Default package" in the package explorer.