Change the cursor to cursor hand construction

I work with CS4 with AS 3. I defined a MovieClip library symbol. I want the cursor to hand when the mouse is on it.

The scene has a single instance of the symbol with the name "btn".

I tried the following in the first frame of the symbol:

this.addEventListener (MouseEvent.ROLL_OVER, overHand);
function overHand(e:MouseEvent):void {}
Mouse.Cursor = "main";
}

There was an error. Then, I tried this in the first frame of the scene:


this.btn.addEventListener (MouseEvent.ROLL_OVER, overHand);
function overHand(e:MouseEvent):void {}
this.btn.Mouse.cursor = "main";
}

This gives an error on each roll on. Can someone tell me how to change the cursor by hand for the MovieClip?

You don't need to make it happen in the case where the code management.  Just assign:

btn.buttonMode = true;

Tags: Adobe Animate

Similar Questions

Maybe you are looking for

  • stop taking too long after upgrade sierra - about 20 minutes

    After upgrading to Mac OS sierra, does take about 20-25 minutes for the stop. After command to shutdown or restart, screen off, lights remain on for keyboard and apple logo. MacBook Pro (retina, 13 inch, mid-2014)

  • Qosmio G40 and Windows 7 upgrade

    Hello Can someone tell me please on why Toshiba has no support for the Qosmio G40 when it comes to upgrading to windows 7?

  • Total crash after drive HARD on Satellite A300 recovery

    Well at first, my computer has started making weird as I was not able to use firefox or msn because it said that there is no connection. But he has shown there is a link and my download manager was still in download. So I rebooted my pc and he could

  • OCR increases my memory...

    Hello... I'm developing an application in VB.NET 2005, the problem is when I use the NIOCR ActiveX control in my application, the memory increases and is unable to manage. I saw another post with the same problem, but there is not an effective respon

  • How to transfer contineously updated data of sub vi VI main

    Hello Mr President I'm using one of the below attached vi vi Sub and sub vi to hand data transfer. During execution data are updated under vi, but he was not transferred to vi main, is there any setting it takes played in labview to transfer data fro