8 Replies Latest reply on Jul 16, 2011 12:55 AM by huangxinghui

    Applying tooltip styles from defaults.css file problem


      in flex library, create custom tooltip extend ToolTip


      CustomToolTip code:


      public class CustomToolTip extends ToolTip



      then i want use custom skin like ToolTipBorderSkin, so i add into defaults.css


      defaults.css code:

       borderSkin: ClassReference("my.skins.ToolTipBorderSkin");


      build it into swc file, then in my application use

      when i set textinput tips, it doesn't use the new skin


      if write this line in the application, it works fine.


      import my.controls.CustomToolTip; CustomToolTip



      i don't know why.


      Thanks for any help.