function f(intId){ clearInterval(intId); trace ("called and killed"); } intId = setInterval( f, 1000, intId );