I have downloaded a piece of source code from lionbichstudios (which is a great site) and they have a great effeect I was wanting to incorporate but can’t seem to tun off the random scale effect in the source code. here it is can anyone help?
onClipEvent (load) {
//movie width/height
height = 200;
width = 300;
//------------------------//
//makes everything random //
//------------------------//
this._x = Math.round(Math.random()*width);
this._y = Math.round(Math.random()*height);
var temp = this._alpha=Math.random()*100;
this._xscale = this._yscale=temp;
//setting initiaion position [COLOR=Red]<—It has gotta be here right?[/COLOR]
cx = this._x;
cy = this._y;
}
onClipEvent (enterFrame) {
//causes the object to be offset
this._x = cx+(1+Math.random()*5);
this._y = cy+(Math.random()*5);
}
Thanks!
Spaghettibones