Skip navigation
HollandRisley
Currently Being Moderated

Cursors don't change - ButtonMode=true - CS6 Mac Projector

Apr 10, 2013 2:42 AM

Tags: #flash #as3 #projector #cursor #hand #buttonmode #usehandcursor

Hi All,

 

The problem is that in a Flash Projector created from CS6, the hand / finger cursor does not appear when rolling over buttons, only when in Full Screen mode.

 

I have created a test FLA here to demonstrate the problem (you have to compile as MAC App then manually go to full screen mode). Is this a known problem?

 

Thanks in advance.

 

Simple FLA download here (5.4kb)

 

The timeline has 1 frame and the stage has a single movieclip buttonMC containing 1 rectangle only. The first frame has the following code. I have also tried adding .mouseChildren = false:

 

 

buttonMC.addEventListener(MouseEvent.CLICK, Clicked);

buttonMC.addEventListener(MouseEvent.ROLL_OVER, MouseOver, false, 0, true);

buttonMC.addEventListener(MouseEvent.ROLL_OUT, MouseOut, false, 0, true);

 

 

buttonMC.buttonMode = true;

buttonMC.useHandCursor = true;

 

 

function Clicked(event:MouseEvent) {

          trace("Clicked");

}

 

function MouseOver(event:MouseEvent):void{

          trace("MouseOVer");

}

 

function MouseOut(event:MouseEvent):void{

            trace("MouseOut");

}

 
Replies
  • kglad
    72,221 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 10, 2013 8:46 AM   in reply to HollandRisley

    if you're publishing for 11.3 or better, you could try using fullScreenInteractive instead of fullScreen for the stage displayState.

     
    |
    Mark as:
  • Currently Being Moderated
    Apr 11, 2013 5:44 AM   in reply to HollandRisley

    Make a custom cursor like this one and recreate the standard MacOS handCursor.

     
    |
    Mark as:
  • kglad
    72,221 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 11, 2013 6:53 AM   in reply to HollandRisley

    when you publish a projector file, you add a flash player to your app and you do target particular flash players.  that's why, if you publish a projector file, it's still larger than a few mb.

     
    |
    Mark as:
  • kglad
    72,221 posts
    Jul 21, 2002
    Currently Being Moderated
    Apr 11, 2013 7:51 AM   in reply to HollandRisley

    update (help>updates) your flash.  i have 11.3 and 11.4 as fp options for cs6.

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 21, 2013 12:34 PM   in reply to HollandRisley

    Wondering if anyone has figured this out yet? Thanks!

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points