;

PDA

Click to See Complete Forum and Search --> : drawing on components?


blanius
08-07-2006, 09:33 AM
I wanted to draw on a library item that I made.

this code when applied to a library item doesn't work but it works on standard clip


mc1.lineStyle(3,x00ff00,100,false,"normal","round","round",1);
mc1.moveTo(0,0);
mc1.lineTo(40,0);
mc1.lineTo(40,40);
mc1.lineTo(0,40);
mc1.lineTo(0,0);

Update: Actually it works fine if there are no shapes on the library item. But if I draw on clip it seems it's behind any shapes on the clip. So the question becomes how do I draw on Top of the shapes.

w.brants
08-07-2006, 10:47 AM
You could create a child movieclip on a higher depth level and draw on that.

blanius
08-07-2006, 02:31 PM
You could create a child movieclip on a higher depth level and draw on that.

Oooh Hadn't thought of that