1 Reply Latest reply on Feb 5, 2012 4:06 PM by 56231

    Can someone tell me what this error means and how to fix? Thanks.

    56231

      Child elements of 'Application' serving as the default property value for 'mxmlContentFactory' must be contiguous.

       

      The error is for <s:Label and <s:Panel.

       

      <?xml version="1.0" encoding="utf-8"?>

      <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"

                     xmlns:s="library://ns.adobe.com/flex/spark"

                     xmlns:mx="library://ns.adobe.com/flex/mx"

                     backgroundColor="#dde7de">

          <fx:Declarations>

              <!-- Place non-visual elements (e.g., services, value objects) here -->

          </fx:Declarations>

          <s:BorderContainer

              backgroundColor="#f5f1b0"

              dropShadowVisible="true"

              borderWeight="3"

              horizontalCenter="0"

              verticalCenter="0">

          </s:BorderContainer>

          <s:layout>

              <s:HorizontalLayout

                  paddingLeft="10"

                  paddingRight="10"

                  paddingTop="10"

                  paddingBottom="10"

                  gap="10" />

          </s:layout>

          <s:Label

              text="Effortless Flex 4 Development" fontSize="18" fontWeight="bold" color="#293b95" rotation="270" />

          <s:Panel title="My Notes" height="300">

              <s:Form width="100%" height="100%">

              </s:Form>

          </s:Panel>

      </s:Application>