[flexcoders] Re: Help! Getting blank Flex Build Path, Flex Modules windows

2009-02-18 Thread sleblang
as it will go. Click on Builders and now resize the window nice and wide. Click on Flex Build Path and as if by magic the properties are there. --- In flexcoders@yahoogroups.com, sleblang sc...@... wrote: I am running Vista Home 64Bit and having the above referenced problem. Rather than reinvent

[flexcoders] Help! Getting blank Flex Build Path, Flex Modules windows

2009-02-17 Thread sleblang
I am running Vista Home 64Bit and having the above referenced problem. Rather than reinvent the wheel, here's a link that depicts the exact problem along with images - http://www.actionscript.org/forums/showthread.php3?t=172441. I can open the same project on my work machine and everything is

[flexcoders] Default sorting for Datagrid

2009-02-04 Thread sleblang
I am looking to have a datagrid initially sort its data by one of its columns, the date column. Is the only way to set an initial sort value is by simulating a DataGridEvent.HEADER_RELEASE event? This is the only solution I could seem to find

[flexcoders] Re: Alert.show - Detect when closed from another mxml component

2008-10-21 Thread sleblang
on close. In your other mxml just check that property of the model and you're done. (Not sure it is the best way to do it though.). HTH, Claudiu - Original Message From: sleblang [EMAIL PROTECTED] To: flexcoders@yahoogroups.com Sent: Monday, October 20, 2008 10:52:25 PM

[flexcoders] MenuBar menuItem - dynamically change selected item

2008-10-21 Thread sleblang
I have the following menubar implemented: mx:MenuBar id=adminBar labelField=@label itemClick=changeMenuView(event)change=adminBarSelection(event) mx:XMLList menuitem label=Options data=top

[flexcoders] Alert.show - Detect when closed from another mxml component

2008-10-20 Thread sleblang
I have an Alert.show() being called from a command class. I need to detect when this Alert is closed in another mxml component (as opposed to the command class). What's the best way to determine when it's been closed? Does the event bubble? So far I have not been able to 'catch' it. Thanks for

[flexcoders] Re: Alert.show - Detect when closed from another mxml component

2008-10-20 Thread sleblang
[EMAIL PROTECTED] wrote: Hi, if i understand correctly, the following doesit: Alert.show(This is the alert text.,,4,null,alertClosed) ; where alertClosed is an event listener... Check the asdoc for the alert.show method ;-) --- In flexcoders@yahoogroups.com, sleblang scott@ wrote

[flexcoders] Searching collections using contains()

2008-09-11 Thread sleblang
I am searching an XMLListCollection using XMLListCollection.contains(). The XMLListCollection is also filtered. With that said, I am unable to have it return a 'true' value even if I hardcode the 'contains' value so that I (should be) forcing a 'true' value. Per the Help Docs, I have even tried

[flexcoders] Re: Searching collections using contains()

2008-09-11 Thread sleblang
contained in there. The XMLList contains a different unique XML node with the same value., but isn't the same node. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of sleblang Sent: Thursday, September 11, 2008 2:34 PM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] Re: Capture custom component event in parent application (application.mxml)

2008-09-07 Thread sleblang
/eventbubbles-eventcancelable-and-eventcurrenttarget -- Sherif Abdou http://VadexFX.com http://Sherifabdou.com - Original Message - From: sleblang To: flexcoders@yahoogroups.com Sent: Sunday, September 07, 2008 12:29 AM Subject: [flexcoders] Capture custom component

[flexcoders] Capture custom component event in parent application (application.mxml)

2008-09-06 Thread sleblang
What's the best way to capture an event (i.e. button click) from a custom component in a parent container. Would I want to have the button click event call a handler in the component and then from the handler dispatch a custom event or is there a better way? Here's some code to help illustrate:

[flexcoders] Datagrid - Sort Error

2008-09-05 Thread sleblang
I am getting the following error when attempting to run a sort on a datagrid's dataprovider (which is an XMLListCollection). It doesn't occur the first time I run the sort, however all subsequent runs result in an error: Error: Find criteria must contain at least one sort field value Here is the

[flexcoders] Re: Datagrid - Sort Error

2008-09-05 Thread sleblang
: Try This. http://blog.flexexamples.com/2008/04/09/creating-a-custom-sort-on-a-data\ grid-control-in-flex/ It will help you. Regards Igor Costa www.igorcosta.org On Fri, Sep 5, 2008 at 7:53 PM, sleblang [EMAIL PROTECTED] wrote: I am getting the following error when attempting

[flexcoders] Datagrid column's data field - getting value from XMLListCollection

2008-08-23 Thread sleblang
I am using a datagrid with the dataprovider being an xmlListCollection. One of the dataGridColumns dataField is using a node text value rather than an attribute value from the XML. When getting the attribute value I simply use dataField=@description. However, if 'description' was a node value