Combined Code
button 7 {
on (press) {
gotoAndPlay('sperm0');
}
}
frame 40 {
var lbl = 'loop' + Math.ceil(Math.random() * 2);
this.gotoAndPlay(lbl);
}
frame 70 {
var lbl = 'loop' + Math.ceil(Math.random() * 2);
this.gotoAndPlay(lbl);
}
frame 80 {
var lbl = 'loop2_' + Math.ceil(Math.random() * 3);
this.gotoAndPlay(lbl);
}
frame 100 {
var lbl = 'loop2_' + Math.ceil(Math.random() * 3);
this.gotoAndPlay(lbl);
}
frame 130 {
var lbl = 'loop2_' + Math.ceil(Math.random() * 3);
this.gotoAndPlay(lbl);
}
frame 140 {
gotoAndPlay(_currentframe + Math.ceil(Math.random() * 2));
}
frame 141 {
var lbl = 'loop2_' + Math.ceil(Math.random() * 3);
this.gotoAndPlay(lbl);
}
frame 150 {
var lbl = 'loop' + Math.ceil(Math.random() * 2);
this.gotoAndPlay(lbl);
}
frame 249 {
gotoAndPlay('sperm1');
}
frame 253 {
gotoAndPlay(_currentframe + Math.ceil(Math.random() * 3));
}
frame 254 {
gotoAndPlay('loop2_1');
}
frame 255 {
gotoAndPlay('loop2_2');
}
frame 264 {
gotoAndPlay(_currentframe + Math.ceil(Math.random() * 2));
}
frame 265 {
gotoAndPlay('loop3_1');
}
frame 269 {
var lbl = 'loop' + Math.ceil(Math.random() * 3);
this.gotoAndPlay(lbl);
}