      */
     override protected function menuItemSelectHandler(event:Event):void
     {
+        const applicationDomain:ApplicationDomain = ApplicationDomain.currentDomain;
+        var htmlClass:Class = null;
+        
+        if (applicationDomain.hasDefinition("mx.controls::HTML"))
+            htmlClass = applicationDomain.getDefinition("mx.controls::HTML") as Class;
+
+        // If the HTML component is not compiled into this application, then
+        // fallback to the Spark Application behavior. The Spark Application
+        // launches view source in the browser.
+        if (!htmlClass)
+        {
+            super.menuItemSelectHandler(event);
+            return;
+        }
+        
         const vsLoc:File = File.applicationDirectory.resolvePath(viewSourceURL);
         if (vsLoc.exists)
         {

            
            const winX:int = (screenWidth - winWidth) / 2;
            const winY:int = (screenHeight - winHeight) / 2;
            
            const html:HTML = new HTML();
            {
                html.width  = winWidth;
                html.height = winHeight;

     *  @private
     *  Returns a Function handler that resizes the view source HTML component with the stage.
     */
    private function viewSourceResizeHandler(html:Object):Function
    {
        return function (e:FlexNativeWindowBoundsEvent):void
        {
