Hey everyone.
Im learning actionscript using the tutorials here so im more interested in learning how rather than just getting it done.
Ive come across a problem on something ive been trying to do.
Ive been trying to make a 10 framed movieclip appear at the mouse position and play continuously. To do this I have a two framed loop.
Here is my code. Circle_mc is the movie clip:
//this is the name of my function and what it has in it.
CreateAtMouse = function () {
Circle_mc.duplicateMovieClip(“circlecreate”, 2, {_x: _root._xmouse, _y: _root._ymouse});
};
CreateAtMouse();
Now this shows only the first frame of the movie clip but DOES follow my mouse around. There are two problems I have.
- Id like the animation to carry on playing leaving a trail where my mouse has been.
- I have to have the clip hidden off of the stage to use duplicateMovieClip. Can I get around this?
Thanks for any replies!