Sunday, March 28, 2010

warning help: ''this compilation unit...

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

%26lt;?xml version=''1.0'' encoding=''utf-8''?%26gt;
%26lt;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=''*''%26gt;

?%26lt;fx:Script source=''mainScript/loginScript.as'' /%26gt;

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

any help would be greatly appretiated!! thanks a lot

warning help: ''this compilation unit...

any suggestions?? lol

warning help: ''this compilation unit...

the mxml is fine there is a problem with the actionscript file. try putting the actionscript into the script tag and then you will probably see the error

hey david, thanks for responding!!

i tried doing what u suggested, and i couldn't see any errors. but still the same warning.

any other suggestions?? lol

No comments:

Post a Comment