Packagecom.dasflash.soundcloud.as3api.events
Classpublic class SoundcloudFaultEvent
InheritanceSoundcloudFaultEvent Inheritance flash.events.Event

Event fired on erroneous API requests



Public Properties
 PropertyDefined By
  errorCode : int
contains the HTTP code in case of an HTTP response
SoundcloudFaultEvent
  message : String
contains a text message describing the error
SoundcloudFaultEvent
Public Methods
 MethodDefined By
  
SoundcloudFaultEvent(type:String, message:String, errorCode:int = 0, bubbles:Boolean = false, cancelable:Boolean = false)
SoundcloudFaultEvent
  
clone():Event
[override]
SoundcloudFaultEvent
Public Constants
 ConstantDefined By
  ACCESS_TOKEN_FAULT : String = accessTokenFault
[static]
SoundcloudFaultEvent
  FAULT : String = fault
[static]
SoundcloudFaultEvent
  REQUEST_TOKEN_FAULT : String = requestTokenFault
[static]
SoundcloudFaultEvent
Property Detail
errorCodeproperty
public var errorCode:int

contains the HTTP code in case of an HTTP response

messageproperty 
public var message:String

contains a text message describing the error

Constructor Detail
SoundcloudFaultEvent()Constructor
public function SoundcloudFaultEvent(type:String, message:String, errorCode:int = 0, bubbles:Boolean = false, cancelable:Boolean = false)



Parameters
type:String
 
message:String
 
errorCode:int (default = 0)
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
ACCESS_TOKEN_FAULTConstant
public static const ACCESS_TOKEN_FAULT:String = accessTokenFault

FAULTConstant 
public static const FAULT:String = fault

REQUEST_TOKEN_FAULTConstant 
public static const REQUEST_TOKEN_FAULT:String = requestTokenFault