Created
July 29, 2016 00:54
-
-
Save marchbold/7f9462a11a12d0226266c1bdc21e140e to your computer and use it in GitHub Desktop.
Manually forcing a container update using the Cloud Storage ANE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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