[flexcoders] Advanced Datagrids and sortCompareFunctions for columns with custom sort compare function

2010-01-17 Thread sasuke
Hi all, I have an Advanced datagrid(ADG) which displays nested data. The problem comes when I use HierarchicalData as the dataprovider for my ADG instead of a simple ArrayCollection; in this case the column sort functionality ceases to work and this happens for those columns which have a custom s

Re: [flexcoders] What server do I put my crossdomain.xml file on?

2010-01-17 Thread sasuke
Matthew-104 wrote: > > Hi - > > I have a Flex app that uses an HTTPService to call a Servlet. The servlet > retrieves a file on another domain and passes back to Flex where they are > prompted by a Windows dialog to either save or open it: It works fine > locally. > > When deployed, I get th

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Aaron Hardy
I'm not sure I understand your question clearly but if I assume correctly I think the answer will be yes, there is no need for each descendant to instantiate its own responder. Aaron On Sun, Jan 17, 2010 at 6:37 PM, Tim Romano wrote: > > > Thank you, Aaron, for the helpful answers. My intention

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
Thank you, Aaron, for the helpful answers. My intention would be to have each of the descendants of MYHTTPSERVICEBASE point to a different destination and raise an event specific to that destination, and to have a separate listeners for each kind of event. If I've understood you correctly, ther

[flexcoders] Re: Image Bounding Box

2010-01-17 Thread criptopus
Got it working, here is the solution in case anybody else has the problem. - Stephen

RE: [SPAM] [flexcoders] e4x to Datagrid not removing the tags when rendered

2010-01-17 Thread Tracy Spratt
First, the DataGrid dataProvider itself must be some kind of list. It can be an ArrayCollection, an XMLListCollection, an Array or XMLList(avoid these if you plan to programmatically update the dataProvider) There are two ways to get an HTTPService result into a dataProvider. One is to bind t

[flexcoders] Image Bounding Box

2010-01-17 Thread criptopus
When I place an image that is 400px x 200px inside a box that is 100px x 100px the image shrinks to 100px x 50px to fit inside the box as it should. Now I am trying to place a number of these boxes above each other and having the 50px of blank space is not good so I tried removing the height pro

[flexcoders] Binding and Spark Skins

2010-01-17 Thread amiller.demandlending
Hi Everyone, I have a sub-component which uses a String binding on a Label. The bindings works fine if I do not use a skinClass on the host component. If I do use a SparkSkin, my bindings do not execute on the sub-component. Instead, I get the value which I initialized it to. Am I doing someth

[flexcoders] e4x to Datagrid not removing the tags when rendered

2010-01-17 Thread Quintjer
Hello all, I am importing an xml file in air to a datagrid but the data in the grid is still showing the tags. I have tried everying that I can think of. Earlier I tried imporing the file using HTTP server as an object and then got the data to display properly at that point but this has

Re: [flexcoders] Can a canvas be scrollable without the scrollbars?

2010-01-17 Thread Aaron Hardy
I recently posted this in response to a similar question--sorry about that, not trying to spam. But this could help you out: http://aaronhardy.com/flex/standalone-scrollbar/ If, in the example, you set the scroll policies to false on the canvas you'll see the canvas scrolling without internal scr

Re: [flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Aaron Hardy
I'll take a crack at it. Can the event object be dispatched from within the MYHTTPSERVICEBASE? Sure. I think there may be a separate underlying question here though. Are you asking how? Maybe you can clarify? Will the GUI hear it if it's dispatched from the base class? First of all, if the ser

RE: [SPAM] [flexcoders] How long does it take to learn Flex and get a job?

2010-01-17 Thread Tracy Spratt
That question has no "answer". When will you know that have you "learned" Flex? I am not sure I have learned Flex and I have been writing production applications for seven years. You say "1 year", but how many hours a day? If you write Flex apps for forty hours a week for a year, then I woul

[flexcoders] question about inheritance and events and overriding methods

2010-01-17 Thread Tim Romano
Let's say I have a class MYHTTPSERVICEBASE which extends mx.rpc.http.HTTPService. This base class of mine checks whether it is being run in debug mode or release, and sets the base URL to localhost or the remote host. Then I have individual http service classes that extend MYHTTPSERVICEBASE.

[flexcoders] Re: Flex + BazeDS: custom collections on Flex side

2010-01-17 Thread Sébastien Tromp
Hello again, I did some additional tests, and have realized that I _have to_ explicitely implement the Externalizable interface on the Java side to be able to use custom serialization / deserialization on the Flex side. So apparently it is not possible to use a standard class (like HashMap, or the