[flexcoders] Architecting for extensibility

2009-03-22 Thread jimmy5804
I'm looking for some architecture advise. My AIR application has the ability to render certain kinds of data, each of which has a unique string descriptor (e.g. red). I would like to make it easy for others to add renderers for other kinds of data. To accomplish this, I created a renderer

[flexcoders] MySQL and Flex

2009-03-22 Thread christophe_jacquelin
Hello, How to use mySQL with Flex ? Thank you, Christophe

Re: [flexcoders] Cancelling drag

2009-03-22 Thread Josh McDonald
I'm trying to figure out a nice way to do this, too. Anybody beat us to it? I'll owe you a beer :) -Josh 2009/3/21 Julien Phalip lets...@hotmail.com Hi, I'm using DragManager to drag some objects on the interface. And I'd like the dragging to be cancelled when the ESCAPE key is pressed.

[flexcoders] Using ItemRenderer with IHierarchicalData DataProvider

2009-03-22 Thread yossi.baram
Hi, There is a greate example in the following link that allows us to create simple hirarchical grid with AdvancedDataGrid, implementing IHierarchicalData. http://inovativeflexdevolopment.blogspot.com/2008/07/flex3-dynamic-population-of-data-in.html I couldnt find a way to include ItemRenderer

RE: [flexcoders] Architecting for extensibility

2009-03-22 Thread Tracy Spratt
First, the classes do not need to be loaded. They only need to be linked in by the compiler. A variable declaration typed as that object will suffice Have you looked at Modules? This is one of the issues they were designed for. Tracy Spratt, Lariat Services, development services

[flexcoders] Java beans to AS class with ANT integration

2009-03-22 Thread Ivan Bojer
Is anyone using any Java bean to action script class converter, preferably with ANT integration? There are few out there but they are either not being maintained or do not have ANT integration.

Re: [flexcoders] MySQL and Flex

2009-03-22 Thread Wesley Acheson
I could be wrong but as far as I know you need a server technology to talk to the database. You then need to communicate with your server technology. Is this for an Air app or one to be deployed to a browser? On Sun, Mar 22, 2009 at 10:14 AM, christophe_jacquelin christophe_jacque...@yahoo.fr

Re: [flexcoders] Java beans to AS class with ANT integration

2009-03-22 Thread Pedro Sena
http://www.graniteds.org/ Regards On Sun, Mar 22, 2009 at 5:26 AM, Ivan Bojer ibo...@gmail.com wrote: Is anyone using any Java bean to action script class converter, preferably with ANT integration? There are few out there but they are either not being maintained or do not have ANT

[flexcoders] Re: rollover is blinking

2009-03-22 Thread carloscarvalhar
Hi, Even using rollOver/rollOut the problems still exist. Trough debug i can't notice what is happening. i think the problem is happening because the first rollover set visible a component with other rollover function and when this rollover occurs the other may be set as rollOut. I'm not sure

Re: [flexcoders] MySQL and Flex

2009-03-22 Thread Brendan Meutzner
Wesley is correct, you'll need a middle tier technology to facilitate the communication between Flex and a backend database (ie. ColdFusion, Java, PHP, etc...). You would use RemoteObject, HTTPService, WebService classes to hook up from Flex to whichever middle tier option you use. Then you'd

RE: [flexcoders] Re: rollover is blinking

2009-03-22 Thread Tracy Spratt
Through debug i can't notice what is happening. Debug will tell you if you look hard enough. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of carloscarvalhar Sent: Sunday, March 22,

[flexcoders] Re: Using ItemRenderer with IHierarchicalData DataProvider

2009-03-22 Thread yossi.baram
Hi, My problem is simple, In my TreeTable The ItemRenderer show me only one level. When I click the parent it will show only the level beneath it, although it has childrens, WHY??? When I use depth, I can see the tree but it doesnt activate the ItemRenderer. How can I set the Itemrenderer to

Re: [flexcoders] MySQL and Flex

