As you said, the common way is to use event listeners:
mytimer.removeEventListener(TimerEvent.TIMER, timer);
If you don't want to remove the listener you could use a flag to toggle example
call:
var tick = false;
function timer(event:TimerEvent)
{
if (tick) {
example();
}
}