Assuming you're using AS3, you might want to rewrite it as such:

public function Fire() {
            mcFlameContainer = new MovieClip();
            addChild(mcFlameContainer);
        var t:Timer = new Timer(15, 10);
        t.addEventListener(TimerEvent.TIMER, _addNewFlame, 15);
}

Forget the setInterval.  That's fallen out of favor in lieu of the Timer object.

- MM


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to