         }
             
         var hitTestResults:String = NativeWindowResize.NONE;
-        var borderWidth:int = resizeAffordance;           
-        var cornerSize:int = resizeAffordance * 2;
+        var resizeAfforanceWidth:Number = getStyle("resizeAffordanceWidth");
+        var borderWidth:int = resizeAfforanceWidth;
+        var cornerSize:int = resizeAfforanceWidth * 2;
         
         if (event.stageY < borderWidth)
         {

    [Bindable("windowComplete")]

    /**
     *  Specifies the minimum height of the application's window.
     *  
     *  @default dependent on the operating system and the AIR systemChrome setting. 

 *  @playerversion AIR 1.5
 *  @productversion Flex 4
 */
[SkinState("disabledAndInactive")]

//--------------------------------------
//  Other metadata
