PDA

View Full Version : function should fade in and out randomly


pillhuhn
02-27-2007, 09:37 PM
Hi

function wait(){
trace("hallo")
bubbles(); // 30 bubbles are created
clearInterval(myInt)
}
myInt = setInterval(this,"wait",5000)

that is ok but my problem is the following:
bubbles should be generated every 2 minutes (randomly) and should be faded out after approximately 20 seconds
could someone help ?
thanks