[flexcoders] focus out of the flash player

2008-06-20 Thread Glenn Jones
I have a requirement to dismiss a dialog if the flash player loses focus (e.g. someone clicks outside of the player). I'm using the Flex 2.0.01 SDK (hotfix 3) with IE 7 and Flash Player 9. I've registered a FOCUS_OUT event handler on the stage. That seems to work, but I've run into a case where

Re: [flexcoders] focus out of the flash player

2008-06-20 Thread Glenn Jones
PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Friday, June 20, 2008 6:10 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] focus out of the flash player I have a requirement to dismiss a dialog if the flash player loses focus (e.g. someone clicks outside of the player). I'm using

[flexcoders] problem using checkbox in DataGrid

2008-07-14 Thread Glenn Jones
I'm having a problem using a checkbox as an item editor within a datagrid. It might be a bug or maybe I'm doing something wrong. Either way, I need to fine some resolution/workaround. In my DataGridColumn definition, I'm setting editable=true and rendererIsEditor=true for the column with the

Re: [flexcoders] problem using checkbox in DataGrid

2008-07-15 Thread Glenn Jones
[mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Monday, July 14, 2008 1:50 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] problem using checkbox in DataGrid I'm having a problem using a checkbox as an item editor within a datagrid. It might be a bug or maybe I'm doing

[flexcoders] TextArea popup editor in DataGrid

2008-07-18 Thread Glenn Jones
I have a DataGrid where one of the columns is a TextArea control as the itemEditor. When I edit a cell in the column with the TextArea editor, the TextArea opens up to a height equivalent to three rows of data in the grid. The editor works fine; in fact it's been working this way for some time.

Re: [flexcoders] TextArea popup editor in DataGrid

2008-07-19 Thread Glenn Jones
of the DG? If I click the last row, should the TA extend two rows below the DG? -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Friday, July 18, 2008 11:17 AM *To:* flexcoders@yahoogroups.com *Subject

Re: [flexcoders] TextArea popup editor in DataGrid

2008-07-28 Thread Glenn Jones
] *On Behalf Of *Glenn Jones *Sent:* Friday, July 18, 2008 11:17 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] TextArea popup editor in DataGrid I have a DataGrid where one of the columns is a TextArea control as the itemEditor. When I edit a cell in the column with the TextArea

Re: [flexcoders] TextArea popup editor in DataGrid

2008-07-29 Thread Glenn Jones
focus is owned by the itemeditor, it shouldn't try to end the edit session. -- *From:* flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Monday, July 28, 2008 3:41 PM *To:* flexcoders@yahoogroups.com *Subject:* Re

Re: [flexcoders] TextArea popup editor in DataGrid

2008-08-04 Thread Glenn Jones
@yahoogroups.com [mailto:[EMAIL PROTECTED] *On Behalf Of *Glenn Jones *Sent:* Monday, July 28, 2008 3:41 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] TextArea popup editor in DataGrid I've tried using a popup TextArea but I'm having real problems trying to get it to work as an item

[flexcoders] datagrid crash on horizontal scroll

2008-08-04 Thread Glenn Jones
Hi, I think I may have run into a bug in the DataGrid, but it was hard to tell from the Adobe Issue Navigator because so many of the items that sounded like my problem were imported such that details aren't visible. Hoping someone can give me a workaround or confirmation that this is a known

[flexcoders] FlexUnit, DataGrid and listItems

2008-09-10 Thread Glenn Jones
I'm using Flex 2.0.1 SDK, and I have a class that extends mx:DataGrid. One of the methods in my class is dependent on listItems which is a map of item renderers. I'm trying to test my method with FlexUnit, but I can't get listItems populated so the test can't really check anything. In my

[flexcoders] error border on custom itemRenderer

2008-11-04 Thread Glenn Jones
I'm having a problem with red borders drawn around a cell in the DataGrid. I have a custom itemRenderer which extends HBox and impements IDropInListItenRenderer In the set data() method, I set errorString based on conditions in the data. The errorString is either set to null or a non-blank

[flexcoders] httpservice/save-as question

2008-11-07 Thread Glenn Jones
I already have working code that uses HttpService to send various requests to the backend from my Flex client and process the responses. I also have a customized implementation of the flex DataGrid which implements paging such that the flex client only shows one page of data at a time. The

[flexcoders] DataGrid renderering issue - Porting from Flex 2 to Flex 3

2009-01-07 Thread Glenn Jones
I recently upgraded from Flex 2.0.1 to 3.2. I have a class that extends mx:DataGrid. In Flex 3.2, some instances of this grid class are rendered just fine, but some instances (about half maybe) are drawn incorrectly - the first row of data values is drawn on top of the column header row. At least,

