Re: [flexcoders] Compile error when trying to use an extended spark TextInput
I cannot reproduce your issue in a normal case. I can reproduce your issue only in extreme case, e.g. textValue2 BTW, why extend from TextInput class in MXML? If there are no visual subchildren in your custom component, it's better to extend the class in solemn ActionScript. -- Best regards, Andriy Panas On 14 July 2010 13:41, bhaq1972 wrote: > > > I have created a very simple MyTextInput > > MyTextInput.mxml > - > > http://ns.adobe.com/mxml/2009"; > xmlns:s="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/flex/mx"> > > !-- Place non-visual elements (e.g., services, value objects) here --> > > > > When I try using it in a Application I am getting the compile error - > > Multiple initializer values for default property, 'text', of type 'String' > > What am I missing? > thanks > > testApp > --- > http://ns.adobe.com/mxml/2009"; > xmlns:s="library://ns.adobe.com/flex/spark" > xmlns:mx="library://ns.adobe.com/flex/mx" > xmlns="*"> > > > > > >
[flexcoders] Compile error when trying to use an extended spark TextInput
I have created a very simple MyTextInput MyTextInput.mxml - http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> !-- Place non-visual elements (e.g., services, value objects) here --> When I try using it in a Application I am getting the compile error - Multiple initializer values for default property, 'text', of type 'String' What am I missing? thanks testApp --- http://ns.adobe.com/mxml/2009"; xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx" xmlns="*">
[flexcoders] Compile Error Under 3.5a but not 3.4
Hi There, I'm unsure what is going on, but I can't compile my project under 3.5. Works fine under 3.4. I get the following errors in 3.5: Encountered errors or warnings while building project Alloys.mxml. Alloys.mxml: Invalid component name 'modules.Alloys': component name must be legal ActionScript class name. Encountered errors or warnings while building project Case.mxml. Case.mxml: Invalid component name 'modules.Case': component name must be legal ActionScript class name. Any ideas? Thanks, Mike
Re: [flexcoders] Compile error
It means it can't find the source for the class with the name "classname." It's likely that either you didn't import the class or the class isn't in your project. Aaron markgoldin_2000 wrote: > > > What does that error mean? > > could not find source for class classname > > Thanks > >
[flexcoders] Compile error
What does that error mean? could not find source for class classname Thanks
Re: [flexcoders] Compile error with flex sdk 3.1
Your flex build path is not pointing to Flex SDK3.1.0. Replace it if not... Thanks, with Regards, Jitendra Jain From: Pankaj Arora <[EMAIL PROTECTED]> To: flexcoders@yahoogroups.com Sent: Saturday, 18 October, 2008 10:28:05 AM Subject: [flexcoders] Compile error with flex sdk 3.1 Hi, I just upgraded to Flex SDK 3.1.0 and it gives me error : ] Error: Unable to resolve resource bundle "datamanagement" for locale "en_US". It is coming when I use mx.controls. AdvancedDataGrid . Any ideas on how this can be resolved. This was working fine with Flex SDK 3.0 Also in the 3.1 SDK release I don’t see datavisualization. swc file needed for compiling advancedDataGrid. Any ideas where I can download the swc file. Thanks, Pankaj Arora Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
[flexcoders] Compile error with flex sdk 3.1
Hi, I just upgraded to Flex SDK 3.1.0 and it gives me error : ] Error: Unable to resolve resource bundle "datamanagement" for locale "en_US". It is coming when I use mx.controls.AdvancedDataGrid. Any ideas on how this can be resolved. This was working fine with Flex SDK 3.0 Also in the 3.1 SDK release I don't see datavisualization.swc file needed for compiling advancedDataGrid. Any ideas where I can download the swc file. Thanks, Pankaj Arora
[flexcoders] compile error: Unable to resolve a class for ResourceBundle: charts.
Hi All, i got this compile error while i do ant build. i have flex2sdk, and looks like i need flex charting 2 installed on my linux machine? where i can find the flex charting 2 installer? now the adobe website has flex3 all over the place. thanks C. -- View this message in context: http://www.nabble.com/compile-error%3A-Unable-to-resolve-a-class-for-ResourceBundle%3A-charts.-tp17659514p17659514.html Sent from the FlexCoders mailing list archive at Nabble.com.
Re: [flexcoders] compile error with beta 2 sdk *** SOLVED ***
It looks like I have resolved this. In the past, in order to compile an app that uses AdvancedDataGrid I needed to include only the datavisualtion.swc file in my compiler.library-path. But, now I need to include the datavisualization_rb.swc as well to get the resource bundles. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Scott Melby wrote: Can anybody shed light on this compiler error I am getting after upgrading to the beta 2 sdk? [mxmlc] Error: Unable to resolve resource bundle "datamanagement" for locale "en_US". In case it helps... My app uses only HttpService to retrieve data from a back end web service. Any help is appreciated. Thanks Scott
[flexcoders] compile error with beta 2 sdk
Can anybody shed light on this compiler error I am getting after upgrading to the beta 2 sdk? [mxmlc] Error: Unable to resolve resource bundle "datamanagement" for locale "en_US". In case it helps... My app uses only HttpService to retrieve data from a back end web service. Any help is appreciated. Thanks Scott
RE: [flexcoders] Compile error with mxmlc and ModuleLoader
Are other mx: things working and only module loader is the issue? Are you on Flex 2.0.1 or some other version. Did you import ModuleEvent, etc in your .as files? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of philip_carlson Sent: Tuesday, October 23, 2007 4:52 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Compile error with mxmlc and ModuleLoader Hello, I'm trying to do that nifty thing where you remove the framework classes from your Module swfs. Unfortunately, I seem to be unable to even compile my main mxml application file. I know you need to compile the main mxml with the command line compiler & give it a -link-report option, but even without that it's giving me grief about not resolving ModuleLoader related components/classes: MainView.mxml(19): Error: Could not resolve to a component implementation. MainViewClass.as(110): col: 42 Error: Type was not found or was not a compile-time constant: ModuleEvent. private function onTemplateLoaded (evt:ModuleEvent):void { ^ MainViewClass.as(35): col: 14 Error: Type was not found or was not a compile-time constant: ModuleLoader. public var templateLoader_modldr:ModuleLoader; ^ MainViewClass.as(35): col: 14 Error: Type was not found or was not a compile-time constant: ModuleLoader. public var templateLoader_modldr:ModuleLoader; ^ EntryListViewClass.as(94): col: 49 Error: Access of possibly undefined property CHANGE through a reference with static type Class. this.entryList_dg.addEventListener(ListEvent.CHANGE, this.onEntrySelected, false, 0, true); that's the output I get from the command line compiler. I've got a source-path option that I'm providing it. Here's the full command I'm providing: mxmlc -link-report=report.xml -source-path="C:\Documents and Settings\PhilipC\Desktop\trunk-06.26.2007\system\FlexLibrary"; scForms.mxml I've only been using FlexBuilder up until now, so maybe I'm missing something obvious to othersHelp greatly appreciated. Thanks, Philip
[flexcoders] Compile error with mxmlc and ModuleLoader
Hello, I'm trying to do that nifty thing where you remove the framework classes from your Module swfs. Unfortunately, I seem to be unable to even compile my main mxml application file. I know you need to compile the main mxml with the command line compiler & give it a -link-report option, but even without that it's giving me grief about not resolving ModuleLoader related components/classes: MainView.mxml(19): Error: Could not resolve to a component implementation. MainViewClass.as(110): col: 42 Error: Type was not found or was not a compile-time constant: ModuleEvent. private function onTemplateLoaded (evt:ModuleEvent):void { ^ MainViewClass.as(35): col: 14 Error: Type was not found or was not a compile-time constant: ModuleLoader. public var templateLoader_modldr:ModuleLoader; ^ MainViewClass.as(35): col: 14 Error: Type was not found or was not a compile-time constant: ModuleLoader. public var templateLoader_modldr:ModuleLoader; ^ EntryListViewClass.as(94): col: 49 Error: Access of possibly undefined property CHANGE through a reference with static type Class. this.entryList_dg.addEventListener(ListEvent.CHANGE, this.onEntrySelected, false, 0, true); that's the output I get from the command line compiler. I've got a source-path option that I'm providing it. Here's the full command I'm providing: mxmlc -link-report=report.xml -source-path="C:\Documents and Settings\PhilipC\Desktop\trunk-06.26.2007\system\FlexLibrary"; scForms.mxml I've only been using FlexBuilder up until now, so maybe I'm missing something obvious to othersHelp greatly appreciated. Thanks, Philip
RE: [flexcoders] compile error (Please help)
It's throwing the error because you're not setting the url variable before you call srv.send() creationComplete="srv.send()" viewSourceURL="srcview/index.html"> You need to maybe do this instead: creationComplete="cargarDatos()" Shan From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of tonyx_788Sent: Saturday, July 08, 2006 12:04 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] compile error (Please help) i'm really new in FLEX 2 b1 and ACTIONSCRIPTanyone knows why i get this error when flash compilesError: code:Client.URLRequired string:'A URL must be specified with useProxy set to false.' detail:'null' at mx.rpc.http::HTTPService/send() at mx.rpc.http.mxml::HTTPService/send() at UJAT2/___Application1_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/mx.core:UIComponent::dispatchCreationCompleteEvent() at mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispatchCreationCompleteEvents() at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()This will compile but throw an error* creationComplete="srv.send()" viewSourceURL="srcview/index.html"> source="{srv.result.*}" filterFunction="filtrar" /> editable="false" width="150" id="datagrid" scroll="true" change="cargarDatos.refresh()" x="0" y="0"> wordWrap="true" y="0" styleName="main.css" editable="false"> change="xlc.refresh()" text="a" backgroundColor="#f0eff1"/> --No virus found in this incoming message.Checked by AVG Free Edition.Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006 __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___ -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.394 / Virus Database: 268.9.10/383 - Release Date: 7/7/2006
[flexcoders] compile error (Please help)
i'm really new in FLEX 2 b1 and ACTIONSCRIPTanyone knows why i get this error when flash compilesError: code:Client.URLRequired string:'A URL must be specified with useProxy set to false.' detail:'null' at mx.rpc.http::HTTPService/send() at mx.rpc.http.mxml::HTTPService/send() at UJAT2/___Application1_creationComplete() at flash.events::EventDispatcher/dispatchEvent() at mx.core::UIComponent/mx.core:UIComponent::dispatchCreationCompleteEvent() at mx.core::UIComponent$/http://www.macromedia.com/2005/flex/mx/internal::dispatchCreationCompleteEvents() at mx.managers::LayoutManager/mx.managers:LayoutManager::doPhasedInstantiation() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher2() at mx.core::UIComponent/mx.core:UIComponent::callLaterDispatcher()This will compile but throw an error* creationComplete="srv.send()" viewSourceURL="srcview/index.html"> source="{srv.result.*}" filterFunction="filtrar" /> editable="false" width="150" id="datagrid" scroll="true" change="cargarDatos.refresh()" x="0" y="0"> wordWrap="true" y="0" styleName="main.css" editable="false"> change="xlc.refresh()" text="a" backgroundColor="#f0eff1"/> __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to: [EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___