| Package | flash.events | 
| Class | public class DRMReturnVoucherErrorEvent | 
| Inheritance | DRMReturnVoucherErrorEvent  ErrorEvent  TextEvent  Event  Object | 
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 3.8 | 
returnVoucher()
	 method of the DRMManager object fails.
	 
 	 
| Property | Defined by | ||
|---|---|---|---|
|  | bubbles : Boolean 
	Indicates whether an event is a bubbling event. | Event | |
|  | cancelable : Boolean 
	Indicates whether the behavior associated with the event can be prevented. | Event | |
|  | constructor : Object 
	 A reference to the class object or constructor function for a given object instance. | Object | |
|  | currentTarget : Object 
	The object that is actively processing the Event object with an event listener. | Event | |
|  | errorID : int 
	Contains the reference number associated with the specific error. | ErrorEvent | |
|  | eventPhase : uint 
	The current phase in the event flow. | Event | |
| licenseID : String 
		 The license ID that was passed into the returnVoucher() call that resulted in this error. | DRMReturnVoucherErrorEvent | ||
| policyID : String 
		 The policy ID that was passed into the returnVoucher() call that resulted in this error. | DRMReturnVoucherErrorEvent | ||
|  | prototype : Object [static]
	 A reference to the prototype object of a class or function object. | Object | |
| serverURL : String 
		 The URL of the media rights server for this return Voucher attempt. | DRMReturnVoucherErrorEvent | ||
| subErrorID : int 
		 A more detailed error code. | DRMReturnVoucherErrorEvent | ||
|  | target : Object 
	The event target. | Event | |
|  | text : String 
	 For a  textInputevent, the character or sequence of characters 
	 entered by the user. | TextEvent | |
|  | type : String 
	The type of event. | Event | |
| Method | Defined by | ||
|---|---|---|---|
| 
DRMReturnVoucherErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, inDetail:String = "", inErrorID:int = 0, inSubErrorID:int = 0, inServerURL:String = null, inLicenseID:String = null, inPolicyID:String = null) 
		 Creates a new instance of a DRMReturnVoucherErrorEvent object. | DRMReturnVoucherErrorEvent | ||
| 
	Creates a copy of the ErrorEvent object and sets the value of each property to match that of the original. | DRMReturnVoucherErrorEvent | ||
|  | 
	 A utility function for implementing the  toString()method in custom 
	 ActionScript 3.0 Event classes. | Event | |
|  | 
	 Indicates whether an object has a specified property defined. | Object | |
|  | 
	Checks whether the  preventDefault()method has been called on the event. | Event | |
|  | 
	 Indicates whether an instance of the Object class is in the prototype chain of the object specified 
	 as the parameter. | Object | |
|  | 
	Cancels an event's default behavior if that behavior can be canceled. | Event | |
|  | 
	 Indicates whether the specified property exists and is enumerable. | Object | |
|  | 
     Sets the availability of a dynamic property for loop operations. | Object | |
|  | 
	Prevents processing of any event listeners in the current node and any subsequent nodes in 
	the event flow. | Event | |
|  | 
	Prevents processing of any event listeners in nodes subsequent to the current node in the 
	event flow. | Event | |
|  | 
	 Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
|  | 
	Returns a string that contains all the properties of the ErrorEvent object. | ErrorEvent | |
|  | 
	 Returns the primitive value of the specified object. | Object | |
| Constant | Defined by | ||
|---|---|---|---|
|  | ACTIVATE : String = "activate" [static]
	The  ACTIVATEconstant defines the value of thetypeproperty of anactivateevent object. | Event | |
|  | ADDED : String = "added" [static]
	The  Event.ADDEDconstant defines the value of thetypeproperty of 
	anaddedevent object. | Event | |
|  | ADDED_TO_STAGE : String = "addedToStage" [static]
	The  Event.ADDED_TO_STAGEconstant defines the value of thetypeproperty of anaddedToStageevent object. | Event | |
|  | BROWSER_ZOOM_CHANGE : String = "browserZoomChange" [static]
    The  Event.BROWSER_ZOOM_CHANGEconstant defines the value of thetypeproperty of anbrowserZoomChangeevent object. | Event | |
