After installing OpenFl I created the DisplayingABitmap example on my Mac. Entering “openfl test html5” into Terminal gave me a successful opening and display of the OpenFl logo in Safari. It had the URL “http://127.0.0.1:3000”.
However if I opened the file index.html in Safari, it won’t load the image openfl.png. Through the developer view I get the message: “Failed to load resource: Origin Null is not allowed by Access-Control-Allow-Origin”
I can open the image file itself in Safari and I can open index.html in Firefox with no problems.
Explanation?
Thanks in advance.