Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save marchbold/7f9462a11a12d0226266c1bdc21e140e to your computer and use it in GitHub Desktop.

Select an option

Save marchbold/7f9462a11a12d0226266c1bdc21e140e to your computer and use it in GitHub Desktop.
Manually forcing a container update using the Cloud Storage ANE
CloudStorage.service.documentStore.addEventListener( DocumentStoreEvent.UPDATE_START, updateStartHandler );
CloudStorage.service.documentStore.addEventListener( DocumentStoreEvent.UPDATE_END, updateEndHandler );
CloudStorage.service.documentStore.update();
...
private function updateStartHandler( event:DocumentStoreEvent ):void
{
trace( "update started" );
}
private function updateEndHandler( event:DocumentStoreEvent ):void
{
trace( "update completed" );
}
// com.distriqt.CloudStorage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment