I just recreated your sample and in runs flawlessly in IE11 and Chrome 60.
Do you receive any error messages in the console? (CTRL+SHIFT+I)
Also in case you’re using FlashDevelop it might be useful to clear your browser cache.
You were right - this is not a problem with openFl - the problem resides in browsers vs security policy. I changed the testing environment (from local to public server) and the project works fine.
So I will have to work a little on my local testing environment.
To answer your question ‘singmajesty’: I open index.html by hand.
So I prepared my testing environment as follow:
I installed web server (Apache HTTP server) on Windows and change the directories in it’s config file from: “/htdocs” to “my_project/Export/html5/bin”
Now I test my openfl/html5 just by typing “localhost” in a browser.
Of course it is also possible to additionally configure Apache to prevent browsers from file catching (necessary for testing) or one can just use ctrl + F5 in a browser window (instead of normal refreshing)