[Solved]How do I Load Image from Url?

Get help using Construct 2

Post » Sun Sep 21, 2014 5:01 pm

So, I create a sprite called "loadimg"

The function is

- on start layout, loadimg load image from http://www.img.com/test.jpg (the url is just example)
- on loaded, rotate loadimg

I tried this function but it doesn't work at all

So, any proper way to use this?
Last edited by ijoin on Sun Sep 21, 2014 6:13 pm, edited 1 time in total.
B
8
S
2
Posts: 203
Reputation: 1,169

Post » Sun Sep 21, 2014 6:13 pm

I solved this by enabling CORS on my server
:D
B
8
S
2
Posts: 203
Reputation: 1,169


Return to How do I....?

Who is online

Users browsing this forum: Alvaro2, Hadyurik and 9 guests