How does one randomize the position of a flash clip?!?!

The web-site is in html and I’m using a Flash Object layered over and image to create a circular-sonic-boom-effect when the page is loaded. Eg. The image in in a <td></td> with an absolute width of 233px and height of 310px. The flash object sits on top of the image and onLoad() invokes the flash ‘clip’. The clip is a circle, expanding and fading simultaneously. It’s initial position is x-100 and y-100. I’d like that the x and y positioning be random i.e on the next onLoad() the position should change to say x-134 and y-50.

Is there a way to do this?!?!
I respectfully request ANY advice.

you can use javascript to write to the document.
make it write to the string using the text you need and insert a random number where it puts the absolute positions. :slight_smile:

well i can’t think off any other way but AS…
u could try this:
open a new document and create a movie clip on the stage…
put this code on the movie clip:


onClipEvent(load){
    mW = random(50);
    mH = random(50);
    mSpeed = 7
}
onClipEvent(enterFrame){
    this._width+=(mW-this._width)/mSpeed;
    this._height+=(mH-this._height)/mSpeed;
}

so that every time it loads the destination scales are random (i even added an easing hehe… tell you’re friends about me lol)