Can the process of my API drawing be animated?
What’s wrong with the code below?
_root.createEmptyMovieClip(“myLine”,1);
myLine.lineStyle(1,0x000000,100);
myLine.moveTo(30,100);
xSpeed = 2;
myLine.onEnterFrame = function(){
myLine.lineTo(myLine._x+xSpeed,100);
}