Guest User

Untitled

a guest
Feb 19th, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. # I'm trying to draw a series of new lines
  2.  
  3. for (var i = 0; i<nTotalUsers; i++) {
  4.  
  5. this.createEmptyMovieClip("line_mc"+i, _root.getNextHighestDepth());
  6. with ( _level0['line_mc'+i] ) {
  7. lineStyle(1, 0xFF00FF, 100);
  8. moveTo(110*i,105*i);
  9. lineTo(200, 200);
  10. }
  11.  
  12. }
  13.  
  14. # It only draws one line.. or only one line that I can see, and that line starts at the moveTo point of the last loop
Add Comment
Please, Sign In to add comment