Skip navigation
Currently Being Moderated

Minimize in MAC OS

Apr 2, 2012 10:42 AM

Tags: #mac #os #minimize

Hi,

 

I have a cross platform Air application developed in Flash and when running it on the MAC OS if the window is minimized, it bounces back up immediately.  I'd appreciate any ideas you may have for solving this.

 

Best,

 

Chris McLaughlin

 
Replies
  • Currently Being Moderated
    Apr 5, 2012 11:50 AM   in reply to Chris McLaughlin

    Without seeing your code, try this....works for me...

     

    your_button_name..addEventListener(MouseEvent.MOUSE_UP, minimizeProgram);

     

    function minimizeProgram(event:MouseEvent):void{

        stage.nativeWindow.minimize();

    }

     
    |
    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