html5 questions about load

Monkey Forums/Monkey Programming/html5 questions about load

Lugato(Posted 2013) [#1]
Hi,

It's possible load image, texts, sounds withou mserver or other www server ? I have a project that the app will run directly from windows/mac os.

thanks


Lugato(Posted 2013) [#2]
Well after some tests I founded the problem, the command LoadString is not compatible with path "monkey://data/", the question now are, it's a bug or no ?

Exist another form to load a text file from file system in html5 don't using LoadString ?


ziggy(Posted 2013) [#3]
LoadString("myfile.txt") where my file is in your data foler *could* work


Lugato(Posted 2013) [#4]
hi ziggy,

The problem accour only when you try do load the app without a webserver.

In fiferox and opera all work fine with webserver and without ... in other browsers the app work only with a webserver.