Mouse Trails

Plus One

Let's take care of that little problem with the single movieClip that isn't getting removed. It's a simple fix if you think abuot it: The script is looping so long as n is LESS than count. Therefore, it's missing the most current instance of the duplicated movieClips: "trail"+count

You might change the condition in the for loop to n<=count (which runs the actions if n is less than or equal to count). Or, you can change the condition in the for loop to n<count+1 (runs the actions if n is less than count plus one).

Let's do that:

Ok, make sure all of the movieClips are getting removed now:

Content on this page requires a newer version of Adobe Flash Player.

Get Adobe Flash player