Symbol 13 MovieClip [KillBib] Frame 1
#initclip 14
Object.registerClass("KillBib", KillBib);
#endinitclip
Symbol 24 MovieClip [KillGrib] Frame 1
#initclip 7
Object.registerClass("KillGrib", KillGrib);
#endinitclip
Symbol 26 MovieClip [Radius] Frame 1
#initclip 8
Object.registerClass("Radius", Radius);
#endinitclip
Symbol 33 MovieClip [RostGrib] Frame 1
#initclip 9
Object.registerClass("RostGrib", RostGrib);
#endinitclip
Symbol 35 MovieClip [Grib] Frame 1
#initclip 10
Object.registerClass("Grib", Grib);
#endinitclip
Symbol 39 MovieClip [Bib3] Frame 1
#initclip 11
Object.registerClass("Bib3", BibMovie);
#endinitclip
Symbol 43 MovieClip [Bib2] Frame 1
#initclip 12
Object.registerClass("Bib2", BibMovie);
#endinitclip
Symbol 47 MovieClip [Bib] Frame 1
#initclip 13
Object.registerClass("Bib", BibMovie);
#endinitclip
Symbol 49 MovieClip [__Packages.KillGrib] Frame 0
class KillGrib extends MovieClip
{
var _x, _y, _totalframes, _currentframe, getDepth, swapDepths, unloadMovie, removeMovieClip;
function KillGrib () {
super();
}
function onLoad() {
var _local3 = _root.attachMovie("Radius", "Radius", 1);
_local3._x = _x;
_local3._y = _y;
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
var _local3 = getDepth();
_local3 = _local3 + 500;
swapDepths(_local3);
var _local4 = _root.attachMovie("RostGrib", "RostGrib" + (_local3 - 500), _local3 - 500);
_local4._x = _x;
_local4._y = _y;
unloadMovie();
removeMovieClip();
}
}
}
Symbol 50 MovieClip [__Packages.Radius] Frame 0
class Radius extends MovieClip
{
var _totalframes, _currentframe, unloadMovie, removeMovieClip;
function Radius () {
super();
}
function onLoad() {
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
unloadMovie();
removeMovieClip();
}
}
}
Symbol 51 MovieClip [__Packages.RostGrib] Frame 0
class RostGrib extends MovieClip
{
var dirRost, _rotation, _totalframes, _currentframe, getDepth, swapDepths, _x, _y, unloadMovie, removeMovieClip;
function RostGrib () {
super();
}
function onLoad() {
dirRost = Math.abs(Math.random() * 10);
_rotation = dirRost * 45;
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
var _local3 = getDepth();
_local3 = _local3 + 500;
swapDepths(_local3);
var _local4 = _root.attachMovie("Grib", "Grib" + (_local3 - 500), _local3 - 500);
_local4._x = _x;
_local4._y = _y;
unloadMovie();
removeMovieClip();
}
}
}
Symbol 52 MovieClip [__Packages.Grib] Frame 0
class Grib extends MovieClip
{
var startDepth, getDepth, swapDepths, dirGrib, _rotation, onRollOver, hitTest, _x, _y, unloadMovie, removeMovieClip;
function Grib () {
super();
}
function onLoad() {
startDepth = getDepth();
swapDepths(startDepth + 1000);
dirGrib = Math.abs(Math.random() * 10);
_rotation = dirGrib * 45;
}
function onEnterFrame() {
onRollOver = function () {
this.explode();
};
if (hitTest(_root.Radius)) {
explode();
}
}
function explode() {
var _local3 = getDepth();
_local3 = _local3 - 999;
swapDepths(_local3);
var _local4 = _root.attachMovie("KillGrib", "KillGrib" + (_local3 + 999), _local3 + 999);
_local4._x = _x;
_local4._y = _y;
unloadMovie();
removeMovieClip();
}
}
Symbol 53 MovieClip [__Packages.BibMovie] Frame 0
class BibMovie extends MovieClip
{
var startDepth, getDepth, swapDepths, path, speed, speed_r, side, direct, _rotation, _y, _x, onPress;
function BibMovie () {
super();
}
function onLoad() {
startDepth = getDepth();
swapDepths(startDepth + 1000);
path = 0;
speed = 5;
speed_r = 3;
}
function onEnterFrame() {
if (path < 1) {
side = Math.round(Math.random() * 10);
switch (side) {
case 1 :
direct = 1;
break;
case 2 :
direct = 2;
break;
case 3 :
direct = 3;
break;
case 4 :
direct = 4;
break;
case 5 :
direct = 5;
break;
case 6 :
direct = 6;
break;
case 7 :
direct = 7;
break;
case 8 :
direct = 8;
}
path = Math.random() * 30;
}
switch (direct) {
case 1 :
_rotation = 0;
_y = _y - speed;
break;
case 2 :
_rotation = 45;
_y = _y - speed_r;
_x = _x + speed_r;
break;
case 3 :
_rotation = 90;
_x = _x + speed;
break;
case 4 :
_rotation = 135;
_x = _x + speed_r;
_y = _y + speed_r;
break;
case 5 :
_rotation = 180;
_y = _y + speed;
break;
case 6 :
_rotation = 225;
_y = _y + speed_r;
_x = _x - speed_r;
break;
case 7 :
_rotation = 270;
_x = _x - speed;
break;
case 8 :
_rotation = 315;
_x = _x - speed_r;
_y = _y - speed_r;
}
path = path - 1;
if (_x < -10) {
_x = 550;
}
if (_x > 560) {
_x = 0;
}
if (_y < -10) {
_y = 400;
}
if (_y > 410) {
_y = 0;
}
onPress = function () {
this.explode();
};
}
function explode() {
var _local3 = getDepth();
_local3 = _local3 - 999;
var _local4 = _root.attachMovie("KillBib", "KillBib" + _local3, _local3);
_local4._x = _x;
_local4._y = _y;
_local4.swapDepths(_local3);
_x = 559;
_y = 409;
}
}
Symbol 54 MovieClip [__Packages.KillBib] Frame 0
class KillBib extends MovieClip
{
var dir, _rotation, _totalframes, _currentframe, stop;
function KillBib () {
super();
}
function onLoad() {
dir = Math.abs(Math.random() * 10);
_rotation = dir * 45;
}
function onEnterFrame() {
if (_currentframe == _totalframes) {
stop();
}
}
}