Error creating AIR file

When I try to Publish to AIR file,

[COLOR=#ff0000]Error Creating AIR file.[/COLOR]
[COLOR=#ff0000]The swf file specified as root content is missing. [/COLOR]

error is shown.

When I run the Publish Project from the Project Panel in Flash CS4,

The same error as earlier is obtained

my application has a TextArea control in the library added to stage via actionscript (2 textarea instances).
2 folders in applicationStorageDrectory with a database in one.The other folder will get populated with files at runtime only.

Am I missing some thing?


Sol: I moved the .fla and a folder to another fresh directory and then it creates an AIR file successfully. Strange though.