[flexcoders] Change Datagrid Row Colors

2006-07-11 Thread vestcomprogrammer
Ok I have a datagrid that bound to an Array and I want to change the background color of a row depending on the value of datafield Emergency. mx:DataGrid headerRelease="columnSort(event);plgrid.dataProvider=currentViewList;" sortableColumns="true" id="plgrid" dataProvider="{currentViewList}"

[flexcoders] Excel Export

2006-06-13 Thread vestcomprogrammer
Does anyone know how to export to excel, like they do on the timetracker application on the showcase page on http://labs.adobe.com/showcase/. Thanks Bill Yahoo! Groups Sponsor ~-- Home is just a click away.  Make Yahoo! your home page now.

[flexcoders] Setting an Imge to sortArrowSkin

2006-06-05 Thread vestcomprogrammer
I know in the tag you can set an imge like this: sortArrowSkin = @Embed('heart.gif') How would you do it in actionscript? -Bill -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives:

[flexcoders] .Net DataSet

2006-05-18 Thread vestcomprogrammer
Does anyone know if we will be able to use .net DataSet with Flex 2.0? Bill -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED

[flexcoders] doDrag() in Flex 2.0

2006-05-04 Thread vestcomprogrammer
My code works fine in Flex 1.5 but I get:fff "Implicit coercion of a value with static type 'Object' to a possibly unrelated type 'mx.core:IFlexDisplayObject" CODEvar ds = new mx.core.DragSource();ds.addData({name: name, component: component}, "product"); mx.managers.DragManager.doDrag(this,

[flexcoders] Re: Looping Through A DataProvider In Flex 2.0

2006-05-03 Thread vestcomprogrammer
; idx arrToSearch.length; ++idx) { if (arrToSearch.getItemAt(idx)[field] == value) {return idx}; } return -1; } --- In flexcoders@yahoogroups.com, vestcomprogrammer vestcomprogrammer@ wrote: It works in flex 1.5 but I try to run the same code in Flex 2.0 Beta 2 and it gives me one

[flexcoders] Looping Through A DataProvider In Flex 2.0

2006-05-02 Thread vestcomprogrammer
It works in flex 1.5 but I try to run the same code in Flex 2.0 Beta 2 and it gives me one element in the array. XML FILE?xml version="1.0" encoding="utf-8"?Fontsfont label="-- not selected --" data="" /font label="Arial" data="" /font label="Georgia" data="" /font label="Impact" data=""

[flexcoders] Select ComboBox

2006-05-01 Thread vestcomprogrammer
I need to change the selectedIndex of a combox based of a string value. Example: Combobox has not selected -- Arial Georgia Impact Tahoma Times New Roman Verdana Webdings Windings I want to be able to change the selectedIndex by that value say if I have Impact it would changed it to

[flexcoders] useHandCursor=true In Flex 2.0

2006-04-26 Thread vestcomprogrammer
Before in flex 1.5 I would have this : event.target. on a mxLHBox mx:Text ReferenceError: Error #1056: Cannot create property onRelease on mx.containers.HBox at SS_SL/__Description1_mouseOver() Now it flex 2.0 if throw an error at runtime. -Bill -- Flexcoders Mailing List

[flexcoders] Re: Binding with Child Object In Flex 2.0

2006-04-26 Thread vestcomprogrammer
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: Well, I think it should, can we have more of an example? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of vestcomprogrammer Sent: Tuesday, April 25, 2006 7:47 AM To: flexcoders

[flexcoders] Binding with Child Object In Flex 2.0

2006-04-25 Thread vestcomprogrammer
Before in flex 1.5 I have this mx:Binding destination=this.DesignView[0].incomingDescription source=AssetTitle.text / In Flex 2.0 Beta 2 this does not seem to work. Thanks Bill -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search

[flexcoders] Adding addEventListener too a Child object

2006-04-25 Thread vestcomprogrammer
I am trying to add a addEventListener to a child object in Flex 2.0 beta 2 and I have tried this DesignView[0].addEventListener (selectionChanged, valueChanged(this)); but this does not seem to work. Anyone know how? Thanks Bill -- Flexcoders Mailing List FAQ: