Packagecom.adobe.flascc.vfs
Classpublic class LSOBackingStore
InheritanceLSOBackingStore Inheritance InMemoryBackingStore Inheritance flash.events.EventDispatcher

Extends the InMemoryBackingStore with one that stores and retrieves its data from a Flash Local Shared object (http://www.adobe.com/security/flashplayer/articles/lso/).

The contents of this VFS will persist until the user clears their LSO cache (which might happen when they clear their browser cache.)



Public Properties
 PropertyDefined By
 InheritedreadOnly : Boolean
[read-only] This BackingStore is read-write, so this always returns false.
InMemoryBackingStore
Public Methods
 MethodDefined By
  
LSOBackingStore(name:String)
Construct an LSOBackingStore using a named local shared object.
LSOBackingStore
 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
  
flush():void
[override] Writes all of the files back into the LSO, this might be slow so you need to decide when to call this in your application to balance performance with reliability.
LSOBackingStore
 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
LSOBackingStore()Constructor
public function LSOBackingStore(name:String)

Construct an LSOBackingStore using a named local shared object.

Parameters
name:String
Method Detail
flush()method
override public function flush():void

Writes all of the files back into the LSO, this might be slow so you need to decide when to call this in your application to balance performance with reliability.