[flexcoders] selecting a cell in an advanced data grid

2008-07-17 Thread fb6668
Hi, I have an advanced data grid with hierarchical data, displayed in tree view. Selecting a cell updates a pie chart to show the breakdown for the node, by passing to a modelLocator value: model.expenditure.selectedItem = e.itemRenderer.data as CategoryObject; which the pie is bound to. This is

[flexcoders] Dissolving between two charts

2008-07-08 Thread fb6668
Hi, I have a line chart and a stacked column chart laid one over the other in a canvas. I would like, when a button is pressed, to dissolve from on to the other. I figured setting the alpha of one chart to 0 and then doing a state transition with an mx:Dissolve ../ would do the trick, and it

[flexcoders] selecting a pre-determined row in a datagrid

2008-06-26 Thread fb6668
Hi. I have a datagrid component which has a dataProvider of an arraycollection of objects. I also have a variable selectedItem, which holds an object that has been selected elsewhere in the application. What I need is, when I create my datagrid, to set the background colour of the row

[flexcoders] Re: 'Pointer' in actionscript?

2008-06-19 Thread fb6668
[EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, fb6668 fiona@ wrote: Hi. I have a custom component which uses data from my modellocator. Depending on the way this component is called depends where abouts this data comes from, ie: private var _itemLocation:Object

[flexcoders] binding mx:tree to custom class

2008-06-19 Thread fb6668
Hi, I have a data structure which looks a little like this: items:ArrayCollection is an array of objects with class Item: Item: name:String category:String data:ArrayCollection is an array of objects with class Detail: Detail: name:String type:String //either income or detail val:Object

[flexcoders] 'Pointer' in actionscript?

2008-06-16 Thread fb6668
Hi. I have a custom component which uses data from my modellocator. Depending on the way this component is called depends where abouts this data comes from, ie: private var _itemLocation:Object; [Bindable] protected function get itemLocation():Object { if(isAssets)

[flexcoders] Re: Thinking about going to the dark side....Apple Mac Book

2008-06-06 Thread fb6668
I use a little ole' MacBook for most of my development. All my .NET stuff runs on my Windows partition using Parallels and Virtue Desktops, faster than my fully-fledged PC lappy, and then enerything else is done on OSX. I was a little dubious at first when this configuration was advised to me, but

[flexcoders] choosing line series

2008-06-05 Thread fb6668
I have a question about adding series to a LineChart. My data looks like this (simplified pseudo-code): selectedItems:ArrayCollection { Item:myClass { id:int history:ArrayCollection { date:Date val:Number } } } so, a user adds objects of

[flexcoders] confusion with events

2008-06-03 Thread fb6668
I have a question about how events are used. I have a component which has the following sub-components: mx:HBox width=100% id=assetBox view:AssetGraphPanel height=100%/ view:AssetAccordion id=accordion / /mx:HBox The AssetGraphPanel itself contains components: mx:PieChart id=topPie ...

[flexcoders] Re: adding a label to a Panel header?

2008-06-02 Thread fb6668
are so if its not being explicitly sized its probably got a width and height of 0. HTH, Ben --- In flexcoders@yahoogroups.com, Daniel Freiman FreimanCQ@ wrote: Is the size of the label actually being set? - Daniel Freiman On Fri, May 30, 2008 at 11:18 AM, fb6668 fiona@ wrote

[flexcoders] adding a label to a Panel header?

2008-05-30 Thread fb6668
Hi, I've extended the Panel container, and would now like to add a second text field to the header. I currently have code which has added am expand/contract button to the header, using: rawChildren.addChild(btStateUp); rawChildren.addChild(btStateDown); but when I try to add a label, as