2009-03-22 Thread Fidel Viegas
On Sun, Mar 22, 2009 at 10:14 AM, christophe_jacquelin christophe_jacque...@yahoo.fr wrote: Hello, How to use mySQL with Flex ? Have a look at aSQL (http://asql.mooska.pl/). I think it is still experimental. I have tried it once, and I was able to communicate with mysql from both AIR and the

[flexcoders] Re: rollover is blinking

2009-03-22 Thread carloscarvalhar
ok, i got it. i had to check in rollOut if the mouse is over the hitare of the components. i'm posting here as reference if someone else needs this. public function toogleVisiOut():void{ if (! (container.hitTestPoint(stage.mouseX, stage.mouseY, true) || myComponent.hitTestPoint(stage.mouseX,

Re: [flexcoders] Java beans to AS class with ANT integration

2009-03-22 Thread Wesley Acheson
Is it difficult to move to graniteds if blazeDS is already utilised? I'd really like to generate my remote objects (both ways) if this is possible then I'd like to switch but we are currently nearing the end of our development cycle and I can't afford to change technology if it mean rewriting

[flexcoders] LineSeries and fillFunction

2009-03-22 Thread ukguy2k000
Hi, Recently I've written a custom fillFunction which I'm struggling with. Here's the source code: private function myFillFunction(element:ChartItem, index:Number):IFill { var c:SolidColor = new SolidColor(0x00CC00);

Re: [flexcoders] A ModuleLoader issue

2009-03-22 Thread Wesley Acheson
On Wed, Mar 18, 2009 at 12:36 PM, grg_blls grg_b...@yahoo.com wrote: Hi all, Finally that client is logged out when finished. Now if he does a new login as a customer, module1 loads and offers again the customers options, but if he tries the same option (which leads to loading module1a),

[flexcoders] How to separate Flex code and server code in different servevr?

2009-03-22 Thread markflex2007
Hi, I test Flex code and php server code in same server and it works fine.I use the following line code. private var amf:RemoteObject = new RemoteObject(); amf.source = something.something; amf.destination =something; amf.endpoint = http://localhost/amfphp/amfphp/gateway.php;; I use same Flex

Re: [flexcoders] How to separate Flex code and server code in different servevr?

2009-03-22 Thread Brendan Meutzner
Do you have the crossdomain.xml file setup correctly on the 192.168.0.188 box to receive calls from whatever host you're loading the app from? Brendan On Sun, Mar 22, 2009 at 11:20 PM, markflex2007 markflex2...@yahoo.comwrote: Hi, I test Flex code and php server code in same server and

[flexcoders] Flex 2.0.1 constraint based layout

2009-03-22 Thread Annette Spooner
Hi, I am trying to use constraint based layout to have a datagrid adjust in size as the browser window is resized. I have put together a simplified example below, but it is not working. When the application is first displayed, the datagrid does not stretch to fill the width or height of the

Re: [flexcoders] Flex 2.0.1 constraint based layout

2009-03-22 Thread Guy Morton
Why is it inside a HBox container? Take it out of the HBox container and see if that helps. On 23/03/2009, at 3:45 PM, Annette Spooner wrote: Hi, I am trying to use constraint based layout to have a datagrid adjust in size as the browser window is resized. I have put together a

RE: [flexcoders] Flex 2.0.1 constraint based layout

2009-03-22 Thread Tracy Spratt
Try setting the width of both the HBox and the Application to 100% Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Annette Spooner Sent: Monday, March 23, 2009 12:46 AM To:

[flexcoders] Re: strange problem with remote object

2009-03-22 Thread johndoematrix
i tried to change my code after reading through some coldfusion flex tutorials but i get the same error msg Unable to invoke CFC - The UNAME parameter to the userData function is required but was not passed in.. here is my new code cfc function cffunction name=userData access=remote

RE: [flexcoders] Re: strange problem with remote object

2009-03-22 Thread Tracy Spratt
You are not passing the username and password parameters to the to the method. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of johndoematrix Sent: Monday, March 23, 2009 1:08 AM To:

[flexcoders] Re: strange problem with remote object

2009-03-22 Thread johndoematrix
Tracy could you please show me how to pass the parameters to the method. this is the only way i have always known to get items from a database.thanks