6 Replies Latest reply on Aug 13, 2008 2:30 PM by Gregory Lafrance

    Changing an alert to a mouse-over

      Hi, I think this is a pretty simple question.

      I am trying customize an open source component I found online, it is written so that if the user clicks on it they see an alert with some information.

      I want to change this to behave like a normal mouseover or tooltip. I can't seem to find quite the right syntax.

      This is my function:

      private function showToolTip():void {
      Alert.show("Low Goal Percentage: " + lowGoalPercentage + "%\n" + "High Goal Percentage: " + highGoalPercentage + "%\n\n" + "Actual Percentage: " + actualPercentage + "%", 'DataTip');

      I'd like to change this from an alert, to a tooltip, just an ordinary mouse-over.