03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

When the player has notified the listener that the data is available, the application can use the<br />

shared object returned from the call to the getLocal() method in the same way a shared<br />

object is used in Flash. The application can add, modify, or remove properties while the<br />

content is playing. When the content is unloaded, the shared object might be written to the<br />

device; however, to guarantee that the shared object will be written to the device, the<br />

application must force a write operation by calling the flush() method.<br />

Flash Lite shared objects are available only to locally stored SWF files. SWF files playing back<br />

in a network-enabled browser cannot use Flash Lite shared objects.<br />

The total amount of storage for Flash Lite shared objects per SWF file is limited by the<br />

deviceto a predetermined size. You can determine this size by using the<br />

SharedObject.getMaxSize() method.<br />

Note: Remote shared objects are not supported in Flash Lite 2.0.<br />

See also<br />

flush (SharedObject.flush method), onStatus (SharedObject.onStatus h<strong>and</strong>ler)<br />

Property summary<br />

Modifiers Property Description<br />

Properties inherited from class Object<br />

Event summary<br />

data:Object The collection of attributes assigned to the data<br />

property of the object.<br />

constructor (Object.constructor property), __proto__ (Object.__proto__<br />

property), prototype (Object.prototype property), __resolve<br />

(Object.__resolve property)<br />

Event Description<br />

onStatus =<br />

function(infoObject<br />

:Object) {}<br />

Invoked every time an error, warning, or informational note is posted<br />

for a shared object.<br />

SharedObject 553

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!