Unlimited jumps.
Guide the fireball to the flag by removing objects and making it jump when necessary. Burn as many wooden planks as you can along the way.