11 Replies Latest reply on Jan 27, 2011 11:22 PM by N.Kumaraguru

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

      Hi Guys, good afternoon!

       

      I´m trying to resolve this kind of problem because i must to open my flex project (index.mxml) and every time when i need to see the application in design mode, that message above appears. In fact it´s simply impossible to open the project in design mode and some weird and strange fact occur, when i had to open in source mode, in the left panel, the root structure its showed like this root.JPG...and at right panel, in the source editor screen, if i proceed with the line deletion (the empty line number 2)

       

      root2.JPG

      ...the root tree becomes available again...as showed in this last picture

       

      root3.JPG

       

      ...and finaly, when i try to launch (run) the index.file, the index.html is generated Ok, but if i try to back in into design view ,the same bug is happening, i mean, the flex builder stop and close with the java error...

      root4.JPG

       

      So, please, can anyone help me!