I've noticed this since my last update to 233. I load images from URL into a sprite to save on download size. This has now become problematic. When I ran my programme using Internet Explorer 11, i got an error from the console complaining about a security error in glwrap.js (line 2127, col 4). In this scenario, if i disable webgl, the image loads correctly into the sprite.
When I was trying to replicate this bug in other browsers, i discovered that I could not get the image to load into the sprite with webgl enabled or disabled.
Attach a Capx
Description of Capx
single sprite which loads an image upon startup. image hosted on a website of mine.
sprite is rotated 10 degrees each second, just as a check to prove the programme is running
Steps to Reproduce Bug
with IE11 without webgl, the image is correctly loaded
with IE11 with webgl enabled, there is a browser warning of a security error in glwrap
with Firefox 48.02 with webgl enabled and not, the image is not loaded
with EDGE 38.14393 with webgl enabled and not, the image is not loaded
image of a yellow sun replaces black box and is rotated
Operating System and Service Pack
windows 10 professional (v1607)
Construct 2 Version ID
Develop games in your browser. Powerful, performant & highly capable.
Closing as not a bug: your server is not configured to share images cross-domain. In fact there is an error message in the browser console explaining this:
[quote:8bjhoyk2]Image from origin 'http://220.127.116.11' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:50000' is therefore not allowed access.
sorry.. missed that..
how to configure a server to share images cross-domain ?
is this something with the .htaccess file ?