var my_tp:Number = setTimeout(_delay, 2000, "two second delay"); function _delay (arg1) { trace(arg1); gotoAndPlay('label') }