4 Replies Latest reply on May 25, 2011 2:23 AM by Esfera Critica

    Dynamically adding 100's of components

    Esfera Critica



      I'm developing a Flex web app, and have to add 100's of instances of the same component, inside a vgroup. I query an sql db and with the results I keep adding the same component for each record. I get a flash 15 second timeout at about 120 records, and if I increase the timeout I get it at about 150 records for 60 seconds.


      I'm adding the components inside a for loop. Tried to add it calling an external function, but same result. Tried to add only the 2nd component after the 1st was added(Event.ADDED), but it still hangs, and the browser becomes unresponsive... and then timesout.


      Using Flash Builder and Flex SDK 4.5.


      Can anyone help me?