local loader = UrlLoader.new("<a href="http://domain.com/text.txt"" rel="nofollow">http://domain.com/text.txt"</a><img class="emoji" src="http://forum.gideros.rocks/resources/emoji/wink.png" title=";)" alt=";)" height="20" />
local function onComplete(event)
local out = io.open("|D|file.txt", "w+")
out:write(event.data)
out:close()
end
loader:addEventListener(Event.COMPLETE, onComplete)
Comments
I didn't express myself correctly.
I've created another discussion showing the tests I've done, which shows what I'm intending to do.
http://giderosmobile.com/forum/discussion/6158/help-with-sockets-#Item_1
Would be great if you could chip in