I cant see to figure out what is wrong with this code.
minimize.buttonMode = true;
i get the error:
Scene 1, Layer 'Actions', Frame 1, Line 105 1061: Call to a possibly undefined method minimize through a reference with static type flash.desktop:NativeApplication.
the nativeapplication class doesn't have a minimize() method. you want to use the nativewindow class.