1 Reply Latest reply on Mar 30, 2010 7:55 PM by e2dev

    getting Severity and Description     Path     Resource     Location     Creation Time     Id Could not resolve <s:Applic

    123tron

      Hi Guys,

       

      I keep getting errors like

      Severity and Description Path Resource Location Creation Time Id

      Could not resolve <s:Application> to a component implementation. ex1_03_solution/src ex1_03_solution.mxml line 5 1269961807420 96

      And also
      Severity and Description Path Resource Location Creation Time Id
      Element type "Application" must be followed by either attribute specifications, ">" or "/>". ex1_03_starter/src ex1_03_starter.mxml line 7 1270002640353 98
      When all I am doing is loading the sample code from flex in a week tutorial
      See code below

      <?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"

          minWidth="1024" minHeight="768">

       

          <!-- Exercise 1.03: Generating an email address using data binding -->

       

          <!-- Properties of the parent ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

       

       

          <!-- Metadata ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

       

       

          <!-- Styles ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

       

       

          <!-- Script ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

       

       

          <!-- Declarations ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

       

       

          <!-- UI components ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

       

          <mx:Form x="43" y="46"

              contentBackgroundColor="#DADADA"

              dropShadowVisible="true"

              cornerRadius="5"

              backgroundColor="#FFFFFF"

              width="313">

       

              <s:Label text="Employee Registration"

                  color="#0024FF"

                  fontSize="16" fontWeight="bold"

                  width="279" height="32"

                  verticalAlign="top"

                  textAlign="center" />

       

              <mx:FormItem label="First Name:">

       

                  <s:TextInput id="firstName"

                      width="196"/>

       

              </mx:FormItem>

       

              <mx:FormItem label="Last Name:">

       

                  <s:TextInput id="lastName"

                      width="196"/>

       

              </mx:FormItem>

       

              <mx:FormItem label="Email:" dropShadowVisible="false">

       

                  <s:TextInput text="{firstName.text}.{lastName.text}@xyzcompany.com"

                      width="196"/>

       

              </mx:FormItem>

       

          </mx:Form>

       

      </s:Application>