RE: [flexcoders] Dynamic DataGrid

2013-01-14 Thread Sells, Fred
Try visible=false on a column without data, or don't specify columns and it will only show the data but the headings can be ugly. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Oleg Konovalov Sent: Monday, January 14, 2013 11:04 AM To:

RE: [flexcoders] need some printing advice

2012-09-11 Thread Sells, Fred
@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Alex Harui Sent: Friday, September 07, 2012 11:43 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] need some printing advice Try calling vlidateNow on printContainer instead of printDataGrid On 9/7/12 11:19 AM, Sells

RE: [flexcoders] need some printing advice

2012-09-07 Thread Sells, Fred
With the following code, I get a blank 2nd page and the data continues on the 3rd page. This code is slightly different from prior example...grasping at straws without clear understanding of what I'm doing. private function print():void {

[flexcoders] need some printing advice

2012-09-05 Thread Sells, Fred
I'm using the printdatagrid control and can print one page just fine, but cannot get the second page to print. The code below is a bit hacked from trying to apply Adobe's examples, which I cannot translate to my problem. Any help would be appreciated... private function

RE: [flexcoders] RE: Flash Builder Problem

2012-08-23 Thread Sells, Fred
Given the critical nature of your issue, I would probably get the free 30 day copy of vmware and try a clean install and see what happens. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Davidson, Jerry Sent: Wednesday, August 22, 2012 10:28 AM To:

[flexcoders] httpservice url - not use host

2012-05-03 Thread Sells, Fred
Since the Flex crossdomain policy would normally restrict you to the server that launched Flex, is there any way to avoid specifying the whole http://myserver.mydomain.com prefix in the httpservice.url parameter similar to the action in html forms? I'm trying to make it easier to move my

RE: [flexcoders] Flex 3 - 4 migration and s:States

