             Loader(parent).contentLoaderInfo.applicationDomain :
             info()["currentDomain"] as ApplicationDomain;
 
+        // FIXME (egeorgie): the "screen" that we pass to the preloader
+        // doesn't get the right size here, since stage is not
+        // yet resized at this point if running in AIR on device.
+        // We'll receive a stage resize event before the first enter frame event.
+        
         // Initialize the preloader.
         preloader.initialize(
             usePreloader,

    }

    //----------------------------------
    //  document
    //----------------------------------


        _screen.width = w;
        _screen.height = h;

        // FIXME (egeorgie): better handling of screen reesize,
        // refactor this code?
        if (isStageRoot)
        {
            var scale:Number = densityScale;
            
            root.scaleX = root.scaleY = scale;
            _width = stage.stageWidth / scale;
            _height = stage.stageHeight / scale;
            
            // Update the screen
            _screen.x /= scale;
            _screen.y /= scale;
            _screen.width /= scale;
            _screen.height /= scale;
        }

        if (event)
