Packagecom.adobe.portfolio.utils
Classpublic class NavURLLoader
InheritanceNavURLLoader Inheritance flash.net.URLLoader

Language Version : ActionScript 3.0
Product Version : Portfolio 10.0
Runtime Versions : Flash Player 10.1, AIR 2.0

The NavURLLoader class extends URLLoader to provide URL loading for Navigators.



Public Properties
 PropertyDefined By
  dataBytes : ByteArray
[read-only]
NavURLLoader
  dataString : String
[read-only]
NavURLLoader
  url : String
NavURLLoader
Public Methods
 MethodDefined By
  
NavURLLoader(urlString:String = null, binaryFormat:Boolean = false)
NavURLLoader
  
dispatchEvent(event:Event):Boolean
[override]
NavURLLoader
  
load(request:URLRequest):void
[override]
NavURLLoader
  
write(buffer:ByteArray, response:Function = null):void
Writes the given bytes into the resource file referenced by this loader.
NavURLLoader
Property Detail
dataBytesproperty
dataBytes:ByteArray  [read-only]

This property can be used as the source for data binding.


Implementation
    public function get dataBytes():ByteArray
dataStringproperty 
dataString:String  [read-only]

This property can be used as the source for data binding.


Implementation
    public function get dataString():String
urlproperty 
url:String


Implementation
    public function get url():String
    public function set url(value:String):void
Constructor Detail
NavURLLoader()Constructor
public function NavURLLoader(urlString:String = null, binaryFormat:Boolean = false)



Parameters
urlString:String (default = null)
 
binaryFormat:Boolean (default = false)
Method Detail
dispatchEvent()method
override public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
load()method 
override public function load(request:URLRequest):void

Parameters

request:URLRequest

write()method 
public function write(buffer:ByteArray, response:Function = null):void

Writes the given bytes into the resource file referenced by this loader. dataBytes and dataString are updated immediately with the new data. The response function will be called as described by the ICollection intefaces, and load is also triggered so that any event listeners present will be called appropriately.

Parameters

buffer:ByteArray
 
response:Function (default = null)

See also

ICollection.writeResource