2012-02-07 Thread Sells, Fred
Yes, that works for me too, A little googling indicates that you cannot inherit states. So I tried moving the state definitions into the child component which still does not work as shown below. However if I change A.mxml to inherit from s:VGroup the state errors go away (although I get a

RE: [flexcoders] Re: Challenge in Migrating to HTML5 from FLEX.

2012-01-13 Thread Sells, Fred
Zkoss is a backend I believe. Although I don’t use BlazeDS, I believe that uses adoble’s AMF (binary) format. If so you would need to search for a javascript library that works with AMF. Perhaps BlazeDS has a flag you can set so it generates XML instead. Sorry I cannot help more.

RE: [flexcoders] Re: Problem migrating project from FB 4.5 to FB 4.5.1 - runtime error

2011-12-25 Thread Sells, Fred
I'm not using 4.5.1 yet, so this observation is more generic than you may want. When using the tabnavigator without states, but just setting the index, I get this error if I try to access a variable/method in any child other than the first child. Apparently they are not created until they are

RE: [flexcoders] Flex to HTML5 Conversion tool?

2011-12-02 Thread Sells, Fred
you might have to wait for another 6 months or so. If that time frame is not suitable for you, I suggest you rewrite the project in HTML 5. On Thu, Dec 1, 2011 at 3:27 AM, Sells, Fred fred.se...@adventistcare.org wrote: I am looking at the same problem. A very long time ago I designed

RE: [flexcoders] Flex to HTML5 Conversion tool?

2011-11-30 Thread Sells, Fred
I am looking at the same problem. A very long time ago I designed a tool called ezX that was similar to Flex but not nearly as robust. That was an Xwindows tool and has since gone the way of the dinosaur. I'm still researching but I think a tool like pyjamas pyjs.org might be a building

RE: [flexcoders] Re: Red error borders on form items before form is validated

2011-11-22 Thread Sells, Fred
If found that widget.errorString=null clears the red border while setting it to a value displays it. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Asad Zaidi Sent: Tuesday, November 22, 2011 2:57 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

[flexcoders] HttpService error handling

2011-11-02 Thread Sells, Fred
I'm using Flex 4.1 with a django backend. Django provides a really useful HTML error traceback when it fails. Currently I then have to manually insert the offending url into the browser url to see the error details when debugging. That's a pain. I would like to subclass HttpService to provide

RE: [flexcoders] Flex 4.5 - Cell background color in datagrid

2011-10-29 Thread Sells, Fred
Define custom renderer for the cell's in question. The renderer gets the data for the entire row and can then compute the background color. I've had trouble actually setting backgroundColor in renderer but binding the backgroundColor to a private var and setting that variable to the color works.

RE: [flexcoders] Re: .as vs .mxml best practices

2011-10-27 Thread Sells, Fred
=usingas_6.html --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , Sells, Fred fred.sells@... wrote: Embedding the ActionScript in the .mxml file is fine up to a point. Now I've got quite a bit of logic dealing with the handling of DnD on an mx:DataGrid and I would like

[flexcoders] .as vs .mxml best practices

2011-10-26 Thread Sells, Fred
Embedding the ActionScript in the .mxml file is fine up to a point. Now I've got quite a bit of logic dealing with the handling of DnD on an mx:DataGrid and I would like to move that code into a .as file just to keep my sanity and to take advantage of the outline feature of the IDE. I may also be

RE: [flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-25 Thread Sells, Fred
alternating background colors to show through. But you should be able to set it on the TextArea. On 10/24/11 6:40 PM, Sells, Fred fred.se...@adventistcare.org wrote: Yes I tried setStyle() as well as styleName= with no success. I could

RE: [flexcoders] Re: Flex 4.1 VBOX background renderer fails

2011-10-25 Thread Sells, Fred
mailto:flexcoders%40yahoogroups.com , Alex Harui aharui@... wrote: You cannot set the backgroundColor of the renderer. Backgrounds are removed in order to allow alternating background colors to show through. But you should be able to set it on the TextArea. On 10/24/11 6:40 PM, Sells, Fred

[flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-24 Thread Sells, Fred
I'm using a VBox as a renderer for a datagrid as shown below. I've tried every combination I can think of but I can only set the background color of the mx:TextArea in the mxml. I need to change it in the actionscript. I've tried styles and properties with no success. I'm reluctant to change

RE: [flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-24 Thread Sells, Fred
background renderer fails Did you try myText.setStyle(backgroundColor, ...)? On 10/24/11 9:59 AM, Sells, Fred fred.se...@adventistcare.org wrote: I'm using a VBox as a renderer for a datagrid as shown below. I've tried every

[flexcoders] mx:datagrid renderer problem

2011-10-16 Thread Sells, Fred
I'm using Flex 4 with an mx:datagrid with a value of 40 for row height and drag and drop enabled. I'm having a very hard time getting a custom renderer to work. The layout keeps getting messed up in the grid cell. I really need to be able to diplay two lines in each cell and maybe some color

[flexcoders] HttpService results inconsistent

2011-08-24 Thread Sells, Fred
If I have multiple records in the response I get an ArrayCollection however if I have only 1 record I get an ObjectProxy. I'm not sure if specifying the resultFormat would resolve this and if so, which format is appropriate. I typically map the results to an ArrayCollection which is the

RE: [flexcoders] style css problem

2011-08-15 Thread Sells, Fred
of DataGrid are you using? On 8/14/11 2:50 PM, Sells, Fred fred.se...@adventistcare.org wrote: I'm trying to use styleName in a renderer like so .payor1{ fillAlphas: 1.0, 1.0; fillColors: #8c8c8c

[flexcoders] style css problem

2011-08-14 Thread Sells, Fred
I'm trying to use styleName in a renderer like so .payor1{ fillAlphas: 1.0, 1.0; fillColors: #8c8c8c, #8c8c8c; color: red; roll-over-color: green; rollOverColor: green; } With this code in the DataGridItemRenderer. Color is set OK, but I cannot get the

RE: [flexcoders] Interface design

2011-08-08 Thread Sells, Fred
Or have 5 entry fields and the last one represents under/over allocated and should be zero before saving. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Paul Andrews Sent: Sunday, August 07, 2011 7:57 AM To: flexcoders@yahoogroups.com Subject: Re:

RE: [flexcoders] mx:Datagrid nowto detect drop column

2011-08-03 Thread Sells, Fred
Would you have a snippet of that code handy? If not, I’ll figure it out. Thanks. From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of j2me_soul Sent: Tuesday, August 02, 2011 11:46 PM To: flexcoders@yahoogroups.com Subject: Re:[flexcoders] mx:Datagrid nowto

RE: [flexcoders] Flex View States

2011-08-03 Thread Sells, Fred
Could you just put your form in a modal popup window? From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of nikunj_n123 Sent: Tuesday, August 02, 2011 7:31 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex View States Hello All, My Application