|
|
Dot To Dot
Hi all,
I'm trying to produce a movie where a line draws between the dots, like a join the dots game. At the moment I'm using a loop with API which works fine but you carn't see the line drawing. What a really need is way to draw the line between the dots without using tweens, cos I got a lot of them to do.
Code: var theDepth = 1; this.createEmptyMovieClip("line_mc", theDepth); line_mc.lineStyle(0, 0x000000, 70); line_mc.moveTo(eval("dc"+theDepth+"_mc")._x, eval("dc"+theDepth+"_mc")._y); for (i=theDepth; i<=5; i++) { line_mc.lineTo(eval("dc"+i+"_mc")._x, eval("dc"+i+"_mc")._y); }
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 01-21-2006, 01:23 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
|
|
|