Unfortunately you can't solve this with SJS.
While SJS code can be called from non-SJS code, the calling code will
still need to be callback based. So for your particular case, where
you basically want to get a synchronous version of an asynchronous
API, introducing SJS down the line doesn't help at all. What you'd
really want is the flash application code to be SJS-based (which I
understand is not possible).
My best advice would be to try to use
https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage
instead of IndexedDB.
> --
> You received this message because you are subscribed to the Google Groups
> "StratifiedJS" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
stratifiedjs...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.