removeChildAt and timer

im trying to have it so when the timer is up the child is removed so i use this code

    var hTimer:Timer = new Timer(1000,1)
            hTimer.addEventListener(TimerEvent.TIMER, time)
            hTimer.start()
            function time(Event:TimerEvent):void{
                trace("time")
                this.removeChildAt(0)
}

it traces fine but comes up with the error

TypeError: Error #1006: removeChildAt is not a function.
at MethodInfo-21()
at flash.utils::Timer/flash.utils:Timer::_timerDispatch()
at flash.utils::Timer/flash.utils:Timer::tick()

what is wrong?

thanks