Hello Marc,
Several issues here:
1.) XHR does not allow you to fetch resources from anything but a webserver. Please notice the "HTTP Request" in the naming.
2.) You are not allowed to read data from the filesystem in this manor.
-Jeremy
Hi Jeremy
I'm porting a couple of interactive TV games (written in C) in order to familiarise myself with the platform so perhaps some of my thinking is still orientated in the old platform. Can you recommend best practice for the Widget platform eg convert my data files to text and access them locally or keep them as binary and store on a server for access that way?
I know that's a bit of a vague question with different factors affecting the decision but if you could give me a couple of examples of existing applications where you've opted for a specific approach and why, that should be enough to help me determine the best option in each case.
Thanks
Marc