flash random Q
flash random Q
Out of context: Reply #1
- Started
- Last post
- 14 Responses
- unfittoprint0
random time (within 10 seconds):
randTime=Math.round()*10000
random size (within 300%):
randSize=Math.round()*300
mc._yscale=mc._xcale=randSize
random position (within stage size)
randX=Math.round()*_root._width
randY=Math.round()*_root._height
now you just have to use setInterval and clearInterval to set a timer at random intervals and send the random parameters to your mc...