Hello,
Dear you need to Use the Timer in flex to achieve that
var spiritTimer : Timer = new Timer(500,10000)
here i have created a timer having 500 millisecounds duration and will
be working 10000 times
now i will add the event listner to this timer
spiritTimer .addEventListener(TimerEvent.TIMER_COMPLETE,
addComponents);
public numberCount : Number = 0;
protected function addComponents(event:TimerEvent) : void
{
numberCount = numberCount + 1;
if(numberCount == 10000)
spiritTimer .stop();
else
// add you component here
}
Cheers
Varun Rathore
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---