0 Replies Latest reply on Jul 15, 2011 11:01 AM by bmilesp

    dispatch toolTipCreate events in child elements?

    bmilesp Level 1

      I have a parent container that houses three child objects that have tooltips associated to them. on the parent container i have a mouseover event handler that's triggering the toolTipCreate events on the children like so:

       

      protected function button_mouseOverHandler(event:MouseEvent):void
                  {
                      childA.dispatchEvent(new ToolTipEvent(ToolTipEvent.TOOL_TIP_CREATE));
                      childB.dispatchEvent(new ToolTipEvent(ToolTipEvent.TOOL_TIP_CREATE));
                      childC.dispatchEvent(new ToolTipEvent(ToolTipEvent.TOOL_TIP_CREATE));
                  }

       

      but this doesn't activate the toolTips of the children. Is there a way to activate the toolTips of the children all at once when mousing over the parent container?