I am using Flash CS4 to develop AIR Application.
i cannot import air.update and air.net package in my main fla file.
It shows error. The errors are
1172: Definition air.update could not be found.
1172: Definition air.net could not be found.
How can i solve this?
You will need to tell the compiler where to find the SWC files for these packages. In CS4, you can do this on the Publish settings dialog, under the Flash tab, by clicking the ActionScript 3.0 Settings button. This will open the Advanced ActionScript 3.0 Settings dialog. Add the SWC files to the Library Path.
(You also must be publishing for AIR, not Flash Player.)
I am publishing in AIR only. But i forgot to add SWC in the library path.
Thanks for your help.