Security.hx 397 B

1234567891011121314151617
  1. package flash.system;
  2. extern class Security
  3. {
  4. static function allowDomain( domain : String ):Void;
  5. static function allowInsecureDomain( domain : String ):Void;
  6. static function loadPolicyFile(url:String):Void;
  7. #if flash8
  8. static var sandboxType(default,null) : String;
  9. #end
  10. private static function __init__() : Void untyped {
  11. flash.system.Security = _global["System"]["security"];
  12. }
  13. }