[flexcoders] XMLList refrence problem

2009-11-27 Thread criptopus
I have this... mx:XMLList id=types type name=Non Member/ type name=Member/ type name=Instructor/ type name=Administrator/ /mx:XMLList With a datagrid with this in... mx:itemRenderer mx:Component mx:Label text={data.usrstatus}/

Re: [Spam] RE: [flexcoders] mx:ControlBar horizontalAlign=right - doesn'twork?

2009-11-27 Thread Nick Middleweek
This is a bit old but i had the same problem again and it's quite easy to fix by setting the width of the controlBar :-) mx:ControlBar horizontalAlign=right *width=100%* mx:Button label=Cancel enabled=true click={viewStackSearch. selectedIndex = 0;} / /mx:ControlBar Thanks to my work

[flexcoders] Re: Technique to tell the filterFunction to chill for a sec before going into eff

2009-11-27 Thread steveb805
Actually, this is a non-issue. The visual activity isn't as bad as I thought if I just set the filterfunction to null while I'm doing my editing of the value object. --- In flexcoders@yahoogroups.com, steveb805 quantumcheese...@... wrote: I have a filter function for a List that hides the

[flexcoders] Cairngorm store example - newbie binding question #2

2009-11-27 Thread normc_actionscript
Thank you Tracy for answering my previous question. New one: Why is 'handler' bound to 'confirmOrder' in this snippet? util:Observe source={ ShopModelLocator.getInstance().orderConfirmed } handler={ confirmOrder } / confirmOrder is a function in the same file. Is it just a

RE: [flexcoders] MAC : TextInput focus

2009-11-27 Thread suman gayakwad
Alex, As soon as the application loads up, im getting the login screen(TitlwWindow component) which has got three fields username, password and domain. I'm trying to set the focus to the username field so that user can start typing. The focus is set to username field in IE, Firefox and also in

Re: [flexcoders] How does Button 3 knows that it has been clicked in this example?

2009-11-27 Thread Pat Buchanan
Fred: There are multiple ways to listen for events, such as click events. Button 1 and button 2 add the listener inline (click=handleClick(event)) in the MXML markup. For button 3, the author listens for the even using this line: button3.addEventListener(MouseEvent.CLICK, handleClick); It

[flexcoders] Counting XML nodes with attributes having specific values (using EX4 perhaps)...

2009-11-27 Thread flexfortress
Hello all! I'm creating a charting application in Flex and I have been given XML in the following format... dc r a=x1 b=y1 c=z1 / r a=x1 b=y1 c=z1 / r a=x1 b=y2 c=z2 / r a=x1 b=y2 c=z2 / /dc I need to COUNT the number of nodes/rows that have a value of x1 for attribute a, and say...y2 and y1

RE: [SPAM] [flexcoders] Counting XML nodes with attributes having specific values (using EX4 perhaps)...

2009-11-27 Thread Tracy Spratt
The length() of the resultant XML list of the e4x expression will be the count of the nodes found. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of flexfortress Sent: Friday, November

RE: [SPAM] [flexcoders] XMLList refrence problem

2009-11-27 Thread Tracy Spratt
Why use an itemRenderer? Looks like a labelFunction would do what you want. Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of criptopus Sent: Friday, November 27, 2009 10:33 AM To:

RE: [SPAM] [flexcoders] Multiple Script Files

2009-11-27 Thread Tracy Spratt
Another solution to this is to use helper classes, instead of compiling the script block into the component class. I never have more than a single script block in an mxml file, rarely have more than one included script file, and often have none of either. You can use the code-behind

RE: [SPAM] RE: [flexcoders] Re: constraintColumns/constraintRows on extended Sprite object REFdn6025643069

2009-11-27 Thread Tracy Spratt
The constraints are styles, not properties. So to use constraints in AS, you need to define them in a style sheet, and/or use setStyle(). Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

RE: [SPAM] [flexcoders] Multiple Script Files

2009-11-27 Thread Dan Pride
I have never heard of this before, where could I find out about it (I come from database design not java) Dan Pride --- On Fri, 11/27/09, Tracy Spratt tr...@nts3rd.com wrote: From: Tracy Spratt tr...@nts3rd.com Subject: RE: [SPAM] [flexcoders] Multiple Script Files To: