javascript - Load a binary asset file into Chrome App -


i'm trying make chrome app have animated objects in it.

i can load textures using: new image() , setting image's src property name of file in app's root directory. (this load texture)

is possible similar thing binary files contain proprietary animation data? i've looked , looked don't seem find lets me load binary file has not been picked user or dragged , dropped user.

if not allowed, (presumably security issues) got clever workarounds?

for files inside app's package, should simple loading file xhr.

use fully-qualified url on safe side, obtained chrome.runtime.geturl(pathrelativetoroot)


Comments

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -