/* * Copyright(c) 2008 the Spark project. * * Licensed under the Apache License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 * * 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. */ package{ import flash.display.Sprite; import flash.display.Stage; import flash.display.StageAlign; import flash.display.StageScaleMode; import jp.cohesion.common.IKernel; /* == [Project Cohesion] =================================================== */ /** * Cohesion サーバ接続情報 * * @author $Author$ * @revision $Rev$ * @date $Date$ */ public class CHConfig extends Sprite { /** デバッグモード */ public static const DEBUG_MODE:Boolean = true; /** 接続先Cohesion Server ホスト名 */ public static const HOST:String = "localhost"; /** 接続先Cohesion Server ポート番号 */ public static const PORT:int = 843; /** 接続先Cohesion Server Socklet */ public static const SOCKLET:String = "cohesion"; /** シェアドオブジェクト名 */ public static const SHARED_OBJECT_NAME:String = "COHESION_Shared"; /** モジュールムービー保管ディレクトリ(Main.swfからの相対パス) */ public static const MODULES:String = "modules"; /** * ステージを初期化します。 * Main.swfのプリローダから呼ばれます。 * * @param stage */ public function initialize(stage:Stage):void { stage.stageFocusRect = false; stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; } } }