Flex "URL or Path to launch" problem

Hi all, I hope this is the right place to post this
I am working on a flex project in AS3 (no mxml)… I unchecked the “Generate Html wrapper file” and when I compile for debug it works fine in my target deployment path (which is called WWW).

my problem is:
if my document class is on the root of the sources folder, the generated SWF will be on the root of the Deployment folder (WWW/main.swf) … but if my document class is inside a package like com.projectName.main.as for example, the generated swf file will be:
**WWW/com/projectName/main.swf **
and if I uncheck the “use defaults” in the URL or Path to launch field in the project’s run/debug settings, I get an error message that says: Launch failed, file not found: D:/project/WWW/main.swf

it only worked if I check Use defaults which will go back to generating the subfolders that I don’t need…

any idea how I can fix that issue without having to manually copy the file from the unnecessay subfolders to put it back on the root of the output folder?

thanks a million for any help