Hi, I have a performance issue with a screen that is composed of many (lets say up to 40) identical childs. The number of childs is decided at run-time, something like this:
var parentBox:VBox = new VBox(); for each (var data:XML in datas) { var chart:MyComp = new MyComp() parentBox.addChild(chart); chart.init(data); } Here MyComp is a complex component with many buttons, vboxes and a chart (and other stuff). The rendering of parentBox takes very long (alomst 7 seconds on a QuadCore machine). Because all the chart-components are exactly the same, except for the chart-data that is passed through the init(), is there a way to clone components to speed up performance? Or something else? Cheers, Andrej