[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
This should do the trick http://www.adobe.com/2006/mxml"; verticalGap="0" paddingTop="0" paddingBottom="0" width="600" height="600">

[flexcoders] Re: PHP data capture issue

2009-02-20 Thread alinmircea_s
remote object? result="myfunction(event)" private function myfunction(resulte:resultEvent):void { yourArrc = new arrayCollection(ArrayUtil.toArray(resulte.result)) or mydg.dataprovider = resulte.result (and no variable on "dataprovider") } --- In flexcoders@yahoogroups.com, "adeelafsar" wrot

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
Here you go, i think this is it :) if so, always pay attention to the absolute and vertical layout of the components http://www.adobe.com/2006/mxml"; verticalGap="0" paddingTop="0" paddingBottom="0" width="600" height="600">

[flexcoders] Re: AdvancedDataGridColumnGroup dynamically speaking

2009-02-20 Thread alinmircea_s
private function test():void { var arr:ArrayCollection = new ArrayCollection(ArrayUtil.toArray(adg.columns)) var dgcolreference:AdvancedDataGridColumn = arr.getItemAt(0) as AdvancedDataGridColumn if(dgcolreference.visible == false) { dgcolr

[flexcoders] Re: Multiple filters on datagrid

2009-02-20 Thread alinmircea_s
>From what I understand, is this what you're looking for? (a quick example for you get the basic idea. There are better and cleaner ways to do this.) http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
Hm you also said something about a resize I completely blanked on that. Are you doing a manual resize of the component? (mouse involved?)

[flexcoders] Re: Grid with header sections spanning the whole grid

2009-02-23 Thread alinmircea_s
Something like this? http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] Re: Feedback and ideas re: publishing a collection of poems

2009-02-23 Thread alinmircea_s
Wow, first "If a different computer on the web could use a different font" you don t have to worry about that, font s are embeded into the app, not accessed on the user side. "\n" = new line OR = break "text scrolling automatically, but with control

[flexcoders] Re: Detaching RichTextArea controls

2009-02-23 Thread alinmircea_s
well, the rte is actually a panel +textarea + controlbar + toolbar when clicking one of the buttons a function get's called PRIVATE function setTextStyles(type:String, value:Object = null):void this function check's if there is a current selection on the textarea if not set's the style if there

[flexcoders] Re: Accordion question - height minus header space

2009-02-23 Thread alinmircea_s
child's height or width can be specified percent wise width="100%" myComponent.percentWidth = 100; but if you have to you have to http://livedocs.adobe.com/flex/3/langref/mx/containers/Accordion.html quote : headerHeight="depends on header font styles" => Number(myAccordion.getStyle('headerHeigh

[flexcoders] Re: Set DataGrid selected items

2009-02-23 Thread alinmircea_s
http://www.adobe.com/2006/mxml"; layout="vertical">

[flexcoders] Re: generating codes that users can use to pay for a service

2009-02-24 Thread alinmircea_s
--- In flexcoders@yahoogroups.com, "stinasius" wrote: > > hello guys before i ask this let me say i know that many people will > probably suggest using online payment systems like paypal but that is > not an option in my case. so this is what i would like to know. i have > a website where companie

[flexcoders] Re: storing login data from a cfquery for use throught flex app

2009-03-13 Thread alinmircea_s
give this a try , the problem may be the return type, struct for successful and boolean for unsuccessful //do your stuff private function login_result(event:ResultEvent):void { if(Number(event.result.success) == 1 || String(event.result.success).toLowerCase() == "true") { this.di

[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread alinmircea_s
If your component is static and will never change , children will never get removed and no new children will be added you could try an absolute positioning. I do not recommend spacer tho. On the other hand you could try to make your own component , you say that you are new to flex so I guess th

[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread alinmircea_s
--- In flexcoders@yahoogroups.com, "gmoniey22" wrote: > > Thanks for the reply...I come from a Java background, so creating a custom > component is not "scary" so to speak...I was just hoping there may be an > easier way to do it directly to the TabNavigator instance. > > Also, out of curiosity

[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread alinmircea_s
In case anyone needs a more detailed explanation the need for getTabAt(tabN.numChildren-1). We cannot access tabN.tabBar because of it's protected attribute so we cannot directly get the tabBar's width. That is why we are getting the last-tab's button instance x + witdh , It's the exact width o

[flexcoders] Re: Possible to add a textinput to a TabNavigator (next to the tabs)

2009-03-17 Thread alinmircea_s
After reading your second post with the .addChild I guess this would be helpful. Here it is http://www.adobe.com/2006/mxml"; creationComplete="addTI()" >

[flexcoders] Re: StyleName property ignored : when precisely and workarround ?

2010-05-31 Thread alinmircea_s
labelplacement is a property not a style, as is alpha. Try reading some documentation before diving into workarrounds http://livedocs.adobe.com/flex/3/langref/mx/controls/ProgressBar.html#propertySummary P.S. if you`re not using setstyle to set it then you should not put it in a css file