Drawing api?

i have a movie clip whose movement is controlled by the user (keyboard input or mouse clicks, etc.). i want to be able to have a drawn line follow the moving movie clip around… basically recording it’s movements. anyone have any ideas?

In the onEnterFrame or whatever you have the updates frame by frame… Have a variable that holds where the MC was last…

oldx = mc._x;
oldy = mc._y;

Easy enough… Then just have the line follow that… If that’s what you meant by a line follow a mc…

Did you have a look at the tutes and the AS tricks? :trout:

I’ve gotta start saving myself time and effort by just reporting the people to links lmao

yeah ilyaslamasse, but i wasn’t able to find what i was looking for… i’m trying what playamarz suggested now… did you have any suggestions?

I don’t know, are you trying to record the mouse motion or simply to make a trailer??

i’m just trying to get a line to form where my movie clip has been as it is being moved around the stage with the keyboard…

Then it’s exactly as the drawing board, except that you don’t follow the mouse coordinates, but your clip’s coordinates.

oh, sweet as… i didn’t see it listed in the tutorial section… i found it with the search. THANKS ilyaslamasse!