There are quite a few ways to do this. here is 'quickie' that comes to mind. Create a function that wraps ToolTip styles.
private function setToolTipStyle( font:String = "normal", size:String = "19", family:String = "Arial", color:String = "#000000", bgColor:String = "#BBEEEE" ):void { StyleManager.getStyleDeclaration("ToolTip").setStyle("fontStyle", font); StyleManager.getStyleDeclaration("ToolTip").setStyle("fontSize", size); StyleManager.getStyleDeclaration("ToolTip").setStyle("fontFamily", family); StyleManager.getStyleDelaration("ToolTip").setStyle("color", color); StyleManager.getStyleDeclaration("ToolTip").setStyle("backgroundColor", bgColor); } Then use the toolTipCreate event to do the magic as follows. <mx:Button label="Button" toolTip="foo bar" toolTipCreate="setToolTipStyle('italic', '10', 'Arial', '#FF0000', '#CCCCCC');"/> This approach can be used/applied to ToolTip skinning as well. Cheers, Rick Winscot From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cougar_shuttle Sent: Tuesday, March 04, 2008 1:23 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How can I change ToolTip styles for each tooltip in an application? It seems like the only way to manipulate ToolTip style is through the css ToolTip. I'd like to have different styles for different tooltips. How would that be done?
<<image001.jpg>>