Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flash/display/StageScaleMode",["module","exports","as3-rt/AS3"], function($module,$exports,AS3) { AS3.compilationUnit($module,$exports,function($primaryDeclaration){/*package flash.display {


/**
 * The StageScaleMode class provides values for the <code>Stage.scaleMode</code> property.
 * @see Stage#scaleMode
 *
 * /
public final class StageScaleMode {
  /**
   * Specifies that the entire application be visible in the specified area without trying to preserve the original aspect ratio. Distortion can occur.
   * /
  public static const EXACT_FIT:String = "exactFit";
  /**
   * Specifies that the entire application fill the specified area, without distortion but possibly with some cropping, while maintaining the original aspect ratio of the application.
   * /
  public static const NO_BORDER:String = "noBorder";
  /**
   * Specifies that the size of the application be fixed, so that it remains unchanged even as the size of the player window changes. Cropping might occur if the player window is smaller than the content.
   * /
  public static const NO_SCALE:String = "noScale";
  /**
   * Specifies that the entire application be visible in the specified area without distortion while maintaining the original aspect ratio of the application. Borders can appear on two sides of the application.
   * /
  public static const SHOW_ALL:String = "showAll";
}*/function StageScaleMode() {}/*
}

============================================== Jangaroo part ==============================================*/
    $primaryDeclaration(AS3.class_($module, {
      members: {constructor: StageScaleMode},
      staticMembers: {
        EXACT_FIT: "exactFit",
        NO_BORDER: "noBorder",
        NO_SCALE: "noScale",
        SHOW_ALL: "showAll"
      }
    }));
  });
});
//# sourceMappingURL=StageScaleMode.js.map
New to GrepCode? Check out our FAQ X