| Package | com.adobe.portfolio.utils |
| Class | public class NavURLLoader |
| Inheritance | NavURLLoader flash.net.URLLoader |
| Property | Defined By | ||
|---|---|---|---|
| dataBytes : ByteArray [read-only] | NavURLLoader | ||
| dataString : String [read-only] | NavURLLoader | ||
| url : String | NavURLLoader | ||
| Method | Defined 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 | ||
| dataBytes | property |
dataBytes:ByteArray [read-only] This property can be used as the source for data binding.
public function get dataBytes():ByteArray| dataString | property |
dataString:String [read-only] This property can be used as the source for data binding.
public function get dataString():String| url | property |
url:String public function get url():String public function set url(value:String):void| NavURLLoader | () | Constructor |
public function NavURLLoader(urlString:String = null, binaryFormat:Boolean = false)urlString:String (default = null) | |
binaryFormat:Boolean (default = false) |
| dispatchEvent | () | method |
override public function dispatchEvent(event:Event):BooleanParameters
event:Event |
Boolean |
| load | () | method |
override public function load(request:URLRequest):voidParameters
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