I keep getting an error when trying to export an assembly of an AIR release:
Error creating AIR file: Foo-app.xml: error 303: icon /C:/Users/Fred/AppData/Local/Temp/assets/icon_16.png is missing from the package
The directory is as follows:
Foo/
src/
assets/
bin/
app-xml indicates the icons as
<icon>
<image16x16>assets/icon_16.png</image16x16>
<image32x32>assets/icon_32.png</image32x32>
<image48x48>assets/icon_48.png</image48x48>
</icon>
I tried moving the assets / bin directory to bin / and putting the parent pronoun (..) in the tag.
I embed images in the application this way:
[Embed(source="../assets/biocurious_logo.png")]
public var applicationIconClass : Class;
[Embed(source="../assets/biocurious_eye_16_16.png")]
public var applicationIcon16Class : Class;
[Embed(source="../assets/biocurious_eye_32_32.png")]
public var applicationIcon32Class : Class;
[Embed(source="../assets/biocurious_logo_48_48.png")]
public var applicationIcon48Class : Class;
[Embed(source="../assets/biocurious_logo_128_128.png")]
public var applicationIcon128Class : Class;
The compiler does not complain that it cannot find files.
I fulfilled the specified requests here and used Google in general. I have no idea what to do next.
Any ideas?
source
share