Hi I’m trying to load a spreadsheet from google docs using URLLoader, the code works fine in flash, but I can’t make it work in android and windows. Somebody knows if I need to do something else or another solution to load the file.
var loader:URLLoader = new URLLoader();
the error type is ioError and the id 0.
lime version 2.2.2
openfl version 2.2.8
Perhaps it ends up being a redirect, I forget if it follows redirects fully
Sorry that’s not the error, URLLoader apparently works, I made a mistake at my code and I was calling it too many times.
I was calling it because apparently it wasn’t working, but the data does arrives, what it seems to have been the problem was Reflect.setField. The idea is to initialize some static variables from a table online.
I apparently fix the problem by making my class a singleton and not making the variables statics.
Really sorry for the post, I always use the forum as last resort because I try to not waste people time.