home *** CD-ROM | disk | FTP | other *** search
- function GenerateBubbles()
- {
- if(counter == 0)
- {
- var _loc3_ = Math.random() * 500;
- var _loc2_ = "risingBubble_" + bubbleDepth;
- _root.risingbubbles_mc.attachMovie("menuBubbles",_loc2_,bubbleDepth);
- counter = Math.round(Math.random() * (maxCounter - minCounter)) + minCounter;
- bubbleDepth++;
- }
- else
- {
- counter--;
- }
- }
- var minCounter = 5;
- var maxCounter = 20;
- var counter = 0;
- var bubbleDepth = 1000;
- stop();
-