[flexcoders] Re: Java-like equals() method?

2008-10-15 Thread frank_sommers
it that often... -- Maciek Sakrejda Truviso, Inc. http://www.truviso.com -Original Message- From: frank_sommers [EMAIL PROTECTED] Reply-To: flexcoders@yahoogroups.com To: flexcoders@yahoogroups.com Subject: [flexcoders] Java-like equals() method? Date: Sat, 11 Oct 2008 02:54

[flexcoders] Java-like equals() method?

2008-10-10 Thread frank_sommers
Hi, I've been searching for a good solution to implementing object equality. I'm familiar with ObjectUtil, etc., but it still makes things harder than they should be. It may be best to illustrate this with an example. Suppose I have a ComboBox with an ArrayCollection as a data provider.

[flexcoders] Re: Obtaining name of method

2008-10-03 Thread frank_sommers
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of frank_sommers Sent: Thursday, September 25, 2008 12:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Obtaining name of method Hi, I'm looking for a way to obtain the name

[flexcoders] Obtaining name of method

2008-09-24 Thread frank_sommers
Hi, I'm looking for a way to obtain the name of method, given a Function object. For instance, inside a method, I can obtain a reference to the method by calling arguments.callee. But how do I then obtain from the Function object the function's name: public function testFunction():void {

[flexcoders] Re: Passing data to AdvancedDataGridRendererProvider

2008-07-23 Thread frank_sommers
Hi Amy, Thank you so much for the excellent advice. I ended up defining a custom event. This really is a much cleaner design. Thank you again. -- Frank --- In flexcoders@yahoogroups.com, Amy [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, frank_sommers fsommers@ wrote: Hi

[flexcoders] Passing data to AdvancedDataGridRendererProvider

2008-07-18 Thread frank_sommers
Hi, I'm trying to pass some custom data into the AdvancedDataGridItemRenderer. But as far as I can see, only the datafield can be passed to this component. Is there any way to specify to the class factory some other object references, too? In my case, I want the user to be able to affect

[flexcoders] Re: Adding non-XML property to an XML object

2008-06-19 Thread frank_sommers
--- In flexcoders@yahoogroups.com, Tracy Spratt [EMAIL PROTECTED] wrote: I can't see how this would be possible. XML is essentially a string. When you pass a complex object via xml, you have to serialize it into a bunch of metadata that describes the object, so the receiver can deserialize

[flexcoders] AIR, BlazeDS, -services compile param

2008-02-14 Thread frank_sommers
Hi, I was able to successfully build a BlazeDS application where the Flex client runs in the browser. Now, I'm trying to build an application that uses AIR and accesses a BlazeDS service remotely (invokes a remote object). I would like to configure the BlazeDS application so that the

[flexcoders] Re: Flex Builder 3 beta 3 licence

2007-12-13 Thread frank_sommers
Well, is there an official word on this from Adobe? We have a Flex Charting license, and I'd love to download FlexBuilder Beta 3, but we use the charting components so I can't have the watermarks show on them. It'd be great if someone from Adobe could clarify this: Can we use the existing

[flexcoders] AdvancedDataGrid groupLabelFunction and group totals

2007-11-21 Thread frank_sommers
Hi, I'm using the AdvancedDataGrid in Flex 3, and would like to use the groupLabelFunction to display the total count of items in a group. groupLabelFunction must be defined by a method that consumes the data item and an AdvancedDataGridColumn as parameters. I am not able to find a way to

[flexcoders] Adobe Share and PDF inside Flex

2007-11-16 Thread frank_sommers
Hi, I just signed up for the Adobe Share beta. The most interesting thing so far about this service is what appears to be a PDF document displayed inside a Flex component. The component allows one to page through the document, zoom, etc. I wonder if someone on this list who is also familiar

[flexcoders] FlexBuilder 3 Beta 2 charting and license

2007-11-12 Thread frank_sommers
Hi, I realize there were several messages about this before, but I'd just like to clarify: Currently, with the FlexBuilder 3 Beta 2 trial, when I try to use the AdvancedDataGrid, for instance, the running Flex application displays a watermark to the effect that it's the Flex data

[flexcoders] PDF rendering in Flex

2007-11-06 Thread frank_sommers
Hi, I'm wondering if there is a way to render PDF inside a Flex component. I'm familiar with AIR and its ability to open PDF files using the platform's Acrobat Reader plugin, but what I'm looking for is a more light-weight approach where the PDF would be rendered by Flex itself. I've also

[flexcoders] Dynamically accessing properties of an object

2007-04-15 Thread frank_sommers
I'm wondering how to dynamically access the properties of an object. I've already looked into flash.utils.describeType, which does provide a list of accessors of an object. What I'd like to be able to do is iterate through that list, and obtain the value of each accessor (if the property is

[flexcoders] Printing newbie

2007-04-04 Thread frank_sommers
Hi, I'm trying to understand how printing works in Flex. First, I saw in the documentation both mx.print.FlexPrintJob and flash.print.PrintJob being used, with slightly different syntax. Which one is the preferred way to print from Flex? (I guess it must be FlexPrintJob - but what are the

[flexcoders] filterFunction and List selection problem

2007-03-20 Thread frank_sommers
I have a List with an ArrayCollection as the data provider. When I set a filter function on the collection, a strange thing happens: When clicking on a list item, the list elements re-arrange themselves in a strange way. The item selection occurs, but the selected item moves to another list

[flexcoders] Re: List item selection with filterFunction

2007-03-20 Thread frank_sommers
Thanks for the suggestion. In my case, I don't change the underlying data provider, though - I simply have an ArrayCollection set as the data provider for a List. When the filter function is set, the right thing happens: Only items in the list matching the filter criteria show. However,