package { import flash.display.Sprite; import flash.system.Security; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFieldType; import flash.text.TextFormat; /** * SecuritySandBox * @author Copyright (C) naoto koshikawa, All Rights Reserved. */ public class SecuritySandBox extends Sprite { //---------------------------------------------------------------------- // static properties //---------------------------------------------------------------------- //------------------------------ // private static properties //------------------------------ /** * テキストのフォント */ private static const TEXT_FONT:String = "_等幅"; /** * テキストのフォントサイズ */ private static const TEXT_FONT_SIZE:Number = 14; /** * テキストの色 */ private static const TEXT_COLOR:uint = 0x111111; //---------------------------------------------------------------------- // properties //---------------------------------------------------------------------- //------------------------------ // private properties //------------------------------ /** * デバッグ用のテキストフィールド */ private var _textField:TextField; //---------------------------------------------------------------------- // methods //---------------------------------------------------------------------- //------------------------------ // public methods //------------------------------ /** * constructor */ public function SecuritySandBox() { buildUI(); _textField.text = "Security.sandboxType:" + Security.sandboxType; } //------------------------------ // private methods //------------------------------ /** * テキストフィールドを作成します */ private function buildUI():void { _textField = new TextField(); _textField.type = TextFieldType.DYNAMIC; _textField.defaultTextFormat = new TextFormat( TEXT_FONT, TEXT_FONT_SIZE, TEXT_COLOR); _textField.autoSize = TextFieldAutoSize.LEFT; _textField.width = _textField.height = 0; addChild(_textField); } } } Security.sandboxTypeの確認(そりゃremoteになりますよ)