Skip to main content
Inspiring
October 30, 2014
Question

Flash Pro discards AIR icon information.

  • October 30, 2014
  • 4 replies
  • 3405 views

In Flash Pro, when switching between AIR for Android and iOS, the IDE discards icon information. This is especially frustrating since there are 16 or so icon sizes for iOS. Am I overlooking something or is it really this bad?

This topic has been closed for replies.

4 replies

Known Participant
May 12, 2015

Related problem is the iOS load images. They must be embedded in general tab, but the images are not needed for Android. If you don't want to have extra MBs in your APK, you should remove the embedded images every time you switch and add them back after.

Known Participant
May 12, 2015

I tried it with AIR 18 beta. Still same...

I think one workaround could be to package manually with ADT.

Second could be to embed the icons in general tab's "included files".

Have not time now to test it.

Colin Holgate
Inspiring
May 12, 2015

I think the problem of losing icons when switching platforms won't go away, and in some ways it doesn't matter. Mainly because the icons for iOS are going to be different to Android. All iOS icons need to be a square, whereas the Android ones are likely to have rounded transparent corners built into them

When you're getting near the end of development it's worth having two FLAs, and different app descriptor files too. Then you can get rid of the iOS splash screens in the Android FLA, and not have to worry anymore about losing icons in the app descriptor files.

Known Participant
May 12, 2015

Its too bad for me to have 2 fla's of one project. Then I should copy-paste all the fixes or changes I make and if I forget any.... Then find the bug game again.

The packing process should not be so bad. It looks like Adobe spent only a couple of minutes on the AIR packaging interface or newbie made it.

Would be great if they fix it.

itlancer
Inspiring
October 31, 2014

We are suffering from this issue for a long time. Adobe, please fix it!

Colin Holgate
Inspiring
October 31, 2014

It would be nice if it was fixed, but in the meantime it's pretty easy to keep a list of your iOS and Android icons, and paste the list into the xml. I generally go all the way with iOS, then switch to Android to publish there. It's not often that I'm frequently switching between the two.

One complication by the way is that there are two sets of issues. The AIR compiler would need to be changed so that it can ignore the Android icons when doing iOS, and vice versa, and Flash Pro has to be changed to not delete icons that it doesn't know. I'm not sure how closely the two teams work together, maybe they don't, and is why it can take quite some time for fixes in AIR to lead to improvements in Flash Pro.

Inspiring
October 31, 2014

Colin, I remember reading about your idea of keeping a separate list of icons and pasting it into the xml a few years ago. I liked it and started using it too. But honestly, I don't like messing with the xml file because of a chance to introduce errors. Some people, including myself, switch between iOS and Android all the time. Changing icons manually is a major pain.

You are saying that not deleting the icons will require changes in AIR compiler. How about my suggestion to enter a folder with all the icon files following some naming convention? That won't require any changes in AIR and would be straightforward to code and test. If not, I hope that somebody from Flash Pro team tells us why and I'm sure that another simple solution can be found.

Colin Holgate
Inspiring
October 30, 2014

I requested that as an improvement a long time ago. It still hasn't been fixed.

There are 19 iOS icon sizes now, and five supported Android ones (there should be more). I keep a list of the icons from the xml, and when I change from iOS to Android I just edit the xml file to set all the icons in one go.

The supported Android sizes are 36, 48, 72, 96, and 144. The iOS sizes are 29, 36, 40, 48, 50, 57, 58, 72, 76, 80, 96, 100, 114, 120, 144, 152, 180, 512, and 1024. I'm not certain yet whether the 180 one survives, but at least Flash Pro doesn't delete it.

Inspiring
October 30, 2014

I can't believe this has not been fixed. This should take a couple of hours to coding.

Why not dispense with the idea of manually opening each icon file? How about just pointing to a folder with all the icon files following some naming convention? Even better, create one icon in vector format and let Flash Pro automatically rasterize it to all the required resolutions.

Is there any hope that Adobe fixes this?