Packageflash.net
Classpublic class URLRequestDefaults
InheritanceURLRequestDefaults Inheritance Object

Language Version : ActionScript 3.0
Runtime Versions : Flash Player 9, AIR 1.0

The URLRequest class captures all of the information in a single HTTP request. URLRequest objects are passed to the load() methods of the Loader, URLStream, and URLLoader classes, and to other loading operations, to initiate URL downloads. They are also passed to the upload() and download() methods of the FileReference class.



Public Properties
 PropertyDefined By
  AIR-only followRedirects : Boolean
[static] Creates a URLRequest object.
URLRequestDefaults
  AIR-only idleTimeout : Number
[static] The default setting for the idleTimeout property of URLRequest objects and HTMLLoader objects.
URLRequestDefaults
Public Methods
 MethodDefined By
 Inherited
_init():*
[static]
_init
 Inherited
AS3
 Inherited
init():*
[static]
init
 Inherited
AS3
 Inherited
AS3
  
setLoginCredentialsForHost(hostname:String, user:String, password:String):void
[static]
URLRequestDefaults
Protected Methods
 MethodDefined By
 Inherited
[static]
protected
 Inherited
_setPropertyIsEnumerable(o:*, V:String, enumerable:Boolean):void
[static]
protected
Public Constants
 ConstantDefined By
 Inheritedlength : int = 1
[static]
length
Property Detail
AIR-only followRedirectsproperty
followRedirects:Boolean

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0

Creates a URLRequest object. If System.useCodePage is true, the request is encoded using the system code page, rather than Unicode. If System.useCodePage is false, the request is encoded using Unicode, rather than the system code page.


Implementation
    public static function get followRedirects():Boolean
    public static function set followRedirects(value:Boolean):void
AIR-only idleTimeoutproperty 
idleTimeout:Number

Language Version : ActionScript 3.0
Runtime Versions : AIR 2.0

The default setting for the idleTimeout property of URLRequest objects and HTMLLoader objects.


Implementation
    public static function get idleTimeout():Number
    public static function set idleTimeout(value:Number):void
Method Detail
setLoginCredentialsForHost()method
public static function setLoginCredentialsForHost(hostname:String, user:String, password:String):void

Parameters

hostname:String
 
user:String
 
password:String