1 Reply Latest reply on Nov 16, 2010 1:29 PM by SashaKeith

    <s:MobileApplication> gives me "An unknown item is declared as the root of your MXML document...."

    sp_stebok

      My app worked perfectly yesterday and I haven't changed anything.. now when I switch to design mode I get:

       

      "An unknown item is declared as the root of your MXML document. Switch to source mode to correct it."

       

       

      Code:

       

      <?xml version="1.0" encoding="utf-8"?>
      <s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                           xmlns:s="library://ns.adobe.com/flex/spark"
                           firstView="views.LoginPage" splashScreenScaleMode="none">

       

          <s:actionContent>
              <s:Button id="exitButton" icon="@Embed(source='buttons/cancel48x48.png')"/>
              <s:Button id="searchButton" icon="@Embed(source='buttons/search48x48.png')"/>
          </s:actionContent>
          <s:navigationContent>
              <s:Image width="136" height="94" source="@Embed('images/logo.png')"/>
          </s:navigationContent>
         
      </s:MobileApplication>

       

       

       

      Note: when I create a new Mobile Project <s:MobileApplication> became <components:MobileApplication> ?