Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Desktop, Mobile and non-browser Environments > AIR (Apollo)

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-23-2007, 01:16 AM   #1
blackelement
Nothing cant be done
 
Join Date: Nov 2007
Location: PA
Posts: 58
Send a message via AIM to blackelement Send a message via MSN to blackelement
Red face Window Icons

According to AIR documentation:
Quote:
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.
blackelement is offline   Reply With Quote
Old 01-11-2008, 03:21 PM   #2
xwielder
Senior Member
 
Join Date: Aug 2007
Location: NE Ohio
Posts: 524
Send a message via AIM to xwielder
Default

If you're just trying to change the icons to your own custom icons, simply edit the four .png files in the icons folder.

AIRApp_16.png
AIRApp_32.png
AIRApp_48.png
AIRApp_128.png
xwielder is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial for Launching a Centered Pop-Up Window vazbo ActionScript 1.0 (and below) 6 09-11-2009 11:19 PM
Controlling Browser Window via Flash Javascript buttons [via 'get url' statement]. cheeky_monkey ActionScript 1.0 (and below) 7 01-20-2009 03:30 PM
Flash windows problem jrrm2 ActionScript 2.0 1 06-11-2006 10:29 PM
A shot in the dark - !please read! seeFresh ActionScript 2.0 2 09-01-2005 04:07 PM
Login In using stand alone player, by spawning a new authenticated window. dixieflatline ActionScript 2.0 1 06-06-2005 05:20 PM


All times are GMT. The time now is 12:57 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.