|  | CANCEL : String = "cancel" [static]
	The  Event.CANCELconstant defines the value of thetypeproperty of acancelevent object. | Event | |
|  | CHANGE : String = "change" [static]
	The  Event.CHANGEconstant defines the value of thetypeproperty of achangeevent object. | Event | |
|  | CHANNEL_MESSAGE : String = "channelMessage" [static]
	The  Event.CHANNEL_MESSAGEconstant defines the value of thetypeproperty of achannelMessageevent object. | Event | |
|  | CHANNEL_STATE : String = "channelState" [static]
	The  Event.CHANNEL_STATEconstant defines the value of thetypeproperty of achannelStateevent object. | Event | |
|  | CLEAR : String = "clear" [static]
	The  Event.CLEARconstant defines the value of thetypeproperty 
	of aclearevent object. | Event | |
|  | CLOSE : String = "close" [static]
	The  Event.CLOSEconstant defines the value of thetypeproperty of acloseevent object. | Event | |
|  | CLOSING : String = "closing" [static]
	The  Event.CLOSINGconstant defines the value of thetypeproperty of aclosingevent object. | Event | |
|  | COMPLETE : String = "complete" [static]
	The  Event.COMPLETEconstant defines the value of thetypeproperty of acompleteevent object. | Event | |
|  | CONNECT : String = "connect" [static]
	The  Event.CONNECTconstant defines the value of thetypeproperty of aconnectevent object. | Event | |
|  | CONTEXT3D_CREATE : String = "context3DCreate" [static]
	The  Event.CONTEXT3D_CREATEconstant defines the value of thetypeproperty of acontext3Dcreateevent object. | Event | |
|  | COPY : String = "copy" [static]
	Defines the value of the  typeproperty of acopyevent object. | Event | |
|  | CUT : String = "cut" [static]
	Defines the value of the  typeproperty of acutevent object. | Event | |
|  | DEACTIVATE : String = "deactivate" [static]
	The  Event.DEACTIVATEconstant defines the value of thetypeproperty of adeactivateevent object. | Event | |
|  | DISPLAYING : String = "displaying" [static]
	 The  Event.DISPLAYINGconstant defines the value of thetypeproperty of adisplayingevent object. | Event | |
|  | ENTER_FRAME : String = "enterFrame" [static]
	The  Event.ENTER_FRAMEconstant defines the value of thetypeproperty of anenterFrameevent object. | Event | |
|  | ERROR : String = "error" [static]
	Defines the value of the  typeproperty of anerrorevent object. | ErrorEvent | |
|  | EXIT_FRAME : String = "exitFrame" [static]
	The  Event.EXIT_FRAMEconstant defines the value of thetypeproperty of anexitFrameevent object. | Event | |
|  | EXITING : String = "exiting" [static]
	The  Event.EXITINGconstant defines the value of thetypeproperty of anexitingevent object. | Event | |
|  | FRAME_CONSTRUCTED : String = "frameConstructed" [static]
	The  Event.FRAME_CONSTRUCTEDconstant defines the value of thetypeproperty of anframeConstructedevent object. | Event | |
|  | FRAME_LABEL : String = "frameLabel" [static]
	The  Event.FRAME_LABELconstant defines the value of thetypeproperty of anframeLabelevent object. | Event | |
|  | FULLSCREEN : String = "fullScreen" [static]
	The  Event.FULL_SCREENconstant defines the value of thetypeproperty of afullScreenevent object. | Event | |
|  | HTML_BOUNDS_CHANGE : String = "htmlBoundsChange" [static]
	The  Event.HTML_BOUNDS_CHANGEconstant defines the value of thetypeproperty of anhtmlBoundsChangeevent object. | Event | |
|  | HTML_DOM_INITIALIZE : String = "htmlDOMInitialize" [static]
	The  Event.HTML_DOM_INITIALIZEconstant defines the value of thetypeproperty 
	of anhtmlDOMInitializeevent object. | Event | |
|  | HTML_RENDER : String = "htmlRender" [static]
	The  Event.HTML_RENDERconstant defines the value of thetypeproperty of anhtmlRenderevent object. | Event | |
