Background gets drawn in front of mc

Hi.

I have some text placed on the ‘canvas’ in Flash. I also draw some stuff in an onEnterFrame function on the main timeline.

The stuff I draw in the onEnterFrame gets placed behind the text I have on the canvas.

I’d really like to have the stuff I draw in front, but I don’t know how to accomplish this.

Anyone know how to do this?

… I assume you’re using the drawing API?

Create a movie clip in a higher depth than the text by using the [font=courier new]MovieClip.createEmptyMovieClip()[/font] method, or create it manually and put it in a layer above the text, and draw the stuff with it. :stuck_out_tongue: