4 Replies Latest reply on Jan 9, 2017 8:49 AM by aleksis63820686

    I'm trying to get hand cursor to movie clip when I roll over it

    aleksis63820686

      Hello!

       

      I'm noob to this program (animate cc)

      I'm trying to make a movie clip buttons to my website. I'm using action script 3.0, but I don't understand anything from that code language...

      I added this code (below), but It draws rectangle and I want to add the hand cursor to the whole movie clip or layer inside the movie clip.

      Any way to do this?

       

      - Aleksi

       

      var mc:MovieClip = new MovieClip();

       

       

      mc.graphics.beginFill(0);

      mc.graphics.drawRect(0,0,50,50);

      mc.graphics.endFill();

       

       

      mc.buttonMode = true;

       

       

      addChild(mc);

       

       

      mc.addEventListener(MouseEvent.CLICK, _click);

      function _click(e:MouseEvent):void

      {

          trace('a');