home *** CD-ROM | disk | FTP | other *** search
- package Code.LIB
- {
- import flash.display.Stage;
-
- public class _bm350
- {
-
- public static var showMochi:Boolean = false;
-
- private static var iURL:String;
-
- public static var lives:int = 0;
-
- public static var scoreSubmitted:Boolean = false;
-
- public static var prStage:Stage;
-
- private static var iDx:Number;
-
- public static var iNative:Boolean = false;
-
- private static var iScale:Number = 1;
-
- private static var iDy:Number;
-
- public static var iDebug:Boolean = false;
-
-
- public function _bm350()
- {
- super();
- }
-
- public static function _ij151() : void
- {
- var _loc1_:Number = NaN;
- var _loc2_:Number = NaN;
- var _loc3_:Number = NaN;
- var _loc4_:Number = NaN;
- _loc1_ = prStage.stageWidth;
- _loc2_ = prStage.stageHeight;
- _loc3_ = _loc1_ / 800;
- _loc4_ = _loc2_ / 600;
- iScale = _loc3_ < _loc4_ ? _loc3_ : _loc4_;
- if(iScale > 1.5)
- {
- iScale = 1.3;
- }
- _aq429((_bm350.prStage.stageWidth - 800 * _tc204) / 2,(_bm350.prStage.stageHeight - 600 * _tc204) / 2);
- }
-
- public static function get _st175() : Number
- {
- return iDy / _tc204;
- }
-
- public static function get _cg260() : Number
- {
- return iDx / _tc204;
- }
-
- public static function _aq429(param1:Number, param2:Number) : void
- {
- iDx = param1;
- iDy = param2;
- trace(iDx," ",iDy);
- }
-
- public static function set _dt66(param1:String) : void
- {
- var _loc2_:String = null;
- var _loc3_:Array = null;
- iURL = param1.substring(0,29);
- _loc2_ = param1.slice(0,param1.length);
- _loc2_.toLowerCase();
- _loc3_ = _loc2_.split("/");
- iNative = true;
- if(_loc2_.indexOf("http://") == 0 || _loc2_.indexOf("https://") == 0)
- {
- if(String(_loc3_[2]).indexOf("bibagames.com") == -1)
- {
- iNative = false;
- }
- }
- }
-
- public static function get _tc204() : Number
- {
- return iScale;
- }
-
- public static function get _dt66() : String
- {
- return iURL;
- }
- }
- }
-