You should be able to almost copy and paste it. I didn't test this, but something like...
var star = this.star_mc;
var points = [
{ x: -490, y: -170 },
{ x: -400, y: -490 },
{ x: -105, y: -485 },
{ x: 20, y: -285 },
{ x: -320, y: 70 }
];
var speed = 300; // pixels per second
var prevPoint = points[0];
TweenLite.set(star, {
x: prevPoint.x,
y: prevPoint.y
});
var tl = new TimelineMax({ paused: true })
for (var i = 1; i < points.length; i++) {
var point = points[i];
var duration = getDuration(prevPoint, point, speed);
tl.to(star, duration, {
x: point.x,
y: point.y,
ease: Linear.easeNone
});
prevPoint = point;
}
TweenMax.to(tl, tl.duration(), {
delay: 0.5,
progress: 1,
ease: Power1.easeOut // whatever ease you want
});
function getDuration(point1, point2, speed) {
var dx = point2.x - point1.x;
var dy = point2.y - point1.y;
return (Math.sqrt(dx * dx + dy * dy) / speed) || 0;
}