Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
connect-the-dot MC

connect-the-dot MC

2004-02-17       - By Warren, Ashley

 Back
Reply:     1     2     3  

If you wanted them to animate while the movieclips are moving around on the stage you can do something like this:

this.onEnterFrame = function ()
{
   // draw lines
   this.clear ();
   this.lineStyle (0, 0xffffff, 100);
   //
   for (var i = 0; i < myNumClips; i++)
   {
      var t:String = "clipNum_ " + (i + 1);
      //
      if (i == 0)
      {
         this.moveTo (this[t]._x, this[t]._y);
      }
      else
      {
         this.lineTo (this[t]._x, this[t]._y);
      }
   }
};

-- --Original Message-- --
From: dsharpe@(protected) [mailto:dsharpe@(protected)]
Sent: Monday, February 16, 2004 9:01 PM
To: flashcoders@(protected)
Subject: [Flashcoders] connect-the-dot MC



Does anyone know of an example of a movieClip when placed in series on the
stage they connect each other in sequence. Basicaly, need to pit a series
of dots on the stage and want them to ftaw a line from one to the other.


Dave
dsharpe@(protected)



=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104396
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)


=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104479
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)