[flexcoders] Re: DataGrid renderering issue - Porting from Flex 2 to Flex 3

2009-01-08 Thread Glenn Jones
, but I haven't found a discussion about requirements for custom renderers to set measuredHeight or measuredwidth - can anyonne elaborate on that topic? Thanks On Wed, Jan 7, 2009 at 10:18 AM, Glenn Jones tgjone...@gmail.com wrote: I recently upgraded from Flex 2.0.1 to 3.2. I have a class

[flexcoders] DataGrid selectAll problem

2009-01-08 Thread Glenn Jones
Hi, I'm using Flex 3.2 and I have a DataGrid which implements a column of checkboxes to select rows. I started with Alex' example. Then I added a header renderer on the checkbox column such that if check the header, then all rows are selected. To implement the select all behavior, I'm creating

Re: [flexcoders] DataGrid selectAll problem

2009-01-10 Thread Glenn Jones
to deselect the other rows, and what does that code look like? *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Glenn Jones *Sent:* Thursday, January 08, 2009 9:49 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] DataGrid selectAll problem Hi, I'm

Re: [flexcoders] DataGrid selectAll problem

2009-01-12 Thread Glenn Jones
...@yahoogroups.com] *On Behalf Of *Glenn Jones *Sent:* Saturday, January 10, 2009 4:52 PM *To:* flexcoders@yahoogroups.com *Subject:* Re: [flexcoders] DataGrid selectAll problem I started with the example from your blog dated Feb 2008 (CheckBoxListAndDataGrid). To deselect the other rows

[flexcoders] using mxmlc/compc with 64-bit, 1.6 JVM

2009-03-18 Thread Glenn Jones
I'm having problems trying to run the mxmlc/compc compilers with a 64-bit version of the 1.6 JVM. Has anyone else tried that kind of configuration? Does Flex support use of 64-bit JVM for compilation purposes? PS. I've only tried on Windows XP-64 so far, but would like to use 64-bit compile on

Re: [flexcoders] using mxmlc/compc with 64-bit, 1.6 JVM

2009-03-18 Thread Glenn Jones
It just hangs On Wed, Mar 18, 2009 at 11:23 AM, Maciek Sakrejda msakre...@truviso.comwrote: What kind of problems are you seeing. Perhaps this is the JVM segfault a co-worker ran into on a 64-bit JVM on OS X? -Original Message- From: Glenn Jones tgjone...@gmail.com tgjonestx

[flexcoders] passing flashvars from the command line

2009-04-27 Thread Glenn Jones
Hi, I have a test scenario where I need to invoke a SWF programmatically from the command line. Starting and running the SWF from the command line works fine. My problem is that I can't figure out a way to specify the equivalent of flashvars when starting the Flash Player from the command line.

Re: [flexcoders] passing flashvars from the command line

2009-04-27 Thread Glenn Jones
services available -- *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Glenn Jones *Sent:* Monday, April 27, 2009 2:11 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] passing flashvars from the command line

[flexcoders] using system fonts in Flex

2009-12-08 Thread Glenn Jones
AFAIK, any fonts used in Flex have to be compiled into the SWF. Is there some way to use system fonts that are already installed on a customer machine? Specifically, I'd like to build an app that uses Microsoft's new Segoi UI font (included with Vista and Office 2007) without compiling a TTF

Re: [flexcoders] using system fonts in Flex

2009-12-08 Thread Glenn Jones
you can specify a list of fonts to degrade to, so if ! your preferred font is unavailable the next one on the list wi! ll be us ed. Have you tried that? Guy On 09/12/2009, at 7:12 AM, Glenn Jones wrote: AFAIK, any fonts used in Flex ha! ve to be compiled into the SWF

[flexcoders] auto close popups

2010-02-04 Thread Glenn Jones
I have a popup that's opened in the usual way with the popup manager. It's not modal. Sometimes the controls within the popup are enabled so that the user can interact with them, and sometimes the controls are disabled because the contents are read-only. As soon as the user clicks anywhere else

[flexcoders] Re: auto close popups

2010-02-06 Thread Glenn Jones
Thanks for the suggestions Looking through some of the mx:controls, I found MOUSE_DOWN_OUTSIDE - seems to be the way to go. On Thu, Feb 4, 2010 at 4:02 PM, Glenn Jones tgjone...@gmail.com wrote: I have a popup that's opened in the usual way with the popup manager. It's not modal. Sometimes