How to set icon to an adobe air application

airapache-flexiconstaskbar

I am developing an Adobe Air app. I need to set an icon to the app so it is shown on the task bar. I added the icon tag to the descriptor file but it is not working and I really don't know why, any ideas?

Best Answer

Two things that might be throwing you off:

1) the icons block is commented out by default in the auto-generated descriptor file, and is an easy thing to overlook

2) the icons specified in a descriptor file don't appear in the app unless you build a release build, and install the resulting .air file. A debug build will only show the AIR icon.

At least these are the behaviors I experience in Flash Builder 4.