Imjake9
02-16-2009, 07:21 PM
I am creating my first AIR application, using Flash CS4. I have finished my application's beta version, and want to publish it. So, I went into the AIR Application and installer settings and set the options to the following:
File Name: JVPlayer
Name: jvinstaller
Version: 0.1
ID: my.applications.player
Description: (Blank)
Copyright: (Blank)
Window Style: System Chrome
---Icons---
(All in order, files set.)
---Advanced---
(All default)
-------------------------------
[::] Use custom application descriptor file. (Unchecked)
---Installer Settings---
---Digital Signature Settings---
(Self signed certificate)
---Destination---
C:\Users\Jake\Documents\Flash\JVPlayer.air
---Included Files---
C:\Users\Jake\Documents\Flash\JVPlayer.swf
C:\Users\Jake\Documents\Flash\JVPlayer-app.xml
-----------------------------------------------------------------
So, I press Publish AIR File, and a dialog box appears:
-----------------------------------------------------------------
Error creating air file.
An attribute or element contains an invalid value in the application descriptor file.
(application.initialWindow.content)
-----------------------------------------------------------------
So, I open up the file, and everything seems to be in order. Here's the contents of the initialWindow element:
<initialWindow>
<content>myApplication.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
</initialWindow>
So, whats the problem? :confused:
File Name: JVPlayer
Name: jvinstaller
Version: 0.1
ID: my.applications.player
Description: (Blank)
Copyright: (Blank)
Window Style: System Chrome
---Icons---
(All in order, files set.)
---Advanced---
(All default)
-------------------------------
[::] Use custom application descriptor file. (Unchecked)
---Installer Settings---
---Digital Signature Settings---
(Self signed certificate)
---Destination---
C:\Users\Jake\Documents\Flash\JVPlayer.air
---Included Files---
C:\Users\Jake\Documents\Flash\JVPlayer.swf
C:\Users\Jake\Documents\Flash\JVPlayer-app.xml
-----------------------------------------------------------------
So, I press Publish AIR File, and a dialog box appears:
-----------------------------------------------------------------
Error creating air file.
An attribute or element contains an invalid value in the application descriptor file.
(application.initialWindow.content)
-----------------------------------------------------------------
So, I open up the file, and everything seems to be in order. Here's the contents of the initialWindow element:
<initialWindow>
<content>myApplication.swf</content>
<systemChrome>standard</systemChrome>
<transparent>false</transparent>
<visible>true</visible>
</initialWindow>
So, whats the problem? :confused: