[flexcoders] Re: Flex 4.1 VBOX background renderer fails

2011-10-24 Thread turbo_vb
In practice, itemRenderers actually tend to be the best candidate for skins. -TH --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > You cannot set the backgroundColor of the renderer. Backgrounds are removed > in order to allow alternating background colors to show through. But you > s

Re: [flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-24 Thread Alex Harui
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" wrote: Yes I tried setStyle() as well as styleName= with no

RE: [flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-24 Thread Sells, Fred
Yes I tried setStyle() as well as styleName= with no success. I could not set the backgroundColor property in actionscript (compiler did not recognize property) but I could set that property in mxml to a binding expression and set the color in the bound variable. Suspect bug but deadlines rapidly

[flexcoders] AIR - PHP : How to load local file to remote server

2011-10-24 Thread isa_loyer
Dear Flex, I search some idea to load local file to remote server with php. I try to do that, but it didn't works var rq:URLRequest = new URLRequest(new urlManager().urlService() + "upload.php"); rq.method = URLRequestMethod.POST;

Re: [flexcoders] Flex 4.1 VBOX background renderer fails

2011-10-24 Thread Alex Harui
Did you try myText.setStyle(“backgroundColor”, ...)? On 10/24/11 9:59 AM, "Sells, Fred" wrote: 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 chang

[flexcoders] Re: FTE vs TextField

2011-10-24 Thread guyinthechairdotcom
This thread is a little old, but yes, the font and source text are embedded in those examples. The FTE handles inline-progressions necessary for internationalization. It performs ligature and sub-pixel rendering. It gives you control over kerning, justification letter spacing, auto-hyphenation

[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 wr

[flexcoders] Re: right align the gridcolumn text

2011-10-24 Thread turbo_vb
ClassFactory doesn't support setting styles; they're different than properties. You can get around this by either: 1) use a custom item renderer that has a styleName or css selector. 2) extend ClassFactory to support setting styles on the item renderer instances. See com.blogagic.core.UICompo

[flexcoders] right align the gridcolumn text

2011-10-24 Thread bhaq1972
GridColumn doesn't have the textAlign style. Instead we can do this - .. How can I do this in actionscript? I've tried the following but doesn't work var renderer1:ClassFactory = new ClassFactory(DefaultItemRenderer); renderer1.properties = { textAlign:"right", color:0x

[flexcoders] GUI for different moiles

2011-10-24 Thread sony antony
I am developing screen for a mobile application. Need to have it worked on different devices like, IPad , IPhone, Google Nexus, Tablets, etc. How do I select the button icon image size and size and positioning of other controls in the app. Any need to implement dpi? Regards, Sony.

Re: [flexcoders] Re: Print-or-PDF AdvancedDataGrid

2011-10-24 Thread Paul Hastings
On 10/24/2011 12:05 PM, steveroger_flex wrote: > i went through the purePDF. > but i didn't found "how to get pdf of complete AdvancedDataGrid"... just in case it's not obvious, take the datagrid's dataprovider & use PdfPTable. if the data is hierarchical, you'll need to nest another table to ho