you know you need to sleep when you are trying to echo things in as3