when I made my game, the enemy cars were coming down the screen all over the place. To cancel this, I put in an action script which makes them come down in lanes. this helps me create my road graphics easier. Here is the action script.
{
var lane:Number = (Math.round(Math.random() * 2)+1);
trace("lane " +lane)
var myframe:Number = Math.round(Math.random() * 3);
var tempEnemy:MovieClip;
//Make sure a Library item linkage is set to Enemy...
tempEnemy = new Enemy();
tempEnemy.speed = 3
//Math.random(); gets a random number from 0.0-1.0
if (lane == 1 )
{
tempEnemy.x = 95;
}if (lane == 2 )
{
tempEnemy.x = 235;
}if (lane == 3 )
{
tempEnemy.x = 385;
}
trace("tempEnemy");
addChild(tempEnemy);
tempEnemy.gotoAndStop(myframe);
enemies.push(tempEnemy);
}