|  | ID3 : String = "id3" [static]
	The  Event.ID3constant defines the value of thetypeproperty of anid3event object. | Event | |
|  | INIT : String = "init" [static]
	The  Event.INITconstant defines the value of thetypeproperty of aninitevent object. | Event | |
|  | LINK : String = "link" [static]
     Defines the value of the  typeproperty of alinkevent object. | TextEvent | |
|  | LOCATION_CHANGE : String = "locationChange" [static]
	The  Event.LOCATION_CHANGEconstant defines the value of thetypeproperty of alocationChangeevent object. | Event | |
|  | MOUSE_LEAVE : String = "mouseLeave" [static]
	The  Event.MOUSE_LEAVEconstant defines the value of thetypeproperty of amouseLeaveevent object. | Event | |
|  | NETWORK_CHANGE : String = "networkChange" [static]
	The  Event.NETWORK_CHANGEconstant defines the value of thetypeproperty of anetworkChangeevent object. | Event | |
|  | OPEN : String = "open" [static]
	The  Event.OPENconstant defines the value of thetypeproperty of anopenevent object. | Event | |
|  | PASTE : String = "paste" [static]
	The  Event.PASTEconstant defines the value of thetypeproperty of apasteevent object. | Event | |
|  | PREPARING : String = "preparing" [static]
	 The  Event.PREPARINGconstant defines the value of thetypeproperty of apreparingevent object. | Event | |
|  | REMOVED : String = "removed" [static]
	The  Event.REMOVEDconstant defines the value of thetypeproperty of
	aremovedevent object. | Event | |
|  | REMOVED_FROM_STAGE : String = "removedFromStage" [static]
	The  Event.REMOVED_FROM_STAGEconstant defines the value of thetypeproperty of aremovedFromStageevent object. | Event | |
|  | RENDER : String = "render" [static]
	The  Event.RENDERconstant defines the value of thetypeproperty of arenderevent object. | Event | |
|  | RESIZE : String = "resize" [static]
	The  Event.RESIZEconstant defines the value of thetypeproperty of aresizeevent object. | Event | |
| RETURN_VOUCHER_ERROR : String = "returnVoucherError" [static]
		 The string constant to use for the return voucher error event 
		 in the type parameter when adding and removing event listeners. | DRMReturnVoucherErrorEvent | ||
|  | SCROLL : String = "scroll" [static]
	The  Event.SCROLLconstant defines the value of thetypeproperty of ascrollevent object. | Event | |
|  | SELECT : String = "select" [static]
	The  Event.SELECTconstant defines the value of thetypeproperty of aselectevent object. | Event | |
|  | SELECT_ALL : String = "selectAll" [static]
	The  Event.SELECT_ALLconstant defines the value of thetypeproperty of aselectAllevent object. | Event | |
|  | SOUND_COMPLETE : String = "soundComplete" [static]
	The  Event.SOUND_COMPLETEconstant defines the value of thetypeproperty of asoundCompleteevent object. | Event | |
|  | STANDARD_ERROR_CLOSE : String = "standardErrorClose" [static]
	The  Event.STANDARD_ERROR_CLOSEconstant defines the value of thetypeproperty of astandardErrorCloseevent object. | Event | |
|  | STANDARD_INPUT_CLOSE : String = "standardInputClose" [static]
	The  Event.STANDARD_INPUT_CLOSEconstant defines the value of thetypeproperty of astandardInputCloseevent object. | Event | |
|  | STANDARD_OUTPUT_CLOSE : String = "standardOutputClose" [static]
	The  Event.STANDARD_OUTPUT_CLOSEconstant defines the value of thetypeproperty of astandardOutputCloseevent object. | Event | |
|  | SUSPEND : String = "suspend" [static]
	The  Event.SUSPENDconstant defines the value of thetypeproperty of ansuspendevent object. | Event | |
|  | TAB_CHILDREN_CHANGE : String = "tabChildrenChange" [static]
	The  Event.TAB_CHILDREN_CHANGEconstant defines the value of thetypeproperty of atabChildrenChangeevent object. | Event | |
