Flash preloader broken on Microsoft Edge (windows 10)


The preloader I use (I only target flash) does not work on Microfost Edge under Windows 10. It does work on other browsers but with Edge, nothing is displayed while the game loads :frowning: . It is very basic, I don’t understand what could be wrong. Can anyone give me a hint on how to fix this?


package ;

import openfl.Lib;
import openfl.display.Bitmap;
import openfl.display.BitmapData;
import openfl.text.TextField;

@:bitmap("Assets/preload_screen.png") class Background extends BitmapData {}

class GamePreloader extends NMEPreloader
    private var logo:Bitmap;
    private var topText:TextField;

    override public function new()


        Lib.current.stage.color = 0x850706;

        addChild(new Bitmap(new Background(960, 540)));

        topText = new TextField();
        topText.height = 50;
        topText.x = 0;
        topText.y = 160;
        topText.text = "0%";


    override public function onUpdate(bytesLoaded:Int, bytesTotal:Int)
        var percent = Math.ceil(bytesLoaded / bytesTotal * 100);
        topText.text = Std.string(percent) + "%";


<?xml version="1.0" encoding="utf-8"?>

    <window fullscreen="true" width="960" height="540" />

    <meta title="test-game" package="com.mysite.testgame" version="1.0.0" company="Mine" />

    <app main="Main" path="Export" file="preolader-test-game" preloader="GamePreloader" />

    <source path="Source" />

    <haxelib name="openfl" />
    <haxelib name="actuate" />

    <assets path="Assets/" rename="assets" />



Can you tell if it works with the standard preloader? Does it depend upon the server? (I seem to recall server-side compression affecting some Flash preload behavior) Thank you!

It doesn’t work with the standard preloader either (but it does works fine with Chrome).
I only have one Nginx server to test so I completely disabled gzip compression and I tried again: still not working.

It doesn’t display anything while loading, then suddenly displays the loading bar à 100% and game starts immediately after.

Any other ideas?

Thank you!

This is sort of what I remember:


Though maybe theres something in our logic that could be improved. hmm

Yes, I also came across this post but the problem obviously doesn’t lie here… Has anyone ever tested a preloader for a swf file on Microsoft Edge?