Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
define("as3/flash/events/DRMAuthenticationErrorEvent",["module","exports","as3-rt/AS3","as3/flash/events/ErrorEvent","as3/Error"], function($module,$exports,AS3,ErrorEvent,Error) { AS3.compilationUnit($module,$exports,function($primaryDeclaration){/*package flash.events {


/**
 * The DRMManager dispatches a DRMAuthenticationErrorEvent object when a call to the <code>authenticate()</code> method of the DRMManager object fails.
 * /
public class DRMAuthenticationErrorEvent extends ErrorEvent {
  /**
   * The content domain of the media rights server. Here, domain is not a network or Internet domain name.
   * /
  public*/ function  get$domain()/*:String*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * @private
   * /
  public*/ function  set$domain(value/*:String*/)/*:void*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * The URL of the media rights server that rejected the authentication attempt.
   * /
  public*/ function  get$serverURL()/*:String*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * @private
   * /
  public*/ function  set$serverURL(value/*:String*/)/*:void*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * A more detailed error code.
   * /
  public*/ function  get$subErrorID()/*:int*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * @private
   * /
  public*/ function  set$subErrorID(value/*:int*/)/*:void*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * Creates a new instance of a DRMAuthenticationErrorEvent object.
   * @param type the event type string
   * @param bubbles whether the event bubbles up the display list
   * @param cancelable whether the event can be canceled
   * @param inDetail The error description
   * @param inErrorID The ID of the general type of error
   * @param inSubErrorID The ID indicating the specific error within its type
   * @param inServerURL the URL of the logged-in server
   * @param inDomain the authenticated domain on the logged-in server
   *
   * /
  public*/ function DRMAuthenticationErrorEvent(type/*:String*/, bubbles/*:Boolean = false*/, cancelable/*:Boolean = false*/, inDetail/*:String = ""*/, inErrorID/*:int = 0*/, inSubErrorID/*:int = 0*/, inServerURL/*:String = null*/, inDomain/*:String = null*/) {switch(Math.max(arguments.length,1)){case 1:bubbles=false;case 2:cancelable=false;case 3:inDetail="";case 4:inErrorID=0;case 5:inSubErrorID=0;case 6:inServerURL=null;case 7:inDomain=null;}
    Super.call(this,type, bubbles, cancelable);
  }/*

  /**
   * Creates a copy of the ErrorEvent object and sets the value of each property to match that of the original.
   * @return A new ErrorEvent object with property values that match those of the original.
   *
   * /
  override public*/ function clone()/*:Event*/ {
    throw new Error('not implemented'); // TODO: implement!
  }/*

  /**
   * The string constant to use for the authentication error event in the type parameter when adding and removing event listeners.
   * /
  public static const AUTHENTICATION_ERROR:String = "authenticationError";
}
}

============================================== Jangaroo part ==============================================*/
    var Super=ErrorEvent._;
    var super$=Super.prototype;
    $primaryDeclaration(AS3.class_($module, {
      extends_: Super,
      members: {
        domain: {
          get: get$domain,
          set: set$domain
        },
        serverURL: {
          get: get$serverURL,
          set: set$serverURL
        },
        subErrorID: {
          get: get$subErrorID,
          set: set$subErrorID
        },
        constructor: DRMAuthenticationErrorEvent,
        clone: clone,
        clone$4: super$.clone
      },
      staticMembers: {AUTHENTICATION_ERROR: "authenticationError"}
    }));
  });
});
//# sourceMappingURL=DRMAuthenticationErrorEvent.js.map
New to GrepCode? Check out our FAQ X