Re: [flexcoders] Array to XML?

2011-08-30 Thread Tandon, Rishi
This might help: /** * Object To XML Conversion Mechanism For Structure * @param xmlData * @return   * @author rtandon   */ private static function makeXML(data:Object,rootNodeName:String):XML{ data = ObjectUtil.copy(data); var xmlData:XML = new XML(); var dataNode:XML; xmlData = <{rootNodeName

Re: [flexcoders] adding and managing children dynamically - accordion

2011-08-30 Thread Rishi Tandon
R u adding the datagrid after the accordian layout been created. Might be you have to check the sequence of events for the same. Sent from my iPhone On Aug 31, 2011, at 1:07 AM, Michael Sumner wrote: > > > I was trying to build a component that would dynamically add NavigatorContent > as c

[flexcoders] Array to XML?

2011-08-30 Thread Venkat M
  Hi group,   Can some one please help me in converting an array into an xml file or a similar hierarchical data structure to be used for a tree component!   Imagine a case I have an array A with values A1,A2,A3,A4,   B1,B2,B3,B4, ….. Z1,Z2,Z3,Z4. Can I have an XML like      

[flexcoders] Axis Scale problem on Dual Axis Chart

2011-08-30 Thread Deidre
I have a simply dual axis chart similar to the samples found all over the internet. The chart has a line series on one Linear vertical axis and a column series on another Linear vertical axis. The problem is that when certain events in the application happen, the min and max of one of the axis i

Re: [flexcoders] Re: Basic Doubt - Flex Module

2011-08-30 Thread Venkat M
Looks like I will have to have an interface that should be implemented by my all individual modules!  I will give it a try!. Also I read an article just now to create modules is to make app modular, if we link the modules data to and fro it creates tight coupling and to avoid it we have to use

Re: [flexcoders] Why don't horizontalCenter and verticalCenter work with Spark ColumnConstraints?

2011-08-30 Thread RobertTr
Can't do it. Boxes must be constrained via ConstraintColumns. The boxes switch sides, resize, appear and disappear, etc. via different states and there are transitions on those states to ease the boxes in as they move and resize. Picture a "reverse" button upper right that when clicked reverses

[flexcoders] adding and managing children dynamically - accordion

2011-08-30 Thread Michael Sumner
I was trying to build a component that would dynamically add NavigatorContent as children to an Accordion based on how many items were in an ArrayCollection. That worked I got the expected number of accordion tabs labeled correctly. I now want to add a DataGrid to each NavigatorContent. When

[flexcoders] Re: Basic Doubt - Flex Module

2011-08-30 Thread valdhor
Just to be different, I would use an interface between the Application and all the modules. --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > I would have the button listen for events from the module. > > > On 8/29/11 4:12 PM, "Venkat M" wrote: > > > > > > > > Hi Group, > > I h