1 Reply Latest reply on Sep 1, 2010 3:12 PM by Flex harUI

    An unknown item is declared as the root...

    cwramsey Level 1
      Whenever I start a new project, I get this error.

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

      And here's the exact source that FB4 builds for me.

      <?xml version="1.0" encoding="utf-8"?>
      <application xmlns:fx="http://ns.adobe.com/mxml/2009"
                <!-- Place non-visual elements (e.g., services, value objects) here -->

      I looked at the other project I am working on, and it's working great, however instead of <application> it's <s:WindowedApplication>

      How can I fix this so I can work on new projects?