public function waitToRun(delay:Number, callback:Function )
{
var Timer = new Timer(delay, 1);
function onCompliteTimer(event:Event)
{
timer.removeEventListener(TimerEvent.TIMER_COMPLETE, onCompliteTimer);
callback.call();
}
timer.addEventListener(TimerEvent.TIMER_COMPLETE, onCompliteTimer);
timer.start();
}