7 Replies Latest reply on Nov 22, 2010 11:33 PM by MartinHviid

    Bind a data from list with tooltip

    YuHsin4221123 Level 1

      Is it possible to do it? I am trying to do it with the following code


      private function createCustomToolTip(event:ToolTipEvent):void {

                      var dataid:String = (event.currentTarget as List).selectedItem.expertdetail;


                      var toolTip:CustomToolTip = new CustomToolTip();


                      event.toolTip = toolTip;






      I think the problem lies with the event:ToolTipEvent, is there anyway to allow this method to retrieve the expertdetail and display the tooltip?