|  | TAB_ENABLED_CHANGE : String = "tabEnabledChange" [static]
	The  Event.TAB_ENABLED_CHANGEconstant defines the value of thetypeproperty of atabEnabledChangeevent object. | Event | |
|  | TAB_INDEX_CHANGE : String = "tabIndexChange" [static]
	The  Event.TAB_INDEX_CHANGEconstant defines the value of thetypeproperty of atabIndexChangeevent object. | Event | |
|  | TEXT_INPUT : String = "textInput" [static]
     Defines the value of the  typeproperty of atextInputevent object. | TextEvent | |
|  | TEXT_INTERACTION_MODE_CHANGE : String = "textInteractionModeChange" [static]
	The  Event.TEXT_INTERACTION_MODE_CHANGEconstant defines the value of thetypeproperty of ainteraction modeevent object. | Event | |
|  | TEXTURE_READY : String = "textureReady" [static]
	The  Event.TEXTURE_READYconstant defines the value of thetypeproperty of atextureReadyevent object. | Event | |
|  | UNLOAD : String = "unload" [static]
	The  Event.UNLOADconstant defines the value of thetypeproperty of anunloadevent object. | Event | |
|  | USER_IDLE : String = "userIdle" [static]
	The  Event.USER_IDLEconstant defines the value of thetypeproperty of auserIdleevent object. | Event | |
|  | USER_PRESENT : String = "userPresent" [static]
	The  Event.USER_PRESENTconstant defines the value of thetypeproperty of auserPresentevent object. | Event | |
|  | VIDEO_FRAME : String = "videoFrame" [static]
	The  Event.VIDEO_FRAMEconstant defines the value of thetypeproperty of avideoFrameevent object. | Event | |
|  | WORKER_STATE : String = "workerState" [static]
	The  Event.WORKER_STATEconstant defines the value of thetypeproperty of aworkerStateevent object. | Event | |
| licenseID | property | 
licenseID:String  [read-write]
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 3.8 | 
The license ID that was passed into the returnVoucher() call that resulted in this error.
Implementation    public function get licenseID():String
    public function set licenseID(value:String):void
| policyID | property | 
policyID:String  [read-write]
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 3.8 | 
The policy ID that was passed into the returnVoucher() call that resulted in this error.
Implementation    public function get policyID():String
    public function set policyID(value:String):void
| serverURL | property | 
serverURL:String  [read-write]
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 3.8 | 
The URL of the media rights server for this return Voucher attempt.
Implementation    public function get serverURL():String
    public function set serverURL(value:String):void
| subErrorID | property | 
subErrorID:int  [read-write]
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 3.8 | 
A more detailed error code.
Implementation    public function get subErrorID():int
    public function set subErrorID(value:int):void
| DRMReturnVoucherErrorEvent | () | constructor | 
public function DRMReturnVoucherErrorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, inDetail:String = "", inErrorID:int = 0, inSubErrorID:int = 0, inServerURL:String = null, inLicenseID:String = null, inPolicyID:String = null)
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 1.5 | 
Creates a new instance of a DRMReturnVoucherErrorEvent object.
Parameters| type:String— the event type string | |
| bubbles:Boolean(default =false)— whether the event bubbles up the display list | |
| cancelable:Boolean(default =false)— whether the event can be canceled | |
| inDetail:String(default = "")— The error description | |
| inErrorID:int(default =0)— The ID of the general type of error | |
| inSubErrorID:int(default =0)— The ID indicating the specific error within its type | |
| inServerURL:String(default =null)— the URL of the logged-in server | |
| inLicenseID:String(default =null)— the authenticated domain on the logged-in server | |
| inPolicyID:String(default =null) | 
| clone | () | method | 
public override function clone():EventCreates a copy of the ErrorEvent object and sets the value of each property to match that of the original.
Returns| Event— 
                        A new ErrorEvent object with property values that match those of the original. | 
| RETURN_VOUCHER_ERROR | constant | 
public static const RETURN_VOUCHER_ERROR:String = "returnVoucherError"
| Language version: | ActionScript 3.0 | 
| Runtime version: | AIR 1.5 | 
The string constant to use for the return voucher error event in the type parameter when adding and removing event listeners.
