2 Replies Latest reply on Sep 27, 2006 11:26 PM by doug777

    useHandCursor

    doug777 Level 1
      <?xml version="1.0" encoding="utf-8"?>
      <mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml" xmlns="*" creationComplete = "initApp()">
      <mx:Script>
      <![CDATA[
      import mx.controls.Label;

      public function initApp():void{
      var myTxt:Label = new Label();
      page.addChild(myTxt);
      myTxt.buttonMode = true;
      myTxt.useHandCursor = true;
      myTxt.text = "Roll over to see the hand cursor";
      page.addChild(myTxt);
      }
      ]]>
      </mx:Script>

      <mx:Panel id="page" width="300" height="150" />

      </mx:Application>

      Doug