7 Replies Latest reply on Nov 16, 2009 3:15 PM by spencech

    warning help: "this compilation unit did not have a factoryClass specified in Frame...."

    cyber0897 Level 1

      hey guys, so after installing the new beta 2, I recieved a warning in my project staying "This compilation unit did not have a factoryClass specified in Frame metadata to load the configured runtime shared libraries. To compile without runtime shared libraries either set the -static-link-runtime-shared-libraries option to true or remove the -runtime-shared-libraries option."

       

      I have no idea where in my project this warning occurs, but it syas the resource, is login.mxml, and the location is unknown, and the type is Flex Problem

       

      the code in login.mxml is

       

      <?xml version="1.0" encoding="utf-8"?>
      <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/halo" width="100%" height="100%" xmlns:local="*">

       

          <fx:Script source="mainScript/loginScript.as" />

          <mx:VBox horizontalCenter="0" verticalCenter="0">
              <s:Panel width="350" height="175">
                  <mx:Form id="loginForm">
                      <mx:FormItem label="User Name:">
                          <s:TextInput name="userName" id="userName" enter="checkLogin()"/>
                      </mx:FormItem>
                      <mx:FormItem label="Password:">
                          <s:TextInput name="password" id="password" displayAsPassword="true" enter="checkLogin()" />
                      </mx:FormItem>
                  </mx:Form>
                  <s:Button bottom="10" right="10" id="submit" label="Submit" click="checkLogin()" />
              </s:Panel>
          </mx:VBox>
      </s:Group>

       

      any help would be greatly appretiated!! thanks a lot