FlashBulb
08-16-2005, 03:02 PM
I have a drawing board, with a couple of buttons on it. My problem is that the lines of the drawing draw on top of the buttons, and I want it to draw underneath.
Here's the pertinent code:
this.createEmptyMovieClip("canvas",100);
canvas.lineStyle(3,0x000000,100);
canvas.moveTo(10,10);
save_btn.swapDepths(500);
As I understand it, 'save_btn' should be over top of any drawing on 'canvas', but the lines still get drawn on top of it. What is the solution??
Here's the pertinent code:
this.createEmptyMovieClip("canvas",100);
canvas.lineStyle(3,0x000000,100);
canvas.moveTo(10,10);
save_btn.swapDepths(500);
As I understand it, 'save_btn' should be over top of any drawing on 'canvas', but the lines still get drawn on top of it. What is the solution??