Packagecom.adobe.flascc.vfs
Classpublic class HTTPBackingStore
InheritanceHTTPBackingStore Inheritance InMemoryBackingStore Inheritance flash.events.EventDispatcher

A BackingStore that uses a URLLoader to load its files. This requires a manifest.as file to be generated by the "genfs" tool in the flascc SDK. After being constructed, an instance of this BackingStore will start downloading the files from the manifest. You can listen to the progress, complete and ioerror events to monitor download progress.

After a download has completed it is added to the VFS and is available for use.



Public Properties
 PropertyDefined By
 InheritedreadOnly : Boolean
[read-only] This BackingStore is read-write, so this always returns false.
InMemoryBackingStore
Public Methods
 MethodDefined By
  
HTTPBackingStore
 Inherited
addDirectory(path:String):void
Insert a mapping representing a directory.
InMemoryBackingStore
 Inherited
addFile(path:String, data:ByteArray):void
Insert a mapping from path to data into the filemap.
InMemoryBackingStore
 Inherited
deleteFile(path:String):void
Given an array of strings representing file paths, this method removes the reference to that file from the filemap.
InMemoryBackingStore
 Inherited
flush():void
Commits any outstanding changes to the underlying datastore.
InMemoryBackingStore
 Inherited
getFile(path:String):ByteArray
Given a file object returned from makeFileObject this method extracts the contents of that file as a ByteArray
InMemoryBackingStore
 Inherited
getPaths():Vector.<String>
Retrieves all of the files paths contained in this BackingStore.
InMemoryBackingStore
 Inherited
isDirectory(path:String):Boolean
Checks if a path is a directory.
InMemoryBackingStore
 Inherited
pathExists(path:String):Boolean
Checks if a path exists.
InMemoryBackingStore
Constructor Detail
HTTPBackingStore()Constructor
public function HTTPBackingStore()