View Full Version : Window Icons

11-23-2007, 12:16 AM
According to AIR documentation:

On Windows, you can change the icon that is displayed on the window system chrome title bar and in the iconified representation of the window in the task bar. To change the icon image, assign an array containing the BitmapData objects for the new image to the window's icon property. (You can use the Loader class to load image files.) Because not all windows have an icon, you should check that the property is not null before attempting to assign a value to it.

All I can say is its not working. Within WindowedApplication and Window a call to NativeWindow.supportsIcon yields true however when you call nativeWindow.icon it yields null. Dosent make sense. Am I missing something? Id like to think it was a bug since I have been tinkering around with this for several hours now, but I dont think adobe would mess up something this commonly used.

01-11-2008, 02:21 PM
If you're just trying to change the icons to your own custom icons, simply edit the four .png files in the icons folder.