Image from web site and set as image api

squeeb

  • Posts: 1306
How can i grab an image from the web and set it as image api instance?  Not sure how to word that haha.. i want to get a picture from the web and set as an image in game.. using image api

LIBERADO

  • *
  • Posts: 2568
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

squeeb

  • Posts: 1306
hmm..  i tried it...  doesnt work for me.  is there something i need to do with permissions to get it to work with flash browser?  i havent tested this code on mobile yet. i have never been able to get an image from a url and see it in game mobile or flash browser

LIBERADO

  • *
  • Posts: 2568
It works for me on HTML5. On Flash does not work due to Sandbox security violation.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.

squeeb

  • Posts: 1306
ahh.. ok.. it should work with mobile, android and ios then?  no way to get around that security issue.. everyone that tries the game on flash would have to change their settings on their pc..
side note... when is the stencyl arcade going to updated be html5 ;)

LIBERADO

  • *
  • Posts: 2568
ahh.. ok.. it should work with mobile, android and ios then?
I think it should.

when is the stencyl arcade going to updated be html5 ;)
This is a super excellent and very timely and convenient suggestion.
You could post it in the Issue Tracker.
I'm spanish, excuse me for my bad English.
I'm not a private teacher. Please, post your questions in the public forum.