/*----------------------------------------------------------------------------- The contents of this file are subject to the Mozilla Public License Version 1.1 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at http://www.mozilla.org/MPL/MPL-1.1.html Software distributed under the License is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License. The Original Code is Fever Framework code. The Initial Developer of the Original Code is Romain Ecarnot. Portions created by Initial Developer are Copyright (C) 2006 the Initial Developer. All Rights Reserved. Contributor(s): Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -----------------------------------------------------------------------------*/ /** * Provides values for the Stage.scaleMode property. * * @author Romain Ecarnot */ class fever.display.style.StageScaleMode { //------------------------------------------------------------------------- // Constants definition //------------------------------------------------------------------------- /** * Specifies that the entire Flash application be visible * in the specified area without trying to preserve the original * aspect ratio. */ public static var EXACT_FIT : String = "exactFit"; /** * Specifies that entire Flash application fill the specified area, * without distortion but possibly with some cropping, while * maintaining the original aspect ratio of the application. */ public static var NO_BORDER : String = "noBorder"; /** * Specifies that the size of the Flash application be fixed, * so that it remains unchanged even as the size of the player * window changes. */ public static var NO_SCALE : String = "noScale"; /** * Specifies that the entire Flash application be visible in the * specified area without distortion while maintaining the original * aspect ratio of the application. */ public static var SHOW_ALL : String = "showAll"; //------------------------------------------------------------------------- // Private implementation //------------------------------------------------------------------------- private function StageScaleMode() {} }