STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
228050
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2560 · P5120

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/30239101?noj=FRM30239101-25DC" width="1" height="1"></div>

Dude, you came in my Coke!.swf

This is the info page for
Flash #141114

(Click the ID number above for more basic data on this flash file.)


ActionScript [AS1/AS2]
Frame 1
i = 0; W = 0;
Instance of Symbol 7 MovieClip "RANDOM_SPECK" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 15 MovieClip "LIGHT" in Frame 1
onClipEvent (mouseDown) { this.startDrag(); dragging = 1; } onClipEvent (mouseUp) { this.stopDrag(); dragging = 0; } onClipEvent (load) { run = 0; rise = 0; n = 0; speed = 0.03; multip = 1; hypot = 3; angle = 45; vertswitch = 1; horiswitch = 1; maxHeight = 600; maxWidth = 800; dragging = 0; } onClipEvent (enterFrame) { if (dragging == 0) { n = n + speed; wave = Math.sin(n) * multip; rise = (Math.sin(angle) * hypot) * vertswitch; run = (Math.cos(angle) * hypot) * horiswitch; _x = (_x + (run * wave)); _y = (_y + (rise * wave)); if (n > 3) { n = 0; angle = random(88) + 1; quad = random(4); if (quad == 0) { horiswitch = 1; vertswitch = 1; } if (quad == 1) { horiswitch = -1; vertswitch = 1; } if (quad == 2) { horiswitch = 1; vertswitch = -1; } if (quad == 3) { horiswitch = -1; vertswitch = -1; } } if (_y < 0) { vertswitch = vertswitch * -1; _y = (_y + (rise * -1)); } if (_x < 0) { horiswitch = horiswitch * -1; _x = (_x + (run * -1)); } if (_y > maxHeight) { vertswitch = vertswitch * -1; _y = (_y + (rise * -1)); } if (_x > maxWidth) { horiswitch = horiswitch * -1; _x = (_x + (run * -1)); } } }
Instance of Symbol 22 MovieClip "BUBBLE8" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK3" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK5" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK7" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK9" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK11" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK13" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK15" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK17 " in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK16" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK14" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK12" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK10" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK8" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK6" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK4" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK2" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK18 " in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK19" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 7 MovieClip "RANDOM_SPECK20" in Frame 1
onClipEvent (load) { speed = 0.4; tick = 1; masterAngle = random(358) + 1.5; setProperty(this, _rotation , 360 - masterAngle); hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { changeDirection = random(80); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } setProperty(this, _rotation , 360 - masterAngle); rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE9" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE5" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE11" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE10" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE12" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE6" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE3" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE2" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE1" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE7" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE4" in Frame 1
onClipEvent (load) { speed = 0.8; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE13" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE24" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE23" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE20" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE21" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE14" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE15" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE17" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE18" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE19" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE16" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE22" in Frame 1
onClipEvent (load) { speed = 1; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE26" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE27" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE28" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE29" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE30" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE31" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE32" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE33" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE34" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE35" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE36 " in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE37" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE38" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE39 " in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE40" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE41" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE42" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE43" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }
Instance of Symbol 22 MovieClip "BUBBLE44" in Frame 1
onClipEvent (load) { speed = 0.6; tick = 1; masterAngle = random(358) + 1.5; hypot = 2; rise = 0; run = 0; vertswitch = -1; horiswitch = 1; clockwise = 1; changeDirection = 0; maxHeight = 600; maxWidth = 800; lightReach = maxWidth / 2; } onClipEvent (enterFrame) { if (masterAngle < 80) { masterAngle = 80; clockwise = clockwise * -1; } if (masterAngle > 100) { masterAngle = 100; clockwise = clockwise * -1; } changeDirection = random(20); if (changeDirection == 0) { clockwise = clockwise * -1; } if (clockwise == 1) { masterAngle = masterAngle - tick; } if (clockwise == -1) { masterAngle = masterAngle + tick; } if (masterAngle > 360) { masterAngle = masterAngle - 360; } if (masterAngle < 0) { masterAngle = masterAngle + 360; } if ((masterAngle > 0) && (masterAngle < 90)) { angle = masterAngle; horiswitch = 1; vertswitch = -1; } if ((masterAngle > 90) && (masterAngle < 180)) { angle = masterAngle - 90; angle = 90 - angle; horiswitch = -1; vertswitch = -1; } if ((masterAngle > 180) && (masterAngle < 270)) { angle = masterAngle - 180; horiswitch = -1; vertswitch = 1; } if ((masterAngle > 270) && (masterAngle < 360)) { angle = masterAngle - 270; angle = 90 - angle; horiswitch = 1; vertswitch = 1; } rise = (Math.sin((angle * Math.PI) / 180) * hypot) * vertswitch; run = (Math.cos((angle * Math.PI) / 180) * hypot) * horiswitch; _x = (_x + (run * speed)); _y = (_y + (rise * speed)); spreadX = Math.abs(_root.LIGHT._x - _x); spreadY = Math.abs(_root.LIGHT._y - _y); angleToLight = Math.atan(spreadY / spreadX); angle = angleToLight / (Math.PI/180); if ((_root.LIGHT._x > _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , -angle); } if ((_root.LIGHT._x > _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y < _y)) { setProperty(this, _rotation , 180 + angle); } if ((_root.LIGHT._x < _x) && (_root.LIGHT._y > _y)) { setProperty(this, _rotation , 180 - angle); } spreadH = Math.abs(Math.sqrt((spreadX * spreadX) + (spreadY * spreadY))); if (spreadH > lightReach) { setProperty(this, _alpha , 0); } if (spreadH < lightReach) { setProperty(this, _alpha , 100 - ((spreadH / lightReach) * 100)); } if (_x < 0) { _x = maxWidth; } if (_x > maxWidth) { _x = 0; } if (_y < 0) { _y = maxHeight; } if (_y > maxHeight) { _y = 0; } }

Library Items

Symbol 1 GraphicUsed by:4
Symbol 2 ShapeTweeningUsed by:4
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:1 2 3Used by:6
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:4 5Used by:7
Symbol 7 MovieClipUses:6Used by:Timeline
Symbol 8 ShapeTweeningUsed by:14
Symbol 9 GraphicUsed by:14
Symbol 10 ShapeTweeningUsed by:14
Symbol 11 ShapeTweeningUsed by:14
Symbol 12 GraphicUsed by:14
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:8 9 10 11 12 13Used by:15
Symbol 15 MovieClipUses:14Used by:Timeline
Symbol 16 GraphicUsed by:21
Symbol 17 GraphicUsed by:21
Symbol 18 GraphicUsed by:21
Symbol 19 GraphicUsed by:21
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:16 17 18 19 20Used by:22
Symbol 22 MovieClipUses:21Used by:Timeline
Symbol 23 SoundUsed by:Timeline

Instance Names

"RANDOM_SPECK"Frame 1Symbol 7 MovieClip
"LIGHT"Frame 1Symbol 15 MovieClip
"BUBBLE8"Frame 1Symbol 22 MovieClip
"RANDOM_SPECK3"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK5"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK7"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK9"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK11"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK13"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK15"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK17 "Frame 1Symbol 7 MovieClip
"RANDOM_SPECK16"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK14"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK12"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK10"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK8"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK6"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK4"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK2"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK18 "Frame 1Symbol 7 MovieClip
"RANDOM_SPECK19"Frame 1Symbol 7 MovieClip
"RANDOM_SPECK20"Frame 1Symbol 7 MovieClip
"BUBBLE9"Frame 1Symbol 22 MovieClip
"BUBBLE5"Frame 1Symbol 22 MovieClip
"BUBBLE11"Frame 1Symbol 22 MovieClip
"BUBBLE10"Frame 1Symbol 22 MovieClip
"BUBBLE12"Frame 1Symbol 22 MovieClip
"BUBBLE6"Frame 1Symbol 22 MovieClip
"BUBBLE3"Frame 1Symbol 22 MovieClip
"BUBBLE2"Frame 1Symbol 22 MovieClip
"BUBBLE1"Frame 1Symbol 22 MovieClip
"BUBBLE7"Frame 1Symbol 22 MovieClip
"BUBBLE4"Frame 1Symbol 22 MovieClip
"BUBBLE13"Frame 1Symbol 22 MovieClip
"BUBBLE24"Frame 1Symbol 22 MovieClip
"BUBBLE23"Frame 1Symbol 22 MovieClip
"BUBBLE20"Frame 1Symbol 22 MovieClip
"BUBBLE21"Frame 1Symbol 22 MovieClip
"BUBBLE14"Frame 1Symbol 22 MovieClip
"BUBBLE15"Frame 1Symbol 22 MovieClip
"BUBBLE17"Frame 1Symbol 22 MovieClip
"BUBBLE18"Frame 1Symbol 22 MovieClip
"BUBBLE19"Frame 1Symbol 22 MovieClip
"BUBBLE16"Frame 1Symbol 22 MovieClip
"BUBBLE22"Frame 1Symbol 22 MovieClip
"BUBBLE26"Frame 1Symbol 22 MovieClip
"BUBBLE27"Frame 1Symbol 22 MovieClip
"BUBBLE28"Frame 1Symbol 22 MovieClip
"BUBBLE29"Frame 1Symbol 22 MovieClip
"BUBBLE30"Frame 1Symbol 22 MovieClip
"BUBBLE31"Frame 1Symbol 22 MovieClip
"BUBBLE32"Frame 1Symbol 22 MovieClip
"BUBBLE33"Frame 1Symbol 22 MovieClip
"BUBBLE34"Frame 1Symbol 22 MovieClip
"BUBBLE35"Frame 1Symbol 22 MovieClip
"BUBBLE36 "Frame 1Symbol 22 MovieClip
"BUBBLE37"Frame 1Symbol 22 MovieClip
"BUBBLE38"Frame 1Symbol 22 MovieClip
"BUBBLE39 "Frame 1Symbol 22 MovieClip
"BUBBLE40"Frame 1Symbol 22 MovieClip
"BUBBLE41"Frame 1Symbol 22 MovieClip
"BUBBLE42"Frame 1Symbol 22 MovieClip
"BUBBLE43"Frame 1Symbol 22 MovieClip
"BUBBLE44"Frame 1Symbol 22 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.




http://swfchan.com/29/141114/info.shtml
Created: 27/10 -2018 21:04:05 Last modified: 27/10 -2018 21:04:05 Server time: 25/04 -2024 07:39:38