[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

[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

[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 gmonie...@... 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

[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

[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 ?xml version=1.0? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=addTI() mx:Script ![CDATA[ import mx.controls.TabBar;

[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 cffunction name=loginUser access=remote returntype=struct //do your stuff cfset returnValue = structnew() cfset returnValue.success = false cfset returnValue.lastResult = cfif

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

2009-02-24 Thread alinmircea_s
--- In flexcoders@yahoogroups.com, stinasius stinas...@... 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

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

2009-02-23 Thread alinmircea_s
Something like this? ?xml version=1.0? !-- dpcontrols/adg/ColumnGroupADG2NestedGroups.mxml -- mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import

[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. mx:TextArea text={'this'+ '\n' +'is'+ '\n' +'a'+ '\n' +'test'} width=100% height=100/ \n = new line OR mx:TextArea

[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('headerHeight'))

[flexcoders] Re: Set DataGrid selected items

2009-02-23 Thread alinmircea_s
?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.controls.Alert;

[flexcoders] Re: Relative Layout Question

2009-02-20 Thread alinmircea_s
This should do the trick ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600 mx:Panel height=75% mx:Text text=This panel should take up 75% of the application's height / /mx:Panel

[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) } dg id=mydg dataprovider={yourArrc} / --- In

[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 ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; verticalGap=0 paddingTop=0 paddingBottom=0 width=600 height=600 mx:Panel

[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) {

[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.) ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical mx:Script ![CDATA[ import

[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?)