Hi

I have a example.
Hava a look following code.

------------------------------------------------------------

<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; 
initialize="setStyles()"
  xmlns="*" verticalGap="0">

     <mx:Script>
     <![CDATA[
         import mx.styles.StyleManager;

     function setStyles() {
       //StyleManager.styles.ErrorTip.fontSize =20;
       StyleManager.styles.ErrorTip.setStyle("fontSize",20);
       StyleManager.styles.ErrorTip.setStyle("color",0x000000);
       StyleManager.styles.ErrorTip.setStyle("borderColor",0xFFFFCC);
       StyleManager.styles.ErrorTip.setStyle("marginBottom",0);
       StyleManager.styles.ErrorTip.setStyle("marginLeft",0);
       StyleManager.styles.ErrorTip.setStyle("marginRight",0);
       StyleManager.styles.ErrorTip.setStyle("marginTop",0);

       //StyleManager.styles.ToolTip.fontSize = 20;
       StyleManager.styles.ToolTip.setStyle("fontSize",20);
       StyleManager.styles.ToolTip.setStyle("borderColor",0xCCFFFF);
     }

     ]]>
     </mx:Script>
     <mx:Model id="sample">
         <number>{number.text}</number>
     </mx:Model>

     <mx:NumberValidator field="sample.number" invalidCharError="invalid 
char error!!!"/>

         <mx:Form>
             <mx:FormItem label="Name" required="true">
                 <mx:Text text="on mouse over" toolTip="big tool tip 
text right?" />
                 <mx:TextInput id="number" width="200"/>
             </mx:FormItem>
         </mx:Form>

</mx:Application>



Best regards,
Yokota Satoshi,
[EMAIL PROTECTED]

rockmoyosa wrote:
> --- In [email protected], "rockmoyosa" <[EMAIL PROTECTED]> wrote:
> 
>>Is ther A simple way to, for example, change backgroundcolor of a
>>tooltip of a textinput. 
>>
>>Both (mouseover) tooltip as validation tooltip?
> 
> Anybody how do you custimize the validation message, backgroundColor,
> font-family, etc....
> 
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 




 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to