Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CloudStorage.service.documentStore.addEventListener( DocumentStoreEvent.UPDATE_START, updateStartHandler );
- CloudStorage.service.documentStore.addEventListener( DocumentStoreEvent.UPDATE_END, updateEndHandler );
- CloudStorage.service.documentStore.addEventListener( DocumentStoreEvent.FILES_DID_CHANGE, filesDidChangeHandler );
- ...
- private function updateStartHandler( event:DocumentStoreEvent ):void
- {
- trace( "update started" );
- }
- private function updateEndHandler( event:DocumentStoreEvent ):void
- {
- trace( "update completed" );
- }
- private function filesDidChangeHandler( event:DocumentStoreEvent ):void
- {
- trace( "files did change" );
- // This will list the documents that have been changed
- for each (var document:Document in event.documents)
- {
- trace( "changed: "+document.filename );
- }
- }
- // com.distriqt.CloudStorage
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement