I believe that
removeChild first because the
stage reference probably is not expecting to be moved from one
stage to another.
OpenFL on Flash Player uses a preloader that loads in advance of the rest of the game code. HTML5 (currently) loads all game code, then uses a preloader to load any other file assets.