1 Reply Latest reply on Feb 1, 2012 2:35 AM by cdsvvxv

    HTML ToolTip in ActionScript component

    cdsvvxv

      I have been trying to get a HTML ToolTip to dislay in an ActionScript component. I have been trying this guide without luck (it works in an MXML component). I normally create my ToolTip in an .as file as follows:

       

      protected var tTip:ToolTip;
      tTip = ToolTipManager.createToolTip(toolTipText , point.x , point.y) as ToolTip;
      

       

      but when I change it to:

       

      protected var tTip:HTMLToolTip;
      ToolTipManager.toolTipClass = HTMLToolTip;
      tTip = ToolTipManager.createToolTip(toolTipText , point.x , point.y) as HTMLToolTip;
      

       

      My tTip is always null. Does anyone have any ideas why it would fail in ActionScript, or have another guide that works? I have tried several guides without success.