[flexcoders] Some questions
hello, we're in the process of evaluating flex to migrate old Delphi desktop applications. and i have a couple of questions : * is it possible, with flex, to drive a card reader? i mean reading and writing to a mifare card? * if not possible with flex, is it with air? * for business applications, how do you handle all printing needs? we will use a java backend (blazeds) so is it the best to generate pdf on the server side? * i've read that file upload is not working on firefox when using https. If true, it's a big issue. Could you confirm this problem? thanks in advance best regards
RE: [flexcoders] How to manage 2 applications with different output folders in one project?
In FB, I think it's not possible. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sergey Kovalyov Sent: Monday, April 16, 2007 10:25 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to manage 2 applications with different output folders in one project? Hi All! I have two applications: client and administrator area. They have a lot of common classes, therefore I have created two Flex Projects (MyApplication and MyApplicationAdmin) and one Flex Library Project (MyApplicationFlexLibrary) and placed all the classes they use together into the MyApplicationFlexLibrary. Actually, I consider this method is not easy to manage when working in a team, because each class added to the library should be registered within it and developers usually forget about it, so that I'd prefer to have only 1 project instead of 3 with 2 mxml applications - index.mxml and indexAdmin.mxml, but I want index.mxml to be published to http://localhost/myApplication/index.html http://localhost/myApplication/index.html and indexAdmin.mxml to http://localhost/myApplication/admin/index.html http://localhost/myApplication/admin/index.html . Is there any way to make it possible? Thank you in advance. Sergey. - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Filtering/Sorting data from Flex Data Services
It's not possible to sort and filter the whole dataset on the client. You have to sort and filter it on the server side first. Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of VVV Sent: Wednesday, April 04, 2007 11:42 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Filtering/Sorting data from Flex Data Services I am using flex data services for accessing lot of records ( more than 1 records). Page size is set to 500 records. Data returned as array collection is bound to datagrid. Is it possible to sort/filter the whole data set on the client side. How does sorting/filtering work on an array collection returned when using Data Services compared to sorting/filtering an array collection. VVV - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Re: Module Interface Problems
Mike, I experienced exactly the same problem. I think it's a bug. Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Ritchie Sent: Wednesday, April 04, 2007 9:40 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems In my context, a module loading another module using ModuleLoader. The reference to the child of the ModuleLoader is always null. I have even set up a timer event that keeps checking back to see if the child is not null. Is there something specific about what I am trying to do that would cause the child to be null? - Mike --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Alex Harui [EMAIL PROTECTED] wrote: ModuleLoader is a convenience container. It loads in the module via ModuleManager and when READY, it starts to create the children. If you listen to READY you may see it before moduleloader had a chance to see it and create the child. -Alex From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Michael Ritchie Sent: Tuesday, April 03, 2007 1:04 PM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems I ruled out the timing issue, but your post has some great information how to handle this. I think I have isolated the specific module loading issue to one factor. I have a module that loads another module using a mx:ModuleLoader and I am trying to access the second ModuleLoader child through the interface. I can't seem get a reference to the child of the second ModuleLoader, it always reports null. I have a successfully loaded a module and talked using the interface, but if move this within the context of another module, I get the null reference. --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com , - FI / Jonas Eliasson + jonas.eliasson@ wrote: That sounds like a still existing Flash issue if you try to load a swf that has a shared library attached to it. Then you will get a loaded callback before it's actually loaded. So in Flash you can check on the loaded event if current frame == 0. In that case you can't access any properties and no code will be executed yet. But you can still write to the object. In our scenario we have attached a callback event method. So when the swf is really loaded it will check if the callback exist and then execute it. Which will tell the loader that it's ready to be initiated. Something similar should be easy to implement on the module but not with a check for a frame number :-) . Should be a better solution for this. I don't want to go back to old Flash hacks hehe. //as2 example private function onLibraryLoaded(libraryClip:MovieClip, cb:CallBack):Void { var me:SharedLibraryLoader = getInstance(); if(libraryClip._currentframe == 0){ libraryClip.onComplete = new CallBack(me, me.onLibraryInitiated, null, cb); }else onLibraryInitiated(libraryClip, cb); } _ From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Michael Ritchie Sent: den 3 april 2007 11:24 To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: Module Interface Problems From my experience there is a definite timing issue when loading modules. The ModuleLoader ready event is fired before the Module is fully loaded and you have the ability to talk to it through a common interface (hence the error reporting access to a null value). I would term this one as a bug that is not yet documented by Adobe. This could be because some modules take longer than expected to load, I have no idea, just the observed problem with talking with modules within the ready. I also attempted to use an interface to talk with a module when the the progress event had reached 100%, but still no luck. A possible workaround would be to fire some event from inside the loaded module that tells the outside world that it is indeed loaded. The other option is to set a timer interval and keep checking if the module is loaded (meaning not reporting NULL in the ready event handler). Unless someone else as a viable solution? Adobe? Anyone? - mr --- In [EMAIL PROTECTED] mailto:flexcoders%40yahoogroups.com ups.com, kristian_wright2002 karnal69@ wrote: *BUMP* Anyone have any ideas? I still haven't found a solution... K. - An electronic message is not binding
[flexcoders] Role based UI
Hi, I'd like to design a flex app based on the user role. The user role would be obtained from passing back via an RPC call to a remote object and would be available on the Model. I'd like to design my screens depending on the role. As an example, a button would be enabled/disabled depending on the role. I have a small prototype working fine with mx:states. It's very easy to define one state per role. Like that, I can customise my screen in a very flexible way. What I don't like is the fact that the method is intrusive. Do you know a more elegant way to achieve that? - Olivier Stembert - DEXIA - Banque Internationale à Luxembourg IT Architecture Integration *(+352) 4590 2749 - Fax 6749 / * SBC +059 * [EMAIL PROTECTED] - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Role based UI
Where do you store the permissions i.e. role1 has rights to view panel1? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, April 05, 2007 12:40 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Role based UI On Thursday 05 Apr 2007, Stembert Olivier (BIL) wrote: What I don't like is the fact that the method is intrusive. Do you know a more elegant way to achieve that? What we do is use visible/includeInLayout, bound to the role name in the model to hide/show GUI elements, or whole tabs in navigators etc. -- Tom Chiverton Helping to dramatically improve compelling data on: http://thefalken.livejournal.com This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] User authentication
You can secure your destination and send the credentials to your remote objects (j2ee security model). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of André Rodrigues Pena Sent: Thursday, April 05, 2007 3:14 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] User authentication Hi all, I'd like to know whats the pattern regarding user authentication in Flex application. In my case. I need my HTTPService to send login information (user name and password). How can I encrypt it? How is the process? -- André Rodrigues Pena LOCUS www.locus.com.br Blog www.techbreak.org - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Cairngorm FrontController
I think when Shannon is talking about components he's talking about modules in fact. In that case, each module has its own controller. In that scenario, if you dispatch an event and that event (same event type) is registered in two different modules, the two commands in different modules will be fired. Personally, what I did as a workaround, is: -define an id for each module. -when an event is registered, the event type is prefixed with the module id == the event type is unique. -when you dispatch the event, my custom dispatcher adds automatically the prefix to the event and redispatch it. -finally the right command in the right module is executed. To go further, my custom dispatcher may check if the event type is registered in the module controller. If not, it may dispatch the event to the application i.e. other modules... the beginning of inter-module communication... Rgds, Olivier -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of John Mark Hawley Sent: Friday, March 16, 2007 12:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm FrontController You're doing something very weird, but I can't figure out exactly what since you've mucked with Cairngorm. The point of the Front Controller is that there's only one. If you have two components in your app, and they both are set to fire the same event when a certain action occurs, the same action is supposed to happen each time. That's the point -- events are tied to user gestures. The same event always calls the same command. If you want different things to happen when different actions occur, you have two choices: 1) put some data into the event you dispatch, and have your Command class do different things depending on that data 2) fire different events. It sounds like you have the concept of the CairngormEventDispatcher a little off as well. It's probably best to state what you're trying to do with an example instead of code. -Mark Hawley From: Shannon [EMAIL PROTECTED] Date: 2007/03/15 Thu PM 04:42:01 CST To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm FrontController I am new to Cairngorm and Flex (I'm All About Flash) so bear with me. I am creating a component and I want it to use Cairngorm. I also want to be sure that some events fired from the component are only heard by the Cairngorm of the single component instance. Component namespaces won't help because I use multiple instances of the same event, I could probably filter by instance, but I am trying not to hack (you'll probably see the irony after the next sentence... If I use Cairngorm as is... ...and I utilize the Singleton CairngormEventDispatcher, as soon as I put two instances of a component on stage, the events from one instance cause the front controller on the second instance to fire those events Sadly this is probably operator error. Though I am guessing that someone has had this problem before and surely there is a best practice solution to this already, I thought I would spend a little time to explore the issue further and find my own solution. I decided to try to handle this by using separate instances of the CairngormEventDispatcher (MyViewHelper.dispatcher) for each instance of my component. Then I could inject that dispatcher into MyFrontController when it is instantiated so that it knows which dispatcher to call. Just when I think I am on to something, I had to override addCommand so that it would add an event listener to that instance instead of the Singleton CairngormEventDispatcher. This is great but it required two modifications (minor, yet still modifications) to the Cairngorm FrontController class in order to compile my creation. (see snippets below) Basically I took two private things and made them protected. Of course this might effect other pieces I have yet to build, but my level of mastery coerces me into believing I have found a solid answer. snicker/ If those iteration two guys were really geniuses they would have made these protected in the first place. Ha, ha, ha, just kidding, (I crack myself up) So I can either use my own FrontController impl or I can ask the question: Is this a bug in Cairngorm? Or am I correct in beleiving I must be doing something wrong... Some code samples: // // myViewHelper Snippet: // public function MyViewHelper(view:Object) { dispatcher = new CairngormEventDispatcher(); controller = new MyFrontController(dispatcher); ... } // // myFrontController Snippet: // public class MyFrontController extends FrontController { private var dispatcher:CairngormEventDispatcher; public function MyFrontController(dispatcher:CairngormEventDispatcher) { super(); this.dispatcher = dispatcher ... } public override function addCommand( commandName : String, commandRef : Class ) : void { if( commands[ commandName ] != null ) { throw new Error
RE: [flexcoders] Compilation, library-path and configuration file
Any ideas??? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Wednesday, March 14, 2007 11:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Compilation, library-path and configuration file Hi flexcoders, I try to compile my project with a configuration file which contains the following library-path tag: library-path path-elementC:\LOCALAPP\workspace\Merlin\bin\Merlin.swc/path-element /library-path Other compilation options in the config file are taken into account during compilation but the library-path tag is not. Only the library path set in the Options panel (FB) is considered for compilation. The same is true for the flex libraries. If I remove all the libraries (playerglobal.swc,...) from the Options panel and add them in the config file, the compiler complains about classes missing. Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Cairngorm: When / why override clone in Events
Sean, You can read in the Flex doc: There are two utility methods in the Event class. The clone() method allows you to create copies of an event object. The toString() method allows you to generate a string representation of the properties of an event object along with their values. Both of these methods are used internally by the event model system, but are exposed to developers for general use. For advanced developers creating subclasses of the Event class, you must override and implement versions of both utility methods to ensure that the event subclass will work properly. Nothing to do with Cairngorm. Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sean Sell Sent: Wednesday, March 14, 2007 8:45 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Cairngorm: When / why override clone in Events In one of the Cairngorm examples I learned Cairngorm from each event had defined an override for the clone method (of Flash.Event). Does anyone understand haw and when you should do this? Does Cairngorm clone the events behind the scenes somewhere that requires this be done? --Sean Be a PS3 game guru. Get your game face on with the latest PS3 news and previews at Yahoo! Games. http://us.rd.yahoo.com/evt=49936/*http://videogames.yahoo.com - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Compilation, library-path and configuration file
Hi flexcoders, I try to compile my project with a configuration file which contains the following library-path tag: library-path path-elementC:\LOCALAPP\workspace\Merlin\bin\Merlin.swc/path-element /library-path Other compilation options in the config file are taken into account during compilation but the library-path tag is not. Only the library path set in the Options panel (FB) is considered for compilation. The same is true for the flex libraries. If I remove all the libraries (playerglobal.swc,...) from the Options panel and add them in the config file, the compiler complains about classes missing. Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Cairngorm, front controller and modulat apps
Hi all, I am in the process of integrating Cairngorm in a modular application. The modular app is composed of one shell and several modules. I would like that one module can send a message to another module via the shell. How to do that? 1. In each module, I define a front controller which will treat the events relative to the module. Ex: In module A: event types: A1,A2,A3 In module B: event types: B1,B2,B3 In module C... 2. In the shell, I define a front controller which will treat the events relative to the inter-module communication. Ex: In shell: event types: A.A1,B.B2 i.e. the event A1 from module A can be dispatched from outside module A (module B or module C can dispatch the event A.A1) i.e. the event B2 from module B can be dispatched from outside module B (module A or module C can dispatch the event B.B2) Since A2,A3,B1 and B3 are not initialised in the shell controller, they cannot be dispatched from outside their own module. 3. When the event A1 is dispatched from module A, the front controller of module A will do the job; that's the usual case. 4. When the event A.A1 is dispatched from module B, the shell controller will do the job; there is an unique command in the shell controller (ShellCommand) which dispatch a new event with type A1. Then, the front controller of module A will do the job. The problem is I have no idea how I can prevent module B to dispatch directly A1 (instead of A.A1) i.e. it will bypass the shell controller. What I don't like is that Command objects have a global scope. If you dispatch an event from whatever module, the event will be catched by the command even if it's not part of the same module. How can I restrict the scope of the commands in a module context? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] FlexAntTasks and tokens
Hi, I'd like to use tokens with FlexAntTasks. I don't see how I can pass the token to the mxmlc tag. To know what is a token, one can red in the doc: You can pass custom token values to the compiler using the following syntax: +token_name=value In the configuration file, you reference that value using the following syntax: ${token_name} You can use the @Context token in your configuration files to represent the context root of the application. You can also use the ${flexlib} token to represent the frameworks directory. This is useful if you set up your own configuration and are not using the default library-path settings. The default value of the ${flexlib} token is application_home\frameworks. Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Re: FlexAntTasks and tokens
Thanks Chris! But now my question is how I can pass the property to the mxmlc tag (the compiler) so that I can use the property in my flex-config.xml compiler configuration file. Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Chris Luebcke Sent: Monday, February 12, 2007 11:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: FlexAntTasks and tokens Hi Olivier, There are two ways I know of to define properties, and one consistent syntax for using them. To define properties in your build.xml file itself, you use the property tag. Example: property name=flash.dir value=${top}/bin/ A common pattern is to define properties which may vary between developer machines or between dev/qa/production builds in a seperate .properties file, and then reference that file into your build.xml. For example, I have a file called local.properties, which contains (among other things) this line: top=C:\/dev/app (Yeah, now that I look at it I'm not sure exactly how I arrived at that particular combination of back and forward slashes, but it works so I'm disinclined to monkey with it.) I include this file in my build.xml file with the following line: property file=../local.properties/ And after doing so, I can reference the top property with the curly brace syntax, a la ${top}. You'll note that I've done just that in the first example, where ${flash.dir} gets the value ${top}/bin, which resolves to C:\/dev/app. You use the same ${property name} format to use tokens in your mxmlc tag. Last thing I'll note is that I've had better luck defining Windows paths, especially those containing spaces, in an external properties file--doing so directly in a property tag seems to cause problems. That could just be ignorance on my part of how to properly escape paths within the build.xml file, though. Hope that's what you were looking for, Chris --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Stembert Olivier \(BIL\) [EMAIL PROTECTED] wrote: Hi, I'd like to use tokens with FlexAntTasks. I don't see how I can pass the token to the mxmlc tag. To know what is a token, one can red in the doc: You can pass custom token values to the compiler using the following syntax: +token_name=value In the configuration file, you reference that value using the following syntax: ${token_name} You can use the @Context token in your configuration files to represent the context root of the application. You can also use the ${flexlib} token to represent the frameworks directory. This is useful if you set up your own configuration and are not using the default library-path settings. The default value of the ${flexlib} token is application_home\frameworks. Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] duplicate function definition
Hi Mayur, When you define a member variable, a setter method is internally created. You have to rename your variable vbox and define it as private. private var _vbox:VBox; public function set vbox(val:VBox):void { _vbox = val; } Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: Tuesday, February 13, 2007 7:54 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] duplicate function definition Hello all, When I am doing this : public var vbox:VBox; public function set vbox(val):void{ vbox = val } Why am i getting a error like Duplicate function definition when i am defining my set vbox function. Regards Mayur - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Re: Project structure
You organize your applications in a package hierarchy. What I'd like is to organize them in a folder hierarchy like in the samples webapp. Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sgrosven2 Sent: Monday, February 05, 2007 3:10 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Project structure The solution to that I've been using is to have a skeletal mx:application file in the root directory. that skeletal file does something like this: mx:Application ... xmlns:view=com.mycompany.yadayada.* view:MyAppMain / /mx:Application the MyAppMain.mxml is a component living in the com.mycompany.yadayada path that contains the real application. Since its a component it can be bundled easily with other main screens if I wanted to do so. - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Integerating Flex and Java using mx:RemoteObject
Hi, Did you compile your app with the -services compiler option to specify where is your services configuration file??? Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mukesh Sent: Friday, February 02, 2007 9:00 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Integerating Flex and Java using mx:RemoteObject Hi There, I was trying Daniel Harfleet's sample example , where he is showing how to integrate Java and Flex using a simple RPC example. I followed the steps, but I am getting an error on the Server console. My Flex application is deployed on JBoss server 4.0.5. I've made sure that the java class is compiled and is in placed in the WEB-INF/classes directory of my Flex application. This is how the remoteobject tag looks in my sample.mxml file mx:RemoteObject id=echoRO destination=echoService fault=handleFault(event) result=handleResult(event) / This is how the entry in the remote-config.xml looks default-channels channel ref=my-amf/ /default-channels destination id=echoService properties sourcefdsweb.EchoService/source scopeapplication/scope /properties /destination == So, when I try to access the application deployed in the JBoss, it throws the following error on the console. 22:59:59,484 INFO [STDOUT] [Flex] [ERROR] Exception when invoking service: remo ting-service with message: Flex Message (flex.messaging.messages.RemotingMessage) operation = echo clientId = 4A82830C-BC09-C972-DEFB-361367B86F0E destination = echoService messageId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC timestamp = 1170392399484 timeToLive = 1170392399484 body = null hdr(DSEndpoint) = my-amf exception: flex.messaging.MessageException: No destination 'echoService' exist s in service flex.messaging.services.RemotingService 22:59:59,500 INFO [STDOUT] [Flex] [ERROR] Error handling message: flex.messagin g.MessageException: No destination 'echoService' exists in service flex.messagin g.services.RemotingService incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage) operation = echo clientId = 4A82830C-BC09-C972-DEFB-361367B86F0E destination = echoService messageId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC timestamp = 1170392399484 timeToLive = 1170392399484 body = null hdr(DSEndpoint) = my-amf errorReply: Flex Message (flex.messaging.messages.ErrorMessage) clientId = null correlationId = C4DFD400-5B97-AB88-DFD7-80D2BD155FFC destination = echoService messageId = 4A828333-CC08-81C5-E391-08512AA44718 timestamp = 1170392399500 timeToLive = 0 body = null code = Server.Processing message = No destination 'echoService' exists in service flex.messaging.ser vices.RemotingService details = null rootCause = null body = null extendedData = null Could someone , please let me know as to what I am missing. -Regards - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Project structure
Yes I'd like to create multiple mxml apps like in the samples project for example. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Beverly Guillermo Sent: Friday, February 02, 2007 9:25 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Project structure Do you mean creating multiple mxml files that have mx:Application tag? I didn't think that was allowed? I know that if I have components that I build using .mxml files I could just use a package structure which allows me to put them in sub-folders and access those components... On 2/2/07, Stembert Olivier (BIL) [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: In other words, why do we have to put mxml applications in the main flex folder? I don't understand why such a limitation? Rgds, Olivier :) From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com http://yahoogroups.com ] On Behalf Of Stembert Olivier (BIL) Sent: Thursday, February 01, 2007 7:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Project structure Hi flexcoders, I'd like to put many mxml applications in only one eclipse project. The problem is that I can only put my applications in the main flex folder. I don't like it because I want to structure my project and put my applications in subfolders. Is there a workaround using Flex Builder? I know I can use Flex Ant tasks. Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Flex books
Hi flexcoders, Is it worth buying these books??? Programming Flex2 ActionScript 3.0 Cookbook Did you read and recomment them? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] AS variables at the top level of a package
Okay I understand. So, I can never declare my method as public at the package level, right? But what do you understand when reading the doc??? If you do declare variables, functions, or namespaces at the top level of a package, the only attributes available at that level are public and internal, and only one package-level declaration per file can use the public attribute, whether that declaration is a class, variable, function, or namespace. Rgds, Olivier :) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, February 02, 2007 12:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS variables at the top level of a package On Friday 02 Feb 2007, Stembert Olivier (BIL) wrote: Sorry but it's 7AM here in Luxembourg and I don't see... Okay, try it this way: package { class Test { } } You have created an object called Test. You can only have one public object in a package (even if your package has no name). Only public objects can have public methods (because methods must belong to an object, and if external classes can't see the object, they can't invoke the method [what would they invoke it on ?]). public function dummy():void{} This public method is not part of an object, so it will break. -- Tom Chiverton Helping to proactively aggregate end-to-end interfaces This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] AS variables at the top level of a package
Hi Tom, Sorry but it's 7AM here in Luxembourg and I don't see... -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday, February 01, 2007 1:11 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] AS variables at the top level of a package On Thursday 01 Feb 2007, Stembert Olivier (BIL) wrote: package { class Test { } } var var1 : String; public function dummy():void{} .. I don't understand why I got the compilation error since I have only one declaration with the public attribute. duly signed. - Think about it - which object is your new public method a method on ? -- Tom Chiverton Helping to evangelistically synergize edge-of-your-seat models This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Project structure
In other words, why do we have to put mxml applications in the main flex folder? I don't understand why such a limitation? Rgds, Olivier :) From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Thursday, February 01, 2007 7:43 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Project structure Hi flexcoders, I'd like to put many mxml applications in only one eclipse project. The problem is that I can only put my applications in the main flex folder. I don't like it because I want to structure my project and put my applications in subfolders. Is there a workaround using Flex Builder? I know I can use Flex Ant tasks. Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Project structure
Hi flexcoders, I'd like to put many mxml applications in only one eclipse project. The problem is that I can only put my applications in the main flex folder. I don't like it because I want to structure my project and put my applications in subfolders. Is there a workaround using Flex Builder? I know I can use Flex Ant tasks. Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] AS variables at the top level of a package
Hi again, In the AS3.0 pdf page39, one can read: Many developers, especially those with Java programming backgrounds, may choose to place only classes at the top level of a package. ActionScript 3.0, however, supports not only classes at the top level of a package, but also variables, functions, and even statements. I tried to compile the following: package { var var1 : String; public class Test { } } But got the following error: A file found in a source-path can not have more than one externally visible definition. var1;Test Any ideas? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] AS variables at the top level of a package
Sorry, I didn't understand at the top level of a package This one compiled fine. package { public class Test { } } var var1 : String; Other examples: 1) compiles fine package { class Test { } } var var1 : String; function dummy():void{} 2) got compilation error 1114: The public attribute can only be used inside a package. package { class Test { } } var var1 : String; public function dummy():void{} In the AS3.0 pdf page40, one can read: If you do declare variables, functions, or namespaces at the top level of a package, the only attributes available at that level are public and internal, and only one package-level declaration per file can use the public attribute, whether that declaration is a class, variable, function, or namespace. I don't understand why I got the compilation error since I have only one declaration with the public attribute. I know it's not very funny... Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Thursday, February 01, 2007 8:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AS variables at the top level of a package Hi again, In the AS3.0 pdf page39, one can read: Many developers, especially those with Java programming backgrounds, may choose to place only classes at the top level of a package. ActionScript 3.0, however, supports not only classes at the top level of a package, but also variables, functions, and even statements. I tried to compile the following: package { var var1 : String; public class Test { } } But got the following error: A file found in a source-path can not have more than one externally visible definition. var1;Test Any ideas? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] deploying a simple Flex app to WebSphere AppServer?
Check this http://weblogs.macromedia.com/pmartin/archives/2006/11/deploying_flex.cf m#more Rgds, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of djbrown_rotonews Sent: Thursday, January 25, 2007 4:48 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] deploying a simple Flex app to WebSphere AppServer? I'm trying to deploy a simple flex app to WAS6.1 after having it run under the included jrun4. What processes do I need to take, or is there a tutorial online that would step me thru the process? - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Flash simple question
Hi all, When a swf file is downloaded to my computer, where is it stored? I mean where on the file system? Thanks Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Organize imports
Ho all, Do you know how to organize imports in FlexBuilder? Rgds, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Globally Define Custom validation Messages
Hi, I don't like compiling againt the locale. Check this alternative: http://weblogs.macromedia.com/arayne/archives/2006/08/internationalis.cf m#mo Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Dirk Eismann Sent: Friday, January 19, 2007 10:19 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Globally Define Custom validation Messages All messages are externalized to .properties files and can be easily localized. Check the Flex SDK install directory for the locale/en_US folder. You'll have to create your localized / customized .properties files and compile your application against the locale. Dirk. -Original Message- From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of Juan Carlos M. Sent: Friday, January 19, 2007 9:17 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Globally Define Custom validation Messages Hi. Is there a way to globally define custom validation messages and properties instead of per instance definition? (for example, define globally my custom message as default value for wrongYearError in All DateValidators of the application? ) -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Difference Between FDS and Flex SDK
Hi Sanjay, You will find a lot of answers by searching a little bit in this forum. And, by the way, here is the link to the doc: http://www.adobe.com/support/documentation/en/flex/ Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Monday, January 22, 2007 6:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Difference Between FDS and Flex SDK Hi, Can anyone tell me the main differences between Flex Data Services (FDS) and Flex SDK? And I have one more question, Can I connect to Remote Object without FDS? Please clearify my doubts. Thanks, Sanjay Sharma - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] FDS createItem - how to find ID of inserted record?
Hi, You should set the id in your dao class. Here is an example with a dao using Spring: public void create(Dept dept) throws DataAccessException { String sql = ... NamedParameterJdbcTemplate template = new NamedParameterJdbcTemplate(this.getDataSource()); MapSqlParameterSource namedParameters = new MapSqlParameterSource(); ... template.update(sql, namedParameters); int id = getJdbcTemplate().queryForInt(call identity()); dept.setDeptId(id); } Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sunilpatel_10 Sent: Saturday, January 20, 2007 2:25 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] FDS createItem - how to find ID of inserted record? Hi, I have a page where I capture DEPT and EMP data. On click of a button I want to save DEPT record and all the EMP records with ID of newly created DEPT as a parent. I use FDS, hibernate and db generated IDs. The problem I am facing is how do I get the ID of DEPT record created by createitem() and access it to assign this DEPT as a parent of EMP records that I want to create? If I examine ID of dept object used in createitem after FDS commit(), it is still 0. Appreciate your help. - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Remote list (data provider)
Hi, Thanks for sharing your code. Just want to say the paging mechanism is supported in Flex Data Management Service only (not in RPC services). Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of roman_dolgov Sent: Sunday, January 21, 2007 9:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Remote list (data provider) FYI: Just to share a sample implementation of IList that supports remote paging and works well with DataGrid. (You don't need it if you are using FDS, otherwise I could not find much info how to do it without FDS) I tried two approaches: - using event notification - using ItemPendingError The second one seems to be the winner. You can find code and some brief explanation here: http://stackoverflowexception.blogspot.com/2007/01/new-version-of-remote list-ilist.html http://stackoverflowexception.blogspot.com/2007/01/new-version-of-remot elist-ilist.html regards RD - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Arp framework
Hi, I found the Arp framework (http://osflash.org/arp) on the net. Does anyone use it? It seems very similar to Cairngorm. Regards, Olivier - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] [Flexunit] - How to test throwing errors?
Hi Christophe, It seems logic the fail() statement is not executed since it follows the new Account() statement which throws the exception. I'm not sure I understand what you mean... Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of herrodius Sent: Wednesday, January 17, 2007 11:53 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] [Flexunit] - How to test throwing errors? Hi all, sorry for this slightly OT message. I was wondering what the best way is to test for a method throwing an error. I have an Account class that takes a number:int and a name:String as constructor params. If an Account is instantiated with a null name, I want to throw an Error (IllegalArgumentException). In my test, I instantiate a new Account with a null name inside a try/catch and fail immediately after the instantiation. However this does not seem to work. The fail never executes and the test passes. See example: var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch (e:Error) {} The only way I can get this to work, is to check if the errorMessage in the catch block is the same as the error message in my test and then call fail() again. var errorMessage:String = Account constructor should throw IllegalArgumentException when passing 'null' name.; try { var a:Account = new Account(100, null); fail(errorMessage); } catch(e:Error) { if (e.message == errorMessage) { fail(errorMessage); } } Seems a bit weird. The fail() in the try block is catched by the catch block. I thought this worked in AS2? Am I missing out on something or doing something wrong here? thx in advance. regards, Christophe - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Precompiling with active web-tier compiler
Hi Hara, Specify the location of the services-config.xml file by using the services compiler argument. Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of haravallabhan Sent: Wednesday, January 17, 2007 2:58 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Precompiling with active web-tier compiler Hi all.. I am trying to precompile the application which uses the FDS 2.0. Precompiling doest give me any errors. But the issue is Iam using RemoteObject in the client to access Java methods. So it need web- tier compiler. So when I wrote a html wrapper with the src=MyApp.swf I get the error couldn't establish a connection to MyService where MyService is the destination I referred to in the RemoteObject call.The destination poits to the service mentioned in the remote-config.xml. But when I give src=MyApp.mxml in the html wrapper the application works fine. Is it that it nullified the precompile I did?? Does it compile again when I specify MyApp.mxml iside the html wrapper If so is there a way out, without compromising the precompiling action? Can I deactivate the web-tier compiler? And which config I may use instead of remote-config.xml. Since when remote-config.xml is there then the web-tier compiler is activates as per the help doc. Does anyone have an answer for me? Thanks in advance Regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , haravallabhan [EMAIL PROTECTED] wrote: Thanks gr8 work clint... thanks a lot... it worked... I was searching for web-inf/flex/libs but it looks like it takes form the sdk framework thanks a lot clint. cheers Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Clint Modien cmodien@ wrote: Sounds like you're missing the fds.swc . It's not included in the SDK. You can get the express version of FDS here: http://www.adobe.com/go/flex_trial http://www.adobe.com/go/flex_trial On 1/12/07, haravallabhan haravallabhan@ wrote: Thanks Clint for the links.. Was useful. I have added ant tags to compile and build the Flex application manually with precompilation.But When I tried to complie the mxml file using the ant build file I get an error which I didnt get when I compile normally. The error says Interface IManaged not found and the ant says the build was Failed. Whats the error mean? I am using the exec tag to use the mxmlc.exe in the fsdk2/bin in the Flex Builder installed directory. Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=mxmlc#1126 What you really want to do is setup ant to build it for you in flexbuilder 2. http://www.flex2ant.org/ http://www.flex2ant.org/ Or setup ant from the command line. http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/309503.htm http://webddj.sys-con.com/read/310378.htm http://webddj.sys-con.com/read/310378.htm On 1/10/07, haravallabhan haravallabhan@ wrote: Hi Rob and Mod, Thanks for your itme guys. Rob I use FDS and there are no images loaded initally. I directly call the application which initially shows Vbox-- Hbox-a Logo-/Hbox applictionControlBar-- / viewStack -- first tab(visible first time) - 3 viewstack each has a chart and datagrid -- second tab - a tree, 2 data grid and a viewstack with a datagrid and a chart /viewstack /vbox Rob what do you mean by the controls in this context. Hi Mod where do I compile the files-- through FlexSDK folder??? Thanks regards Hara --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com flexcoders% 40yahoogroups.comflexcoders% 40yahoogroups.com, Clint Modien cmodien@ wrote: Ya... precompiling would definitely help. While your waiting for that minute. 90% of that time is probably compilation. Precompiling is in the docs... http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304% http://livedocs.flexsearch.org/index.shtml? http://livedocs.flexsearch.org/index.shtml? cx=017079146949617508304%25 3Amv4wpsyofxucof=FORID%3A9q=precompiling#816 Which version of Flex is this? On 1/10/07, haravallabhan haravallabhan@ wrote: Hi guys, How to improve the startup performance of the flex application
[flexcoders] Re: Compiling problems
Hi I'm experiencing the same problem SINCE I've upgrated to flex builder 2.0.1 I receive the error Unable to export SWC Oem for my flex library project and when I'm launching my projects I receive the following two errors Connect failed because the object is already connected. and TypeError: Error #1009: Cannot access a property or method of a null object reference. when using my custom SWC. I'm highlighting the fact that these projects were working with the previous version and no modification has been made. the flex builder 2.0.1 seems to have a big problem ! Olivier --- In flexcoders@yahoogroups.com, Webdevotion [EMAIL PROTECTED] wrote: Ok, I found a way to reproduce my problem. Create a new project. Add a new child ( eg: a Car class which extends Sprite ). Inside the Car class, try to access stage. eg: var w:Number = stage.stageWidth; From that moment on, your app fails to compile, even after removing the stage.stageWidth line. Can anyone verify this for me ?
[flexcoders] Re: Compiling problems
It seems I've solved the problem. First of all, I rebuild the workspace using the instructions (I did not see it before:( ) like FlexBuilder -clean -vmargs -Xmx512m. Furthermore, it remained the problem of the connection for my swc. After reading all debug instructions, I saw that the cause was the history management. I disable it and it works. But why the history management caused an error during execution (no modification made to the swc) ? Olivier --- In flexcoders@yahoogroups.com, olivier [EMAIL PROTECTED] wrote: Hi I'm experiencing the same problem SINCE I've upgrated to flex builder 2.0.1 I receive the error Unable to export SWC Oem for my flex library project and when I'm launching my projects I receive the following two errors Connect failed because the object is already connected. and TypeError: Error #1009: Cannot access a property or method of a null object reference. when using my custom SWC. I'm highlighting the fact that these projects were working with the previous version and no modification has been made. the flex builder 2.0.1 seems to have a big problem ! Olivier --- In flexcoders@yahoogroups.com, Webdevotion webdevotion@ wrote: Ok, I found a way to reproduce my problem. Create a new project. Add a new child ( eg: a Car class which extends Sprite ). Inside the Car class, try to access stage. eg: var w:Number = stage.stageWidth; From that moment on, your app fails to compile, even after removing the stage.stageWidth line. Can anyone verify this for me ?
RE: [flexcoders] Re: How to have datagrids with different filterfunction for a single dataprovide
I think Daniel wants to filter the rows. I don't see any solution except to duplicate the original one... Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of phipzkillah Sent: Monday, January 15, 2007 10:56 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to have datagrids with different filterfunction for a single dataprovide Daniel, I believe it's possible to do this with one array collection. Set up 3 datagrids with the dataprovider set to your array collection variable. For each datagrid specify the columns you want to be displayed: mx:columns mx:Array mx:DataGridColumn dataField=@name headerText=Name/ mx:DataGridColumn dataField=@total headerText=Total/ /mx:Array /mx:columns That should to it... Phil --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Dan [EMAIL PROTECTED] wrote: Hi, I want to have 3 datagrids with the same dataprovider but show different part of it according to the filterFunction? Is it possible? Or i need to copy the arraycollection into three and each have to update back the original one by the observe tag by adobe??? Anyone has any idea? Thanks Daniel - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Interface class for states?
Hans, This is a sort of workaround... In the super class: 1) declare and define the states private function init(arr:Array) : void { var newState : State; var i:int; for(i=0; iarr.length; i++) { var id : String = arr[i].data; newState = new State(); newState.name = id; states.push(newState); } } 2) getter method protected function getState(id:String) : State { var i:int; for (i=0; istates.length; i++) { var state : mx.states.State = states[i]; if (id == state.name) return state; } return null; } In the child class: public function codeMinimizedState() : void { var state : mx.states.State = getState(minimized); var p : SetProperty = new SetProperty(); p.name = ...; p.value = ...; p.target = ...; state.overrides[0] = p; ... } ... The child class could implement an interface like: public interface ICodeState { public function codeMinimizedState() : void public function codeMaximizedState() : void ... } I think you're working in Belgium, right? I work not far from you in Luxembourg. Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: Monday, January 15, 2007 5:11 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Interface class for states? Thanks for your reply, but this is not exactly what I need... :-} What I need is an (exotic) way to force the presence of certain states in a MXML component. For example we're developing www.belgacom.tv http://www.belgacom.tv in group and I want to make sure that everyone extending the GeneralPortlet class implements has at least these states: mx:states mx:State name=minimized /mx:State mx:State name=maximized /mx:State mx:State name=normal /mx:State mx:State name=icon /mx:State mx:State name=edit /mx:State /mx:states Can this be done? wkr, Hans. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Webdevotion Sent: maandag 15 januari 2007 15:44 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Interface class for states? Hey Hans, Look at this blogpost: http://casario.blogs.com/mmworld/2006/08/implementing_in.html http://casario.blogs.com/mmworld/2006/08/implementing_in.html succes ermee ; ) - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Cairngorm / MVC Best Practice
I don't know. Why is it still in the framework? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 12, 2007 10:16 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm / MVC Best Practice On Friday 05 January 2007 16:07, Stembert Olivier (BIL) wrote: the view and the command are better decoupled with the ViewHelper pattern, no? ViewHelper isn't recommended anymore, is it ? -- Tom Chiverton Helping to competently compete 24/7 mindshares This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Paging with DataGrid??
Sanjay, If you are using Data Management Services, you can specify the paging option on the network node. destination id=accountDSDestination ... properties ... network session-timeout20/session-timeout paging enabled=true pageSize=100 / throttle-inbound policy=ERROR max-frequency=500/ throttle-outbound policy=REPLACE max-frequency=500/ /network /properties /destination From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Thursday, January 11, 2007 10:22 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Paging with DataGrid?? Hi, Is there any way to put paging on datagrid? Please let me know, if there is something like dis in flex or the way to do it in flex. Regards, Sanjay sharma - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Re: Paging with DataGrid??
No it's part of FDS2. Here is the link to the doc: http://livedocs.macromedia.com/flex/201/html/wwhelp/wwhimpl/js/html/wwhe lp.htm?href=Part2_DevApps_048_1.html Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sanjaypmg Sent: Thursday, January 11, 2007 11:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Paging with DataGrid?? Hi Stembert, Thanks for responding... Please let me know, Flex Data Management Services are available in FDS2 or is it required to install/deploy it seperately? Thanks, Sanjay --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Stembert Olivier \(BIL\) [EMAIL PROTECTED] wrote: Sanjay, If you are using Data Management Services, you can specify the paging option on the network node. destination id=accountDSDestination ... properties ... network session-timeout20/session-timeout paging enabled=true pageSize=100 / throttle-inbound policy=ERROR max-frequency=500/ throttle-outbound policy=REPLACE max-frequency=500/ /network /properties /destination From: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com ] On Behalf Of sanjaypmg Sent: Thursday, January 11, 2007 10:22 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Paging with DataGrid?? Hi, Is there any way to put paging on datagrid? Please let me know, if there is something like dis in flex or the way to do it in flex. Regards, Sanjay sharma - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Client logging
Thanks a lot LocalConnection is new for me. I'm going to try it. Regards, Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Van De Velde Hans Sent: Wednesday, January 10, 2007 6:34 PM To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Client logging No, you're wrong. Check http://osflash.org/xray http://osflash.org/xray and there are also many runtime trace panels out there that dump messages to the panel via LocalConnection (for ActionScript 1, 2 3) -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: woensdag 10 januari 2007 9:39 To: flexcoders@yahoogroups.com Subject: [flexcoders] Client logging Hi all, Am I right if I say there's no way to log on the client (trace() output method) without the debugger version of the Flash Player? Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Event calling in Cairngorm 2.1 - Newbie question.
What's the description of the error? Are you sure the controller has been instantiated? Olivier From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Sent: Wednesday, January 10, 2007 12:21 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Event calling in Cairngorm 2.1 - Newbie question. I am trying to follow the 2.1 store as a model to understand the cairngorm structure and I am getting a constant error in trying to dispatch an event. I copied the example code almost exactly, but i get seen to get the even to fire. I don't know if the problem is in my FrontController or my event. Any help you can offer is much appreciated. Thank, Kevin --- I have this in my main.mxml file private function loadGroupList() : void { CairngormEventDispatcher.getInstance().dispatchEvent( new CairngormEvent( GetGroupListEvent.EVENT_GET_GROUP_LIST ) ); } and then in my event file: import flash.events.Event; import com.adobe.cairngorm.control.CairngormEvent; public class GetGroupListEvent extends CairngormEvent { public static var EVENT_GET_GROUP_LIST : String = getGroupList; //public var position : int; /** * Constructor. */ public function GetGroupListEvent() { super( EVENT_GET_GROUP_LIST ); } /** * Override the inherited clone() method, but don't return any state. */ override public function clone() : Event { return new GetGroupListEvent(); } } and my controller: import com.adobe.cairngorm.control.FrontController; //import the command folder import com.onefoot.dbocl.command.* //import each event import com.onefoot.dbocl.event.GetGroupListEvent; /** * @version $Revision: $ */ public class DboclController extends FrontController { public function DboclController() { initialiseCommands(); } public function initialiseCommands() : void { addCommand( GetGroupListEvent.EVENT_GET_GROUP_LIST, GetGroupListCommand ); } } - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] DataGrid row
Thanks Tracy for your help From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Tuesday, January 09, 2007 6:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] DataGrid row That is because there is really no such thing. The list controls are windows into the data, and only the visible rows exist. The visual rendering elements are re-used when the data is scrolled or the dataProvider is changed. You cannot access the data through the control, but must work with the dataProvider, in your case, something like: myDataGrid.dataProvider.setItemAt(); The exact API you use depends on what the dataProvider is, ArrayCollection, XMLList, XMLListCOllection are the main types. If you use the Collection api to modify the data, then the changes will automatically be reflected in the control. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stembert Olivier (BIL) Sent: Tuesday, January 09, 2007 4:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] DataGrid row Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Client logging
Hi all, Am I right if I say there's no way to log on the client (trace() output method) without the debugger version of the Flash Player? Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] DataGrid row
Hi, How can I get a pointer to a row in a DataGrid? i.e. myDataGrid.getRow(index).setSomething() I know the DataGridColumn but there's nothing like a DataGridRow Thanks - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
RE: [flexcoders] Cairngorm / MVC Best Practice
the view and the command are better decoupled with the ViewHelper pattern, no? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Friday, January 05, 2007 4:42 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Cairngorm / MVC Best Practice On Friday 05 January 2007 14:51, Martin Wood-Mitrovski wrote: do these objects then implement some kind of interface to support the 'onCommandName(result)' method or do you type it in some other way? No, you could (should ?) write an interface class and import it though, yes. As long as we remember to make the function public rather than private it works really well. We like it much better than the old ViewHelper way of doing things as now your result handler code is right there with the invocation code. -- Tom Chiverton Helping to competently harness back-end content This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. - - An electronic message is not binding on its sender. Any message referring to a binding engagement must be confirmed in writing and duly signed. -
[flexcoders] Re: criticla problem charting component - coding axis
Hi all! Thank you for your help ! I finally found the problem: The series creation was wrong : my way : aa:AreaSet=new AreaSet(); aa.series=new Array(); //--inserting series this.series=aa; correct way: aa:AreaSet=new AreaSet(); aa.series=[]; //--inserting series this.series=aa; Using this way, all my problems are resolved. series=new Array()- series=[]; Lack of documentation ? Olivier --- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote: Hi Olivier. it's hard to diagnose your problem, or even what behavior you're seeing, without a more details description of what you're trying to do, what you're doing, and what the actual behavior you're seeing is. Sample code would help too. Flex 1, or Flex 2? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of olivier Sent: Wednesday, September 13, 2006 2:11 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] criticla problem charting component - coding axis Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: criticla problem charting component - coding axis
Hi, I have to detail my problem. I'm creating a component full actionscript. This component create a CartesianChart adding some functionalities. here is the source code var tAxis:DateTimeAxis=new DateTimeAxis(); tAxis.alignLabelsToUnits=true; tAxis.autoAdjust=true; tAxis.dataUnits=minutes; tAxis.labelUnits=days; tAxis.displayLocalTime=true; tAxis.baseAtZero=false; this.horizontalAxis=tAxis; var lAxis:LinearAxis=new LinearAxis(); lAxis.alignLabelsToInterval=true; lAxis.autoAdjust=true; lAxis.baseAtZero=false; this.verticalAxis=lAxis; var slAxis:LinearAxis=new LinearAxis(); slAxis.alignLabelsToInterval=true; slAxis.autoAdjust=true; slAxis.baseAtZero=false; this.secondVerticalAxis=slAxis; this.secondVerticalAxisRenderer=new AxisRenderer(); For informations, after this code, I retrieve the series (line). The baseAtZero doesn't work. I've tried an other sample custom chart and it wors properly BUT the baseAtZero property can NOT be modified at run time. Here is the code ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute xmlns:local=* mx:Script ![CDATA[ import mx.charts.LinearAxis; function test():void{ //var t:LinearAxis=TestAxis (r).nChart.verticalAxis; LinearAxis(TestAxis (r).nChart.verticalAxis).baseAtZero=true; LinearAxis(TestAxis (r).nChart.verticalAxis).update(); } ]] /mx:Script local:TestAxis id=r/ mx:Button x=147 y=432 label=Button click=test()/ /mx:Application Thank in advance, it is very critical for me olivier --- In flexcoders@yahoogroups.com, trader230 [EMAIL PROTECTED] wrote: Hi Olivier - 'baseAtZero' sets the minimum to zero (if your data are all =0) or the maximum to zero (if the data are 0). Choices for setting the axis range are a) let the chart decide min and max; b) set them yourself. If you want to use baseAtZero=true (with choice (a)), it will set the minimum to 0: Perhaps I'm missing your problem, in which case, in addition to sample code, could you also describe more about what you are trying to do ? Hope this helps; looking forward to your post. --Brian --- In flexcoders@yahoogroups.com, olivier olivier-ext.ratard@ wrote: Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] criticla problem charting component - coding axis
Hi, I've a critical problem when I want to code in actionscript a chart with a linearxis. Indeed, all propertie can be set but the baseAtZero doesn' t work properly. It computes the maximum value but the minimum value is always 0. I've tried with several different series without any success. I found the same topics on others forums but nobody can bring an answer to this problem. I'm blocked on this aspect. Is anybody has an example or guidelines (for example, this property must be set before one other etc..) to solve this problem ? Thank you in advance O. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * Your email settings: Individual Email | Traditional * To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) * To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Problem to specify type property in a columnSet in actionScript (urgent)
Hi, I'm trying to create a chart (cartesian) with an areaset, a columnset and some lineseries. Here is the relative piece of mxml code (it works fine) mx:CartesianChart id=c1 showDataTips=true width=807 mx:horizontalAxis mx:DateTimeAxis displayLocalTime=true autoAdjust=true alignLabelsToUnits=true labelUnits=days labelFunction=shortDate dataUnits=days parseFunction=myParseFunction/ /mx:horizontalAxis mx:series mx:Array mx:AreaSet type=100% mx:series mx:Array mx:AreaSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:AreaSet mx:ColumnSet type=stacked mx:series mx:Array mx:ColumnSeries width=50 dataProvider={xxx} displayName={} yField=valeur xField=date_application / mx:ColumnSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:ColumnSet mx:LineSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:CartesianChart when I'm trying to create the same thing in AS, my chart is rendering the areaseries and columnseries one over the other which means that the columnseries are not rendered as one stacked group but as 2 stacked group I have not find the solution and I'm blocked. Can someone help me ?? It's very urgent. piece of code areaSet.series=tmpArea; columnSet.series=tmpColumn; tmpAll.push(areaSet); tmpAll.push(columnSet); for (i=0;itmpLine.length;i++){ tmpAll.push(tmpLine[i.toString()]); } this.series=tmpAll; Thank you Oliver -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Problem to specify type property in a columnSet in actionScript (urgent)
I saw in the debugger that the property Stacker is null. the problem seems to be here but when I set the stacker it doesn't work. As there is few documentation and no example for creating columnset or areaset in actionscript, is anyone able to help me or to give me the way I have to do it ? thanks --- In flexcoders@yahoogroups.com, olivier [EMAIL PROTECTED] wrote: Hi, I'm trying to create a chart (cartesian) with an areaset, a columnset and some lineseries. Here is the relative piece of mxml code (it works fine) mx:CartesianChart id=c1 showDataTips=true width=807 mx:horizontalAxis mx:DateTimeAxis displayLocalTime=true autoAdjust=true alignLabelsToUnits=true labelUnits=days labelFunction=shortDate dataUnits=days parseFunction=myParseFunction/ /mx:horizontalAxis mx:series mx:Array mx:AreaSet type=100% mx:series mx:Array mx:AreaSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:AreaSet mx:ColumnSet type=stacked mx:series mx:Array mx:ColumnSeries width=50 dataProvider={xxx} displayName={} yField=valeur xField=date_application / mx:ColumnSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:ColumnSet mx:LineSeries width=50 dataProvider={xxx} displayName={yyy} yField=valeur xField=date_application / /mx:Array /mx:series /mx:CartesianChart when I'm trying to create the same thing in AS, my chart is rendering the areaseries and columnseries one over the other which means that the columnseries are not rendered as one stacked group but as 2 stacked group I have not find the solution and I'm blocked. Can someone help me ?? It's very urgent. piece of code areaSet.series=tmpArea; columnSet.series=tmpColumn; tmpAll.push(areaSet); tmpAll.push(columnSet); for (i=0;itmpLine.length;i++){ tmpAll.push(tmpLine[i.toString()]); } this.series=tmpAll; Thank you Oliver -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Column chart possibilities
Hi ! I want to create a chart with two columns series. Each series has its own y axis (because the values are too different). I resolved the first problem which was that the two series were superposed using x property of each column serie. The last problem is related to dataTip. Indeed, they appear as the series were still superposed. I didn't find the way to manipulate them. Did you have an idea to match the datatip to the serie ? More, do you think my work is the best pratice to create this kind of chart ? Thank you Olivier -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Columnchart clustered with two vertical axis
Hi, I want to create a columnchart clustered composed by two series. As the scale of the series are different I have to use two differents y axis. But in this case, the two series are not clustered but the second is rendered on the other. Do you have an idea to create this kind of chart ? thanks by advance O. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Re: Flex Vs OpenLaszlo
Hi, I'm working for less than one year on OpenLaszlo. Now I'm evaluating flex for migrating our applications. I think that flex is more enterprise oriented with a serie of completed components (chart, datagrid..) Even the documentation is very few in OpenLaslo, the community forum is full of examples and workshop. I've more problems with flex to find pratical examples (not adobe's). Furthermore, the components of OpenLaszlo are more fexibles then flex. For example, the datagrid understands a XML structure in a single way. You can not make a vertical datagrid. Unfortunately, OpenLaszlo is not developing itself in the way I'm interesting. The charting components are available in a beta version (which is not working) for more than one year. It's the reason why I'm evaluating flex :) O. --- In flexcoders@yahoogroups.com, Robert Kaeth [EMAIL PROTECTED] wrote: Hi, Has anyone done a comparison between Flex2 and OpenLaszlo? If someone can share his/her experience, it will be great. TIA -B Yahoo! Groups Sponsor ~-- Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM ~- -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Datagrid. xml structure doesn' match
Hi, I would like to know what's the best xml structure to use datagrid. Indeed, my xml data source (legacy system) is like : xchart xset name=x1 xrecord p1/p1 p2/p2 p3/p3 /xrecord xrecord p1/p1 p2/p2 p3/p3 /xrecord /xset xset name=x2 xrecord p1/p1 p2/p2 p3/p3 /xrecord xrecord p1/p1 p2/p2 p3/p3 /xrecord /xset /xchart I can use the charting components with this xml (using []) but I encountered some troubles with datagrid my data source is composed in 4 xset. Each of these xset is composed by one or more xrecord. But one xset is corresponding to one column As we can set the dataprovider only in the datagrid tag, I can't realize it. my whish (obviously doesn' t work): mx:DataGrid dataProdiver={feed.lastResult.xchart} mx:DataGridColumn datafield=[EMAIL PROTECTED] /mx:DataGrid Do you have any idea ? or there is an unique xml strucutre for datagri d ?? thanks -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ * To unsubscribe from this group, send an email to: [EMAIL PROTECTED] * Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
[flexcoders] Loading external css and setting a:hover style for htmlText
How do I connect an external stylesheet to a textfield so the htmlText gets the right styles? I have an Application:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns:myText=* layout=absolutemx:Style source=main.css /myText:TextFieldExample //mx:Application That 'loads' an external stylesheet main.css:body {fontFamily : ThesisBolPla;leading : -3;}.heading {fontWeight :bold; color: #FF3300;}a {color:#f0037f;}a:link{color:#f0037f;text-decoration:underline;}a:hover{color:#f0037f;}a:active{ color:#cc;}and creates the an instance of TextFieldExample:package {import mx.core.UIComponent;import flash.text.TextField;public class TextFieldExample extends UIComponent { private var label:TextField;private var labelText:String = bodyspan class='heading'Hello world/spanbra href=''and welcome/a to the show. /body; public function TextFieldExample() {configureLabel();setLabel(labelText);}public function setLabel(str:String):void { label.htmlText = str;}private function configureLabel():void {label = new TextField();label.width = 200;label.embedFonts = true; label.background = true;label.multiline = true;label.styleSheet = HOW TO CONNECT TO THE CSS?;addChild(label);}}} How do I connect the external stylesheet to the textfield so the htmlText gets the right style? __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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. __,_._,___
[flexcoders] Loading external css and setting a:hover style for htmlText
How do I connect an external stylesheet to a textfield so the htmlText gets the right styles? I have an Application:?xml version=1.0 encoding=utf-8?mx:Application xmlns:mx= http://www.adobe.com/2006/mxml xmlns:myText=* layout=absolutemx:Style source=main.css /myText:TextFieldExample //mx:Application That 'loads' an external stylesheet main.css:body {fontFamily : ThesisBolPla;leading : -3;}.heading {fontWeight :bold; color: #FF3300;}a {color:#f0037f;}a:link{color:#f0037f;text-decoration:underline;}a:hover{color:#f0037f;}a:active{color:#cc; }and creates the an instance of TextFieldExample:package {import mx.core.UIComponent;import flash.text.TextField;public class TextFieldExample extends UIComponent { private var label:TextField;private var labelText:String = bodyspan class='heading'Hello world/spanbra href=''and welcome/a to the show. /body; public function TextFieldExample() {configureLabel();setLabel(labelText);}public function setLabel(str:String):void { label.htmlText = str;}private function configureLabel():void {label = new TextField();label.width = 200;label.embedFonts = true; label.background = true;label.multiline = true;label.styleSheet = HOW TO CONNECT TO THE CSS?;addChild(label);}}}How do I connect the external stylesheet to the textfield so the htmlText gets the right style? __._,_.___ -- 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. __,_._,___