This content has been marked as final. Show 4 replies
You could download the file to the application storage directory (or elsewhere on the file system), and then load it into your editor from there.
This is the problem - file is already in the application storage directory.
I think, then, that your problem is that you aren't waiting for the image to load before trying to encode and write it to disk. I tried your code snippet and could write the image once I put the encodeing and writing bit into an event handler that fired when the image finished loading.
Woohoo! You were right, Admiral Brodnack!
Script was capturing object before image was really loaded. Thank you for help - you made my day ;)