An easy enough task you might think. I’ve seen the tuorials The Drawing API and such, but all of them seems to use the dodgy _root and such.
I’d like to be able to draw in a specific layer. I’ve tried using a mock MoviceClip (empty) that lies in it’s specific layer like such:
mock_mc.createEmptyMovieClip("line_mc", depth);
line_mc.lineStyle(1,0x000000,100);
line_mc.moveTo(150,200);
line_mc.lineTo(300,200);
But it just does not work! Gaaaah, im getting crazy over this. Aren’t we supposed to be able to draw into any MovieClip?
Please, if anyone has any idea - or a reason as to why it won’t work at all, give me a hint.
Best regards,
Ohmu