Frame 2
stop();
Frame 3
stop();
attachMovie("flower", "flower", _root.getNextHighestDepth());
Mouse.hide();
friction = 0.905;
speed_scale = 0.025;
xspeed = 0;
yspeed = 0;
timeout = 0;
scale = 1;
score = 0;
butarray = new Array();
butarray.push(butterfly);
MovieClip.prototype.hitTests = function (mc) {
for (i in this.perimeter) {
p = {x:this.perimeter[i]._x, y:this.perimeter[i]._y};
this.perimeter.localToGlobal(p);
if (mc.hitTest(p.x, p.y, true)) {
if (p.x != undefined) {
return(true);
}
}
}
return(false);
};
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
web._xscale = scale;
butterfly._yscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
butterfly.onEnterFrame = function () {
if (timeout == 60) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (this.hitTests(butterfly)) {
butterfly.swapDepths(9000);
score++;
butterfly.removeMovieClip();
butarray.splice(0, 1);
if (butarray.length == 0) {
_root.gotoAndPlay(_root._currentframe + 1);
}
}
}
};
Frame 4
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butarray.push(butterfly1);
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly" in Frame 4
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
}
Instance of Symbol 100 MovieClip "web" in Frame 4
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
}
Instance of Symbol 9 MovieClip "butterfly1" in Frame 4
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
}
Frame 5
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butarray.push(butterfly1);
butarray.push(butterfly2);
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly" in Frame 5
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
butterfly._x = 85;
butterfly._y = 35;
}
Instance of Symbol 9 MovieClip "butterfly1" in Frame 5
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 435;
this._y = 360;
}
Instance of Symbol 9 MovieClip "butterfly2" in Frame 5
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 435;
this._y = 35;
}
Frame 6
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butarray.push(butterfly1);
butarray.push(butterfly2);
butarray.push(butterfly3);
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly" in Frame 6
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 85;
this._y = 35;
}
Instance of Symbol 9 MovieClip "butterfly3" in Frame 6
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 435;
this._y = 360;
}
Instance of Symbol 9 MovieClip "butterfly2" in Frame 6
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 435;
this._y = 35;
}
Instance of Symbol 9 MovieClip "butterfly1" in Frame 6
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 85;
this._y = 360;
}
Frame 7
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly2" in Frame 7
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 435;
this._y = 35;
}
Instance of Symbol 9 MovieClip "butterfly4" in Frame 7
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 265;
this._y = 35;
}
Frame 8
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly5" in Frame 8
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 265;
this._y = 360;
}
Frame 9
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly6" in Frame 9
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 15;
this._y = 190;
}
Frame 10
stop();
friction = 0.905;
speed_scale = 0.025;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
web._xscale = scale;
web._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 275;
this._y = 200;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
Instance of Symbol 9 MovieClip "butterfly7" in Frame 10
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 515;
this._y = 190;
}
Frame 11
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 100 MovieClip "web" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
_x = 395;
_y = 200;
}
Instance of Symbol 100 MovieClip "web2" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
}
Instance of Symbol 104 MovieClip "butterfly8" in Frame 11
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 515;
this._y = 260;
}
Frame 12
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 104 MovieClip "butterfly9" in Frame 12
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 15;
this._y = 105;
}
Frame 13
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 104 MovieClip "butterfly10" in Frame 13
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 170;
this._y = 360;
}
Frame 14
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 104 MovieClip "butterfly11" in Frame 14
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 360;
this._y = 35;
}
Frame 15
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 104 MovieClip "butterfly12" in Frame 15
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 170;
this._y = 35;
}
Frame 16
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 15;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
butarray.push(butterfly13);
butterfly13._x = 360;
butterfly13._y = 360;
butterfly13._xscale = 1;
butterfly13._yscale = 1;
butterfly13._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly13._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
butterfly13._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed13 = 0;
yspeed13 = 0;
butterfly13.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x13 = (flower._x - this._x) * speed_scale2;
dist_y13 = (flower._y - this._y) * speed_scale2;
xspeed13 = xspeed13 + dist_x13;
yspeed13 = yspeed13 + dist_y13;
xspeed13 = xspeed13 * friction2;
yspeed13 = yspeed13 * friction2;
this._x = this._x + xspeed13;
this._y = this._y + yspeed13;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
Instance of Symbol 104 MovieClip "butterfly13" in Frame 16
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 360;
this._y = 360;
}
Frame 17
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
speed_scale3 = 0.03;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 515;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
butarray.push(butterfly13);
butterfly13._x = 360;
butterfly13._y = 360;
butterfly13._xscale = 1;
butterfly13._yscale = 1;
butterfly13._visible = true;
butarray.push(butterfly14);
butterfly14._x = 515;
butterfly14._y = 125;
butterfly14._xscale = 1;
butterfly14._yscale = 1;
butterfly14._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly13._xscale = scale;
butterfly14._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
butterfly13._yscale = scale;
butterfly14._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed13 = 0;
yspeed13 = 0;
butterfly13.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x13 = (flower._x - this._x) * speed_scale2;
dist_y13 = (flower._y - this._y) * speed_scale2;
xspeed13 = xspeed13 + dist_x13;
yspeed13 = yspeed13 + dist_y13;
xspeed13 = xspeed13 * friction2;
yspeed13 = yspeed13 * friction2;
this._x = this._x + xspeed13;
this._y = this._y + yspeed13;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed14 = 0;
yspeed14 = 0;
butterfly14.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x14 = (flower._x - this._x) * speed_scale3;
dist_y14 = (flower._y - this._y) * speed_scale3;
xspeed14 = xspeed14 + dist_x14;
yspeed14 = yspeed14 + dist_y14;
xspeed14 = xspeed14 * friction2;
yspeed14 = yspeed14 * friction2;
this._x = this._x + xspeed14;
this._y = this._y + yspeed14;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
spider.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverspider");
}
}
};
Instance of Symbol 110 MovieClip "butterfly14" in Frame 17
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 515;
this._y = 125;
}
Frame 18
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
speed_scale3 = 0.03;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 515;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
butarray.push(butterfly13);
butterfly13._x = 360;
butterfly13._y = 360;
butterfly13._xscale = 1;
butterfly13._yscale = 1;
butterfly13._visible = true;
butarray.push(butterfly14);
butterfly14._x = 515;
butterfly14._y = 125;
butterfly14._xscale = 1;
butterfly14._yscale = 1;
butterfly14._visible = true;
butarray.push(butterfly15);
butterfly15._x = 15;
butterfly15._y = 255;
butterfly15._xscale = 1;
butterfly15._yscale = 1;
butterfly15._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly13._xscale = scale;
butterfly14._xscale = scale;
butterfly15._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
butterfly13._yscale = scale;
butterfly14._yscale = scale;
butterfly15._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed13 = 0;
yspeed13 = 0;
butterfly13.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x13 = (flower._x - this._x) * speed_scale2;
dist_y13 = (flower._y - this._y) * speed_scale2;
xspeed13 = xspeed13 + dist_x13;
yspeed13 = yspeed13 + dist_y13;
xspeed13 = xspeed13 * friction2;
yspeed13 = yspeed13 * friction2;
this._x = this._x + xspeed13;
this._y = this._y + yspeed13;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed14 = 0;
yspeed14 = 0;
butterfly14.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x14 = (flower._x - this._x) * speed_scale3;
dist_y14 = (flower._y - this._y) * speed_scale3;
xspeed14 = xspeed14 + dist_x14;
yspeed14 = yspeed14 + dist_y14;
xspeed14 = xspeed14 * friction2;
yspeed14 = yspeed14 * friction2;
this._x = this._x + xspeed14;
this._y = this._y + yspeed14;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed15 = 0;
yspeed15 = 0;
butterfly15.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x15 = (flower._x - this._x) * speed_scale3;
dist_y15 = (flower._y - this._y) * speed_scale3;
xspeed15 = xspeed15 + dist_x15;
yspeed15 = yspeed15 + dist_y15;
xspeed15 = xspeed15 * friction2;
yspeed15 = yspeed15 * friction2;
this._x = this._x + xspeed15;
this._y = this._y + yspeed15;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
spider.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverspider");
}
}
};
Instance of Symbol 110 MovieClip "butterfly15" in Frame 18
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 15;
this._y = 255;
}
Frame 19
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
speed_scale3 = 0.03;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 515;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
butarray.push(butterfly13);
butterfly13._x = 360;
butterfly13._y = 360;
butterfly13._xscale = 1;
butterfly13._yscale = 1;
butterfly13._visible = true;
butarray.push(butterfly14);
butterfly14._x = 515;
butterfly14._y = 125;
butterfly14._xscale = 1;
butterfly14._yscale = 1;
butterfly14._visible = true;
butarray.push(butterfly15);
butterfly15._x = 15;
butterfly15._y = 255;
butterfly15._xscale = 1;
butterfly15._yscale = 1;
butterfly15._visible = true;
butarray.push(butterfly16);
butterfly16._x = 18;
butterfly16._y = 40;
butterfly16._xscale = 1;
butterfly16._yscale = 1;
butterfly16._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly13._xscale = scale;
butterfly14._xscale = scale;
butterfly15._xscale = scale;
butterfly16._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
butterfly13._yscale = scale;
butterfly14._yscale = scale;
butterfly15._yscale = scale;
butterfly16._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed13 = 0;
yspeed13 = 0;
butterfly13.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x13 = (flower._x - this._x) * speed_scale2;
dist_y13 = (flower._y - this._y) * speed_scale2;
xspeed13 = xspeed13 + dist_x13;
yspeed13 = yspeed13 + dist_y13;
xspeed13 = xspeed13 * friction2;
yspeed13 = yspeed13 * friction2;
this._x = this._x + xspeed13;
this._y = this._y + yspeed13;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed14 = 0;
yspeed14 = 0;
butterfly14.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x14 = (flower._x - this._x) * speed_scale3;
dist_y14 = (flower._y - this._y) * speed_scale3;
xspeed14 = xspeed14 + dist_x14;
yspeed14 = yspeed14 + dist_y14;
xspeed14 = xspeed14 * friction2;
yspeed14 = yspeed14 * friction2;
this._x = this._x + xspeed14;
this._y = this._y + yspeed14;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed15 = 0;
yspeed15 = 0;
butterfly15.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x15 = (flower._x - this._x) * speed_scale3;
dist_y15 = (flower._y - this._y) * speed_scale3;
xspeed15 = xspeed15 + dist_x15;
yspeed15 = yspeed15 + dist_y15;
xspeed15 = xspeed15 * friction2;
yspeed15 = yspeed15 * friction2;
this._x = this._x + xspeed15;
this._y = this._y + yspeed15;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed16 = 0;
yspeed16 = 0;
butterfly16.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x16 = (flower._x - this._x) * speed_scale3;
dist_y16 = (flower._y - this._y) * speed_scale3;
xspeed16 = xspeed16 + dist_x16;
yspeed16 = yspeed16 + dist_y16;
xspeed16 = xspeed16 * friction2;
yspeed16 = yspeed16 * friction2;
this._x = this._x + xspeed16;
this._y = this._y + yspeed16;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
nextFrame();
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
spider.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverspider");
}
}
};
Instance of Symbol 110 MovieClip "butterfly16" in Frame 19
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 18;
this._y = 40;
}
Frame 20
stop();
friction = 0.905;
friction2 = 0.87;
speed_scale = 0.025;
speed_scale2 = 0.035;
speed_scale3 = 0.03;
timeout = 0;
scale = 1;
butarray.push(butterfly);
butterfly._x = 85;
butterfly._y = 35;
butterfly._xscale = 1;
butterfly._yscale = 1;
butterfly._visible = true;
butarray.push(butterfly1);
butterfly1._x = 85;
butterfly1._y = 360;
butterfly1._xscale = 1;
butterfly1._yscale = 1;
butterfly1._visible = true;
butarray.push(butterfly2);
butterfly2._x = 435;
butterfly2._y = 35;
butterfly2._xscale = 1;
butterfly2._yscale = 1;
butterfly2._visible = true;
butarray.push(butterfly3);
butterfly3._x = 435;
butterfly3._y = 360;
butterfly3._xscale = 1;
butterfly3._yscale = 1;
butterfly3._visible = true;
butarray.push(butterfly4);
butterfly4._x = 265;
butterfly4._y = 35;
butterfly4._xscale = 1;
butterfly4._yscale = 1;
butterfly4._visible = true;
butarray.push(butterfly5);
butterfly5._x = 265;
butterfly5._y = 360;
butterfly5._xscale = 1;
butterfly5._yscale = 1;
butterfly5._visible = true;
butarray.push(butterfly6);
butterfly6._x = 15;
butterfly6._y = 190;
butterfly6._xscale = 1;
butterfly6._yscale = 1;
butterfly6._visible = true;
butarray.push(butterfly7);
butterfly7._x = 515;
butterfly7._y = 190;
butterfly7._xscale = 1;
butterfly7._yscale = 1;
butterfly7._visible = true;
butarray.push(butterfly8);
butterfly8._x = 515;
butterfly8._y = 260;
butterfly8._xscale = 1;
butterfly8._yscale = 1;
butterfly8._visible = true;
butarray.push(butterfly9);
butterfly9._x = 15;
butterfly9._y = 105;
butterfly9._xscale = 1;
butterfly9._yscale = 1;
butterfly9._visible = true;
butarray.push(butterfly10);
butterfly10._x = 170;
butterfly10._y = 360;
butterfly10._xscale = 1;
butterfly10._yscale = 1;
butterfly10._visible = true;
butarray.push(butterfly11);
butterfly11._x = 360;
butterfly11._y = 35;
butterfly11._xscale = 1;
butterfly11._yscale = 1;
butterfly11._visible = true;
butarray.push(butterfly12);
butterfly12._x = 170;
butterfly12._y = 35;
butterfly12._xscale = 1;
butterfly12._yscale = 1;
butterfly12._visible = true;
butarray.push(butterfly13);
butterfly13._x = 360;
butterfly13._y = 360;
butterfly13._xscale = 1;
butterfly13._yscale = 1;
butterfly13._visible = true;
butarray.push(butterfly14);
butterfly14._x = 515;
butterfly14._y = 125;
butterfly14._xscale = 1;
butterfly14._yscale = 1;
butterfly14._visible = true;
butarray.push(butterfly15);
butterfly15._x = 15;
butterfly15._y = 255;
butterfly15._xscale = 1;
butterfly15._yscale = 1;
butterfly15._visible = true;
butarray.push(butterfly16);
butterfly16._x = 18;
butterfly16._y = 40;
butterfly16._xscale = 1;
butterfly16._yscale = 1;
butterfly16._visible = true;
butarray.push(butterfly17);
butterfly17._x = 515;
butterfly17._y = 360;
butterfly17._xscale = 1;
butterfly17._yscale = 1;
butterfly17._visible = true;
flower.onEnterFrame = function () {
scoretext.text = "score: " + score;
this._x = _root._xmouse;
this._y = _root._ymouse;
butterfly._xscale = scale;
butterfly1._xscale = scale;
butterfly2._xscale = scale;
butterfly3._xscale = scale;
butterfly4._xscale = scale;
butterfly5._xscale = scale;
butterfly6._xscale = scale;
butterfly7._xscale = scale;
butterfly8._xscale = scale;
butterfly9._xscale = scale;
butterfly10._xscale = scale;
butterfly11._xscale = scale;
butterfly12._xscale = scale;
butterfly13._xscale = scale;
butterfly14._xscale = scale;
butterfly15._xscale = scale;
butterfly16._xscale = scale;
butterfly17._xscale = scale;
butterfly._yscale = scale;
butterfly1._yscale = scale;
butterfly2._yscale = scale;
butterfly3._yscale = scale;
butterfly4._yscale = scale;
butterfly5._yscale = scale;
butterfly6._yscale = scale;
butterfly7._yscale = scale;
butterfly8._yscale = scale;
butterfly9._yscale = scale;
butterfly10._yscale = scale;
butterfly11._yscale = scale;
butterfly12._yscale = scale;
butterfly13._yscale = scale;
butterfly14._yscale = scale;
butterfly15._yscale = scale;
butterfly16._yscale = scale;
butterfly17._yscale = scale;
web._xscale = scale;
web._yscale = scale;
web2._xscale = scale;
web2._yscale = scale;
if (scale < 100) {
scale = scale + 5;
}
timeout++;
if (timeout > 60) {
timeout = 60;
}
};
xspeed = 0;
yspeed = 0;
butterfly.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x = (flower._x - this._x) * speed_scale;
dist_y = (flower._y - this._y) * speed_scale;
xspeed = xspeed + dist_x;
yspeed = yspeed + dist_y;
xspeed = xspeed * friction;
yspeed = yspeed * friction;
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed1 = 0;
yspeed1 = 0;
butterfly1.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x1 = (flower._x - this._x) * speed_scale;
dist_y1 = (flower._y - this._y) * speed_scale;
xspeed1 = xspeed1 + dist_x1;
yspeed1 = yspeed1 + dist_y1;
xspeed1 = xspeed1 * friction;
yspeed1 = yspeed1 * friction;
this._x = this._x + xspeed1;
this._y = this._y + yspeed1;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed2 = 0;
yspeed2 = 0;
butterfly2.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x2 = (flower._x - this._x) * speed_scale;
dist_y2 = (flower._y - this._y) * speed_scale;
xspeed2 = xspeed2 + dist_x2;
yspeed2 = yspeed2 + dist_y2;
xspeed2 = xspeed2 * friction;
yspeed2 = yspeed2 * friction;
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed3 = 0;
yspeed3 = 0;
butterfly3.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x3 = (flower._x - this._x) * speed_scale;
dist_y3 = (flower._y - this._y) * speed_scale;
xspeed3 = xspeed3 + dist_x3;
yspeed3 = yspeed3 + dist_y3;
xspeed3 = xspeed3 * friction;
yspeed3 = yspeed3 * friction;
this._x = this._x + xspeed3;
this._y = this._y + yspeed3;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed4 = 0;
yspeed4 = 0;
butterfly4.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x4 = (flower._x - this._x) * speed_scale;
dist_y4 = (flower._y - this._y) * speed_scale;
xspeed4 = xspeed4 + dist_x4;
yspeed4 = yspeed4 + dist_y4;
xspeed4 = xspeed4 * friction;
yspeed4 = yspeed4 * friction;
this._x = this._x + xspeed4;
this._y = this._y + yspeed4;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed5 = 0;
yspeed5 = 0;
butterfly5.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x5 = (flower._x - this._x) * speed_scale;
dist_y5 = (flower._y - this._y) * speed_scale;
xspeed5 = xspeed5 + dist_x5;
yspeed5 = yspeed5 + dist_y5;
xspeed5 = xspeed5 * friction;
yspeed5 = yspeed5 * friction;
this._x = this._x + xspeed5;
this._y = this._y + yspeed5;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed6 = 0;
yspeed6 = 0;
butterfly6.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x6 = (flower._x - this._x) * speed_scale;
dist_y6 = (flower._y - this._y) * speed_scale;
xspeed6 = xspeed6 + dist_x6;
yspeed6 = yspeed6 + dist_y6;
xspeed6 = xspeed6 * friction;
yspeed6 = yspeed6 * friction;
this._x = this._x + xspeed6;
this._y = this._y + yspeed6;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed7 = 0;
yspeed7 = 0;
butterfly7.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x7 = (flower._x - this._x) * speed_scale;
dist_y7 = (flower._y - this._y) * speed_scale;
xspeed7 = xspeed7 + dist_x7;
yspeed7 = yspeed7 + dist_y7;
xspeed7 = xspeed7 * friction;
yspeed7 = yspeed7 * friction;
this._x = this._x + xspeed7;
this._y = this._y + yspeed7;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed8 = 0;
yspeed8 = 0;
butterfly8.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x8 = (flower._x - this._x) * speed_scale2;
dist_y8 = (flower._y - this._y) * speed_scale2;
xspeed8 = xspeed8 + dist_x8;
yspeed8 = yspeed8 + dist_y8;
xspeed8 = xspeed8 * friction2;
yspeed8 = yspeed8 * friction2;
this._x = this._x + xspeed8;
this._y = this._y + yspeed8;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed9 = 0;
yspeed9 = 0;
butterfly9.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x9 = (flower._x - this._x) * speed_scale2;
dist_y9 = (flower._y - this._y) * speed_scale2;
xspeed9 = xspeed9 + dist_x9;
yspeed9 = yspeed9 + dist_y9;
xspeed9 = xspeed9 * friction2;
yspeed9 = yspeed9 * friction2;
this._x = this._x + xspeed9;
this._y = this._y + yspeed9;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed10 = 0;
yspeed10 = 0;
butterfly10.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x10 = (flower._x - this._x) * speed_scale2;
dist_y10 = (flower._y - this._y) * speed_scale2;
xspeed10 = xspeed10 + dist_x10;
yspeed10 = yspeed10 + dist_y10;
xspeed10 = xspeed10 * friction2;
yspeed10 = yspeed10 * friction2;
this._x = this._x + xspeed10;
this._y = this._y + yspeed10;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed11 = 0;
yspeed11 = 0;
butterfly11.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x11 = (flower._x - this._x) * speed_scale2;
dist_y11 = (flower._y - this._y) * speed_scale2;
xspeed11 = xspeed11 + dist_x11;
yspeed11 = yspeed11 + dist_y11;
xspeed11 = xspeed11 * friction2;
yspeed11 = yspeed11 * friction2;
this._x = this._x + xspeed11;
this._y = this._y + yspeed11;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed12 = 0;
yspeed12 = 0;
butterfly12.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x12 = (flower._x - this._x) * speed_scale2;
dist_y12 = (flower._y - this._y) * speed_scale2;
xspeed12 = xspeed12 + dist_x12;
yspeed12 = yspeed12 + dist_y12;
xspeed12 = xspeed12 * friction2;
yspeed12 = yspeed12 * friction2;
this._x = this._x + xspeed12;
this._y = this._y + yspeed12;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed13 = 0;
yspeed13 = 0;
butterfly13.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x13 = (flower._x - this._x) * speed_scale2;
dist_y13 = (flower._y - this._y) * speed_scale2;
xspeed13 = xspeed13 + dist_x13;
yspeed13 = yspeed13 + dist_y13;
xspeed13 = xspeed13 * friction2;
yspeed13 = yspeed13 * friction2;
this._x = this._x + xspeed13;
this._y = this._y + yspeed13;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.web2)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed14 = 0;
yspeed14 = 0;
butterfly14.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x14 = (flower._x - this._x) * speed_scale3;
dist_y14 = (flower._y - this._y) * speed_scale3;
xspeed14 = xspeed14 + dist_x14;
yspeed14 = yspeed14 + dist_y14;
xspeed14 = xspeed14 * friction2;
yspeed14 = yspeed14 * friction2;
this._x = this._x + xspeed14;
this._y = this._y + yspeed14;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed15 = 0;
yspeed15 = 0;
butterfly15.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x15 = (flower._x - this._x) * speed_scale3;
dist_y15 = (flower._y - this._y) * speed_scale3;
xspeed15 = xspeed15 + dist_x15;
yspeed15 = yspeed15 + dist_y15;
xspeed15 = xspeed15 * friction2;
yspeed15 = yspeed15 * friction2;
this._x = this._x + xspeed15;
this._y = this._y + yspeed15;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed16 = 0;
yspeed16 = 0;
butterfly16.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x16 = (flower._x - this._x) * speed_scale3;
dist_y16 = (flower._y - this._y) * speed_scale3;
xspeed16 = xspeed16 + dist_x16;
yspeed16 = yspeed16 + dist_y16;
xspeed16 = xspeed16 * friction2;
yspeed16 = yspeed16 * friction2;
this._x = this._x + xspeed16;
this._y = this._y + yspeed16;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
xspeed17 = 0;
yspeed17 = 0;
butterfly17.onEnterFrame = function () {
if (timeout == 60) {
if (this._visible == true) {
dist_x17 = (flower._x - this._x) * speed_scale3;
dist_y17 = (flower._y - this._y) * speed_scale3;
xspeed17 = xspeed17 + dist_x17;
yspeed17 = yspeed17 + dist_y17;
xspeed17 = xspeed17 * friction2;
yspeed17 = yspeed17 * friction2;
this._x = this._x + xspeed17;
this._y = this._y + yspeed17;
if (this.hitTests(_root.flower)) {
gotoAndStop ("gameoverbut");
}
angle = (Math.atan2(this._y - _ymouse, this._x - _xmouse) / Math.PI) * 180;
this._rotation = angle + 180;
if (this.hitTests(_root.spider) && (this._y > 0)) {
score++;
butarray.splice(0, 1);
this._visible = false;
}
} else {
this._x = 395;
this._y = 160;
}
}
};
web.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
if (butarray.length == 0) {
gotoAndStop ("win");
}
}
};
web2.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverweb");
}
}
};
spider.onEnterFrame = function () {
if (timeout == 60) {
if (this.hitTests(flower)) {
gotoAndStop ("gameoverspider");
}
}
};
Instance of Symbol 110 MovieClip "butterfly17" in Frame 20
onClipEvent (load) {
_xscale = 1;
_yscale = 1;
this._visible = true;
this._x = 515;
this._y = 360;
}
Frame 32
stop();
flower.swapDepths(9000);
flower.removeMovieClip();
Mouse.show();
scoringtext.text = "your final score was: " + _root.score;
Frame 33
stop();
flower.swapDepths(9000);
flower.removeMovieClip();
Mouse.show();
scoringtext.text = "your final score was: " + _root.score;
Frame 34
stop();
flower.swapDepths(9000);
flower.removeMovieClip();
Mouse.show();
scoringtext.text = "your final score was: " + _root.score;
Frame 35
stop();
flower.swapDepths(9000);
flower.removeMovieClip();
Mouse.show();
scoringtext.text = "your final score was: " + _root.score;
Frame 36
stop();
flower.swapDepths(9000);
flower.removeMovieClip();
Mouse.show();
Symbol 56 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 58 MovieClip Frame 40
stop();
Symbol 84 Button
on (release) {
_root.play();
}
Symbol 85 MovieClip Frame 1
function onEnterFrame() {
if (!loaded) {
var _local3 = _root.getBytesLoaded() / _root.getBytesTotal();
if (_local3 >= 1) {
play();
bar._x = initX;
loaded = true;
} else {
bar._x = initX + ((_local3 - 1) * bar._width);
}
}
var _local4 = getTimer() - time;
timeAccum = timeAccum + _local4;
while (timeAccum >= FRAME_TIME) {
var _local2 = 0;
while (_local2 < timeClips.length) {
if (timeClips[_local2]._currentframe < timeClips[_local2]._totalframes) {
timeClips[_local2].nextFrame();
} else {
timeClips[_local2].gotoAndStop(1);
}
_local2++;
}
if (loaded && (_currentframe < _totalframes)) {
nextFrame();
}
timeAccum = timeAccum - FRAME_TIME;
}
time = time + _local4;
}
stop();
_root.stop();
var initX = bar._x;
var time = getTimer();
var FRAME_TIME = 33.3333333333333;
var timeAccum = 0;
var loaded = false;
timeClips = [bargfx, tank.mc0, tank.mc1, tank.mc2, tank.mc3, tank.mc4, tank.mc4.mc0, tank.mc4.mc1, tank.mc4.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc0, tank.mc4.mc0.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc0.mc2, tank.mc4.mc0.mc0.mc0.mc3, tank.mc4.mc0.mc0.mc1, tank.mc4.mc0.mc0.mc2, tank.mc5.mc0];
var i = 0;
while (i < timeClips.length) {
timeClips[i].stop();
i++;
}
Symbol 85 MovieClip Frame 51
_root.play();
Symbol 91 Button
on (release) {
gotoAndStop ("level1");
}
Symbol 94 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 119 Button
on (release) {
gotoAndStop ("start");
}
Symbol 129 Button
on (release) {
gotoAndStop ("start");
}