Re: [flexcoders] Datagrid Query Issue

2008-07-24 Thread Scott Bachman
On the change event for dgCountry, do another httpService call passing in the country identifier as a parameter (e.g. dgCountry.selectedItem.id) to filter your store query by the country. Scott On Wed, Jul 23, 2008 at 8:15 PM, spark.edesigns [EMAIL PROTECTED] wrote: New to Flex but enjoying

Re: [flexcoders] reflection of proerties in an object

2008-07-23 Thread Scott Bachman
As long as it is in fact an Object you can do for (var key:String in object) { // do something with the key } Scott On Wed, Jul 23, 2008 at 11:07 AM, v.cekvenich [EMAIL PROTECTED] wrote: if I get an object, I want to enumerate the properties. Ex: var object:Object =

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
the dataprovider in the main application (index.mxml)? --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Scott Bachman [EMAIL PROTECTED] wrote: The syntax you tried is e4x (ECMAscript for XML) and only works with XML data. For an ArrayCollection you could use a filterFunction

Re: [flexcoders] accessing styles of children

2008-07-22 Thread Scott Bachman
Alex's email clearly said IStyleClient with a capital I in front. You'll also need to import it at the top of your file if FlexBuilder doesn't do it for you: import mx.styles.IStyleClient. Since getChildAt returns a generic DisplayObject, you have to cast it to a more specific type to be able to

Re: [flexcoders] ArrayCollection filterFunction only gets called on root item

2008-07-22 Thread Scott Bachman
The filterFunction only applies to the ArrayCollection. By hierarchy, I assume you mean you have an ArrayCollection that contains ArrayCollections. In other words, objects in your original ArrayCollection have, say, a children ArrayCollection. In order to do what you're describing, you would have

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
the tilelist and the itemrenderer repeat the same linearchart in all the renderers. I know im close!! Please help! --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Scott Bachman [EMAIL PROTECTED] wrote: I'm not sure I understand your question. You can certainly refer to data.Url

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
Oops... I misread the source code. Actually, in the one place where I had used it it was bound to an implicit setter, like this: private function set dataChanged(data:Object):void { collectionData.refresh(); } On Tue, Jul 22, 2008 at 2:48 PM, Troy Gilbert [EMAIL PROTECTED] wrote: You need

Re: [flexcoders] Re: Filter an ArrayCollection into an ItemRender

2008-07-22 Thread Scott Bachman
But in this case it's not an item in the ArrayCollection that changed, but instead the criteria you want to filter with, so you need to refresh manually, unless I'm missing something. Scott On Tue, Jul 22, 2008 at 3:11 PM, Alex Harui [EMAIL PROTECTED] wrote: In theory, if you have

Re: [flexcoders] Filter an ArrayCollection into an ItemRender

2008-07-21 Thread Scott Bachman
The syntax you tried is e4x (ECMAscript for XML) and only works with XML data. For an ArrayCollection you could use a filterFunction to filter the data. Check out, for instance, http://www.boyzoid.com/blog/index.cfm/2006/10/19/Filtering-Data-in-Flex or the filterFunction property of

Re: [flexcoders] My Flex based web App doesn't work with SSL

2007-10-16 Thread Scott Bachman
We had a similar situation using LCDS with HTTPS, we had to create additional channels in services-config.xml specifically for SSL and also set the add-no-chache-headers tag to false to avoid weird caching/ssl issues. For example: !-- These are for production channels which use HTTPS --

Re: [flexcoders] httpservice vs xml

2007-10-16 Thread Scott Bachman
The biggest difference is that when use mx:XML the xml data is embedded into your SWF, but with mx:HttpService it's not. So if you use a lot of mx:XML tags or big xml files it could make you're SWF considerably larger. Scott On 10/16/07, Zac [EMAIL PROTECTED] wrote: Is there any reason why

Re: [flexcoders] Formatting tree's nodes and sub-nodes

2005-08-22 Thread Scott Bachman
You need to create a tree row renderer (similar to cell renderer for lists/datagrids): http://www.macromedia.com/support/documentation/en/flex/1/cellrenderers/cellrenderers13.html You may have to consult the TreeRow sources (flex4flash) in order to work out all the details. Basically, in

Re: [flexcoders] Using Flex with no Java, but only WebServices?

2005-07-29 Thread Scott Bachman
You can use Flex just with Web Services, but you'll still need a J2EE (Tomcat,JBoss,etc.) container on which to run the Flex app. Scott dlandi2000 wrote: Hello, I have my own custom socket server implementation, through which I can also expose web services. Can anyone tell me if