1 Reply Latest reply on Nov 7, 2007 1:04 PM by estacado1

    Why doesn't hand cursor show up even after I set it to true?

    estacado1
      I have a text that I want to make the cursor change to hand cursor on mouse over. The code is below:

      import flash.display.Sprite;

      var testText:Text = new Text;
      testText.text = "hello";
      testText.selectable = false;

      testText.addEventListener(MouseEvent.MOUSE_OVER,
      function(event:MouseEvent):void{
      event.currentTarget.buttonMode = true;
      event.currentTarget.useHandCursor = true;
      });

      addChild(testText);

      But the hand cursor isn't showing. Anybody know why?