Search code examples
javascripthaxepixi.js

How to use Pixi.js with Haxe


I am new to Haxe and I want to use Pixi.js with haxe. But, the code found on github is able to load the image. CORS policy error is getting each time?

enter image description here


Solution

  • You need to run local server to load images and files from local filesystem. "Cross origin requests are only supported for HTTP." error when loading a local file