# Error creating AIR file

**URL:** <https://forum.kirupa.com/t/error-creating-air-file/300338>\
**Category:** flash\
**Created:** [November 19, 2009, 12:38pm UTC](https://forum.kirupa.com/t/error-creating-air-file/300338 "2009-11-19T12:38:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kadaj](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/kadaj/32/9061_2.png) [@kadaj](https://forum.kirupa.com/u/kadaj)\
**Post date:** [November 19, 2009, 12:38pm UTC](https://forum.kirupa.com/t/error-creating-air-file/300338/1 "2009-11-19T12:38:44Z")

</div>

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.
