hey people ive got a problem im hoping you can help me solve im trying to make a pause button and im not very good with action script ive made a attempt but it still comes up with two errors can anyone help me get read of them here is the code ive being devolping.

stop();
var interval:Number = setInterval(function () {
trace(interval);
play();
clearInterval(interval);
}, 24000);