RE: [Flashcoders] Changing Green (halogreen) highlight color
_global.style.setStyle(themeColor, 0x6092B8); Replace 0x6092B8 with whatever color you want. You can even use string literals like haloGreen, haloBlue, etc. -=matt -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Helmut Granda Sent: Tuesday, April 24, 2007 12:04 PM To: Flashcoders mailing list Subject: [Flashcoders] Changing Green (halogreen) highlight color Is there anyway to change the green highlight color for components without having to create a custom skin (The green/orange/blue highlight when the component has focus) ? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Changing Green (halogreen) highlight color
I believe you can use the setStyle function to do it. For instance, in some of my code where I'm setting up a combo box I have this (I forget which color setting actually changes the focus rectangle, but I think it's 'themeColor'): comboBox.setStyle('themeColor', 0x007CBA); comboBox.setStyle('borderStyle', 'solid'); comboBox.setStyle('borderColor', 0x6E6E6D); comboBox.setStyle('fontSize', 10); Or, to turn it off I do: comboBox.drawFocus = null; -Andy On 4/24/07, Helmut Granda [EMAIL PROTECTED] wrote: Is there anyway to change the green highlight color for components without having to create a custom skin (The green/orange/blue highlight when the component has focus) ? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Changing Green (halogreen) highlight color
setStyle(themeColor, red ( or 0xFF or whatever ) ); From: Helmut Granda [EMAIL PROTECTED] Date: 2007/04/24 Tue PM 02:04:23 CDT To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Changing Green (halogreen) highlight color Is there anyway to change the green highlight color for components without having to create a custom skin (The green/orange/blue highlight when the component has focus) ? TIA ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- John Mark Hawley The Nilbog Group 773.968.4980 (cell) ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com