STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
A Very Merry Christmas! |
This is the info page for Flash #73678 |
Catch the butterflies! The game is simple, use your mouse to lure the butterflies in the web. |
play |
credits |
Game Over You touched a butterfly! |
replay |
Game Over You touched a web! |
Game Over You touched the spider! |
You win! Congratulations, you defeated the game |
Credits |
back |
art/animation: me actionscript: me actionscript assistance: - Emanuele Feronato (elasticity tutorial) - Grant Skinner (shape based collision detection) music: |
ActionScript [AS1/AS2]
Frame 2stop();Frame 3stop(); 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 4stop(); 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 4onClipEvent (load) { _xscale = 1; _yscale = 1; }Instance of Symbol 100 MovieClip "web" in Frame 4onClipEvent (load) { _xscale = 1; _yscale = 1; }Instance of Symbol 9 MovieClip "butterfly1" in Frame 4onClipEvent (load) { _xscale = 1; _yscale = 1; }Frame 5stop(); 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 5onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; butterfly._x = 85; butterfly._y = 35; }Instance of Symbol 9 MovieClip "butterfly1" in Frame 5onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 435; this._y = 360; }Instance of Symbol 9 MovieClip "butterfly2" in Frame 5onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 435; this._y = 35; }Frame 6stop(); 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 6onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 85; this._y = 35; }Instance of Symbol 9 MovieClip "butterfly3" in Frame 6onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 435; this._y = 360; }Instance of Symbol 9 MovieClip "butterfly2" in Frame 6onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 435; this._y = 35; }Instance of Symbol 9 MovieClip "butterfly1" in Frame 6onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 85; this._y = 360; }Frame 7stop(); 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 7onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 435; this._y = 35; }Instance of Symbol 9 MovieClip "butterfly4" in Frame 7onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 265; this._y = 35; }Frame 8stop(); 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 8onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 265; this._y = 360; }Frame 9stop(); 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 9onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 15; this._y = 190; }Frame 10stop(); 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 10onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 515; this._y = 190; }Frame 11stop(); 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 11onClipEvent (load) { _xscale = 1; _yscale = 1; _x = 395; _y = 200; }Instance of Symbol 100 MovieClip "web2" in Frame 11onClipEvent (load) { _xscale = 1; _yscale = 1; }Instance of Symbol 104 MovieClip "butterfly8" in Frame 11onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 515; this._y = 260; }Frame 12stop(); 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 12onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 15; this._y = 105; }Frame 13stop(); 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 13onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 170; this._y = 360; }Frame 14stop(); 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 14onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 360; this._y = 35; }Frame 15stop(); 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 15onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 170; this._y = 35; }Frame 16stop(); 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 16onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 360; this._y = 360; }Frame 17stop(); 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 17onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 515; this._y = 125; }Frame 18stop(); 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 18onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 15; this._y = 255; }Frame 19stop(); 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 19onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 18; this._y = 40; }Frame 20stop(); 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 20onClipEvent (load) { _xscale = 1; _yscale = 1; this._visible = true; this._x = 515; this._y = 360; }Frame 32stop(); flower.swapDepths(9000); flower.removeMovieClip(); Mouse.show(); scoringtext.text = "your final score was: " + _root.score;Frame 33stop(); flower.swapDepths(9000); flower.removeMovieClip(); Mouse.show(); scoringtext.text = "your final score was: " + _root.score;Frame 34stop(); flower.swapDepths(9000); flower.removeMovieClip(); Mouse.show(); scoringtext.text = "your final score was: " + _root.score;Frame 35stop(); flower.swapDepths(9000); flower.removeMovieClip(); Mouse.show(); scoringtext.text = "your final score was: " + _root.score;Frame 36stop(); flower.swapDepths(9000); flower.removeMovieClip(); Mouse.show();Symbol 56 Buttonon (release) { getURL ("http://www.newgrounds.com", "_blank"); }Symbol 58 MovieClip Frame 40stop();Symbol 84 Buttonon (release) { _root.play(); }Symbol 85 MovieClip Frame 1function 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 Buttonon (release) { gotoAndStop ("level1"); }Symbol 94 Buttonon (release) { gotoAndStop ("credits"); }Symbol 119 Buttonon (release) { gotoAndStop ("start"); }Symbol 129 Buttonon (release) { gotoAndStop ("start"); }
Library Items
Symbol 1 Graphic | Used by:2 | |
Symbol 2 MovieClip [flower] | Uses:1 | |
Symbol 3 Graphic | Used by:Timeline | |
Symbol 4 Graphic | Used by:5 | |
Symbol 5 MovieClip | Uses:4 | Used by:Timeline |
Symbol 6 Graphic | Used by:9 | |
Symbol 7 MovieClip | Used by:8 99 113 | |
Symbol 8 MovieClip | Uses:7 | Used by:9 104 106 108 110 |
Symbol 9 MovieClip | Uses:6 8 | Used by:10 Timeline |
Symbol 10 MovieClip | Uses:9 | Used by:11 |
Symbol 11 MovieClip | Uses:10 | Used by:Timeline |
Symbol 12 Graphic | Used by:85 | |
Symbol 13 Graphic | Used by:85 | |
Symbol 14 Graphic | Used by:15 | |
Symbol 15 MovieClip | Uses:14 | Used by:85 |
Symbol 16 Graphic | Used by:18 | |
Symbol 17 Graphic | Used by:18 | |
Symbol 18 MovieClip | Uses:16 17 | Used by:85 |
Symbol 19 Graphic | Used by:85 | |
Symbol 20 Graphic | Used by:85 | |
Symbol 21 Graphic | Used by:85 | |
Symbol 22 Graphic | Used by:29 58 | |
Symbol 23 Graphic | Used by:29 58 | |
Symbol 24 Graphic | Used by:29 58 | |
Symbol 25 Graphic | Used by:29 58 | |
Symbol 26 Graphic | Used by:29 58 | |
Symbol 27 Graphic | Used by:29 58 | |
Symbol 28 Graphic | Used by:29 58 | |
Symbol 29 MovieClip | Uses:22 23 24 25 26 27 28 | Used by:85 |
Symbol 30 Graphic | Used by:85 | |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip | Uses:31 | Used by:85 |
Symbol 33 Graphic | Used by:34 | |
Symbol 34 MovieClip | Uses:33 | Used by:85 |
Symbol 35 Graphic | Used by:39 | |
Symbol 36 Graphic | Used by:39 | |
Symbol 37 Graphic | Used by:38 | |
Symbol 38 MovieClip | Uses:37 | Used by:39 42 |
Symbol 39 MovieClip | Uses:35 36 38 | Used by:53 |
Symbol 40 Graphic | Used by:42 | |
Symbol 41 Graphic | Used by:42 | |
Symbol 42 MovieClip | Uses:40 41 38 | Used by:53 |
Symbol 43 Graphic | Used by:46 | |
Symbol 44 Graphic | Used by:46 49 | |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 MovieClip | Uses:43 44 45 | Used by:50 |
Symbol 47 Graphic | Used by:49 | |
Symbol 48 Graphic | Used by:49 | |
Symbol 49 MovieClip | Uses:47 44 48 | Used by:50 |
Symbol 50 MovieClip | Uses:46 49 | Used by:53 |
Symbol 51 Graphic | Used by:52 | |
Symbol 52 MovieClip | Uses:51 | Used by:53 |
Symbol 53 MovieClip | Uses:39 42 50 52 | Used by:85 |
Symbol 54 Graphic | Used by:85 | |
Symbol 55 Graphic | Used by:56 | |
Symbol 56 Button | Uses:55 | Used by:85 |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 MovieClip | Uses:22 23 24 25 26 27 28 57 | Used by:85 |
Symbol 59 Graphic | Used by:85 | |
Symbol 60 Graphic | Used by:85 | |
Symbol 61 Graphic | Used by:85 | |
Symbol 62 Graphic | Used by:85 | |
Symbol 63 Graphic | Used by:85 | |
Symbol 64 Graphic | Used by:85 | |
Symbol 65 Graphic | Used by:85 | |
Symbol 66 Graphic | Used by:85 | |
Symbol 67 Graphic | Used by:85 | |
Symbol 68 Graphic | Used by:85 | |
Symbol 69 Graphic | Used by:85 | |
Symbol 70 Graphic | Used by:85 | |
Symbol 71 ShapeTweening | Used by:85 | |
Symbol 72 Graphic | Used by:85 | |
Symbol 73 ShapeTweening | Used by:85 | |
Symbol 74 ShapeTweening | Used by:85 | |
Symbol 75 Graphic | Used by:85 | |
Symbol 76 Graphic | Used by:84 | |
Symbol 77 Graphic | Used by:84 | |
Symbol 78 Graphic | Used by:84 | |
Symbol 79 Graphic | Used by:84 | |
Symbol 80 Graphic | Used by:84 | |
Symbol 81 Graphic | Used by:83 | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip | Uses:81 82 | Used by:84 |
Symbol 84 Button | Uses:76 77 78 79 80 83 | Used by:85 |
Symbol 85 MovieClip | Uses:12 13 15 18 19 20 21 29 30 32 34 53 54 56 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 84 | Used by:Timeline |
Symbol 86 Font | Used by:88 90 93 118 128 | |
Symbol 87 Font | Used by:88 97 115 116 120 121 122 123 124 125 126 130 | |
Symbol 88 Text | Uses:86 87 | Used by:Timeline |
Symbol 89 Graphic | Used by:91 | |
Symbol 90 Text | Uses:86 | Used by:91 |
Symbol 91 Button | Uses:89 90 | Used by:Timeline |
Symbol 92 Graphic | Used by:94 | |
Symbol 93 Text | Uses:86 | Used by:94 |
Symbol 94 Button | Uses:92 93 | Used by:Timeline |
Symbol 95 Sound | Used by:Timeline | |
Symbol 96 Graphic | Used by:Timeline | |
Symbol 97 EditableText | Uses:87 | Used by:Timeline |
Symbol 98 Graphic | Used by:100 | |
Symbol 99 MovieClip | Uses:7 | Used by:100 |
Symbol 100 MovieClip | Uses:98 99 | Used by:Timeline |
Symbol 101 Graphic | Used by:102 | |
Symbol 102 MovieClip | Uses:101 | Used by:Timeline |
Symbol 103 Graphic | Used by:104 | |
Symbol 104 MovieClip | Uses:103 8 | Used by:Timeline |
Symbol 105 Graphic | Used by:106 | |
Symbol 106 MovieClip | Uses:105 8 | Used by:Timeline |
Symbol 107 Graphic | Used by:108 | |
Symbol 108 MovieClip | Uses:107 8 | Used by:Timeline |
Symbol 109 Graphic | Used by:110 | |
Symbol 110 MovieClip | Uses:109 8 | Used by:Timeline |
Symbol 111 Graphic | Used by:112 | |
Symbol 112 MovieClip | Uses:111 | Used by:114 |
Symbol 113 MovieClip | Uses:7 | Used by:114 |
Symbol 114 MovieClip | Uses:112 113 | Used by:Timeline |
Symbol 115 EditableText | Uses:87 | Used by:Timeline |
Symbol 116 Text | Uses:87 | Used by:Timeline |
Symbol 117 Graphic | Used by:119 | |
Symbol 118 Text | Uses:86 | Used by:119 |
Symbol 119 Button | Uses:117 118 | Used by:Timeline |
Symbol 120 EditableText | Uses:87 | Used by:Timeline |
Symbol 121 Text | Uses:87 | Used by:Timeline |
Symbol 122 EditableText | Uses:87 | Used by:Timeline |
Symbol 123 Text | Uses:87 | Used by:Timeline |
Symbol 124 EditableText | Uses:87 | Used by:Timeline |
Symbol 125 Text | Uses:87 | Used by:Timeline |
Symbol 126 Text | Uses:87 | Used by:Timeline |
Symbol 127 Graphic | Used by:129 | |
Symbol 128 Text | Uses:86 | Used by:129 |
Symbol 129 Button | Uses:127 128 | Used by:Timeline |
Symbol 130 Text | Uses:87 | Used by:Timeline |
Instance Names
"scoretext" | Frame 3 | Symbol 97 EditableText |
"butterfly" | Frame 3 | Symbol 9 MovieClip |
"web" | Frame 3 | Symbol 100 MovieClip |
"web2" | Frame 3 | Symbol 100 MovieClip |
"web3" | Frame 3 | Symbol 100 MovieClip |
"web4" | Frame 3 | Symbol 100 MovieClip |
"butterfly" | Frame 4 | Symbol 9 MovieClip |
"web" | Frame 4 | Symbol 100 MovieClip |
"butterfly1" | Frame 4 | Symbol 9 MovieClip |
"butterfly" | Frame 5 | Symbol 9 MovieClip |
"butterfly1" | Frame 5 | Symbol 9 MovieClip |
"butterfly2" | Frame 5 | Symbol 9 MovieClip |
"butterfly" | Frame 6 | Symbol 9 MovieClip |
"butterfly3" | Frame 6 | Symbol 9 MovieClip |
"butterfly2" | Frame 6 | Symbol 9 MovieClip |
"butterfly1" | Frame 6 | Symbol 9 MovieClip |
"butterfly2" | Frame 7 | Symbol 9 MovieClip |
"butterfly4" | Frame 7 | Symbol 9 MovieClip |
"butterfly5" | Frame 8 | Symbol 9 MovieClip |
"butterfly6" | Frame 9 | Symbol 9 MovieClip |
"butterfly7" | Frame 10 | Symbol 9 MovieClip |
"web" | Frame 11 | Symbol 100 MovieClip |
"web2" | Frame 11 | Symbol 100 MovieClip |
"butterfly8" | Frame 11 | Symbol 104 MovieClip |
"butterfly9" | Frame 12 | Symbol 104 MovieClip |
"butterfly10" | Frame 13 | Symbol 104 MovieClip |
"butterfly11" | Frame 14 | Symbol 104 MovieClip |
"butterfly12" | Frame 15 | Symbol 104 MovieClip |
"butterfly13" | Frame 16 | Symbol 104 MovieClip |
"spider" | Frame 17 | Symbol 114 MovieClip |
"butterfly14" | Frame 17 | Symbol 110 MovieClip |
"butterfly15" | Frame 18 | Symbol 110 MovieClip |
"butterfly16" | Frame 19 | Symbol 110 MovieClip |
"butterfly17" | Frame 20 | Symbol 110 MovieClip |
"scoringtext" | Frame 32 | Symbol 115 EditableText |
"scoringtext" | Frame 33 | Symbol 120 EditableText |
"scoringtext" | Frame 34 | Symbol 122 EditableText |
"scoringtext" | Frame 35 | Symbol 124 EditableText |
"perimeter" | Symbol 9 MovieClip Frame 1 | Symbol 8 MovieClip |
"bar" | Symbol 85 MovieClip Frame 1 | Symbol 15 MovieClip |
"bargfx" | Symbol 85 MovieClip Frame 1 | Symbol 18 MovieClip |
"tank" | Symbol 85 MovieClip Frame 1 | Symbol 32 MovieClip |
"bargfx" | Symbol 85 MovieClip Frame 2 | Symbol 18 MovieClip |
"bargfx" | Symbol 85 MovieClip Frame 20 | Symbol 18 MovieClip |
"perimeter" | Symbol 100 MovieClip Frame 1 | Symbol 99 MovieClip |
"perimeter" | Symbol 104 MovieClip Frame 1 | Symbol 8 MovieClip |
"perimeter" | Symbol 106 MovieClip Frame 1 | Symbol 8 MovieClip |
"perimeter" | Symbol 108 MovieClip Frame 1 | Symbol 8 MovieClip |
"perimeter" | Symbol 110 MovieClip Frame 1 | Symbol 8 MovieClip |
"perimeter" | Symbol 114 MovieClip Frame 1 | Symbol 113 MovieClip |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS1/AS2. |
ExportAssets (56) | Timeline Frame 1 | Symbol 2 as "flower" |
Labels
"start" | Frame 2 |
"level1" | Frame 3 |
"gameoverbut" | Frame 32 |
"gameoverweb" | Frame 33 |
"gameoverspider" | Frame 34 |
"win" | Frame 35 |
"credits" | Frame 36 |
"LOAD" | Symbol 85 MovieClip Frame 1 |
"COMPLETE_STOP" | Symbol 85 MovieClip Frame 2 |
|