|
|
Anyone?
hi there..
im using this to create a series of objects on screen when the user clicks a button. does anyone know how i can dynamically draw lines between each of the star objects?
on (press) { for (i=0; i<5; i++) { this.attachMovie("star", "star"+i, i); this["star"+i]._y -= i*30; this["star"+i]._x = Math.floor(Math.random()*30)+1; this["star"+i].display = "date/"+i;
} }
i know how to create a new empty movie clip to house the line that i want to build, but not how to simplfy the code and connect it to all the above 'star' objects...
any help would be great..
FlashKit > Flash Help > Flash ActionScript
Posted on: 11-27-2002, 10:53 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
|
|
|