random position: random _x property

onClipEvent (enterFrame) {
_x = random(301);
// random(301) returns a number
// between 0 and 300
// 300 is the width of this stage

}