This is the code I have for a MC which will be one of many on the stage.
onClipEvent (enterFrame) {
function randRange(min:Number, max:Number):Number {
var randomNum:Number = Math.floor(Math.random()*(max-min+1))+min;
return randomNum;
}
_alpha = randRange(0, 60);
}
It randomizes the alpha which is what I want with a range that I can change. I just need to know how to randomize the time with a range. ( 2-6 seconds )
Is there anyone that can help with this?
~reblis