Once upon a Runtime

Hey!

So, Runtime:addEventListener ("enterFrame", someFunction) will result in someFunction being called once every frame until you explicitly remove the event listener using Runtime:removeEventListener ("enterFrame", someFunction). Until you’ve removed the existing enterFrame listener, you shouldn’t go adding more.

So, if you need to stop someFunction from being called every frame, then you must remove it.