You can click on the Export Release build button in the top toolbar or from the menu select , Project > Export Release Build
I think it does. Did you compare the module swf size in bin-debug and bin-release folders
There is no module in the release folder
Okay. Right click project and select properties.Click on the Flex Modules Tab. Check if your module is listed there. If not add it. You should see the module swf in the release folder after export.
My mistake, I forgot that the release build maintains ithe original folder structure and my modules were in there
Somehow this code works fine in the bebug version
privilegesML.url = 'modules/Privileges.swf';
but in the release one the module is blank.
The paths are the same just in different root folders..
My mistake, I didn't realise that the module load was relative to the cfm page, not the location of the swf