home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / mx / utils / SecurityUtil.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  607 b   |  28 lines

  1. package mx.utils
  2. {
  3.    import mx.core.ISWFBridgeProvider;
  4.    import mx.core.mx_internal;
  5.    
  6.    use namespace mx_internal;
  7.    
  8.    public class SecurityUtil
  9.    {
  10.       mx_internal static const VERSION:String = "3.5.0.12683";
  11.       
  12.       public function SecurityUtil()
  13.       {
  14.          super();
  15.       }
  16.       
  17.       public static function hasMutualTrustBetweenParentAndChild(param1:ISWFBridgeProvider) : Boolean
  18.       {
  19.          if(param1 && param1.childAllowsParent && param1.parentAllowsChild)
  20.          {
  21.             return true;
  22.          }
  23.          return false;
  24.       }
  25.    }
  26. }
  27.  
  28.