Im a 100% beginner in actionscript so heres my question, as dumb as it may sound.
I want a shape to travel from px 0 on the x-axis to px 740.
The startposition on the y-axis needs to be random, and between
140 and 180.
I have tried the following code:
startY = Math.round(Math.random()*(180-140)+140);
startX = 0;
targetX = 740;
targetY = startY;
_parent._x = startX;
_parent._y = startY;
Any help will be greatly appreciated