Hi,
Any tutorials I see on the drawing api usually go like this.
_root.createEmptyMovieClip("draw", 1);[COLOR=black][COLOR=black]
draw.moveTo(...);
draw.lineTo(...);[/COLOR][/COLOR]
[COLOR=black][COLOR=black]
This works great, but when I try to use the drawing API on a movie clip that was not created with createEmptyMovieClip, it doesn’t work. This is the code I use:
[/COLOR][/COLOR]
my_mc.duplicateMovieClip("my_mc1", this.getNextHighestDepth(), {_x:20, _y:20});
my_mc1.moveTo(...);
my_mc1.lineTo(...);
[COLOR=black][COLOR=black]
Any ideas? Is my usage wrong? I’m still new to flash.
Thanks.
[/COLOR][/COLOR]