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

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

Pirate Bubbles.swf

This is the info page for
Flash #113990

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


Text
www.bubblesniper.com

The most addicting online bubble games!

Loading please wait...

ActionScript [AS1/AS2]

Frame 1
function rightclick() { getURL (_root.gm_url(_root.urlwznum), "_blank"); } function gm_url(wznum) { if (wznum == undefined) { wznum = 2; } var _local2 = new LocalConnection(); var _local3 = _local2.domain(); var _local4 = "priates-bubbles"; str = ((("http://www.bubblesniper.com/?utm_source=" + _local3) + "&utm_medium=ourgames&utm_campaign=") + _local4) + "&utm_content="; if (wznum == 1) { str = str + "intro"; } if (wznum == 2) { str = str + "pregame"; } if (wznum == 3) { str = str + "gplay"; } return(str); } stop(); var fmm01_menu = new ContextMenu(); fmm01_menu.hideBuiltInItems(); _root.menu = fmm01_menu; var item = new ContextMenuItem("www.bubblesniper.com", rightclick); fmm01_menu.customItems[0] = item; _root.urlwznum = 1;
Frame 2
function initArray(W, sel) { myMap = new Array(); i = 0; while (i < _root.maxH) { myMap[i] = []; myMap[i][0] = i % 2; j = 1; while (j <= _root.maxW) { if (i < W) { myMap[i][j] = selArr[createRandom(sel)]; } else { myMap[i][j] = 0; } j++; } i++; } } function createRandom(sel) { var _local1; _local1 = random(sel) + 1; return(_local1); } function initTie(a) { var _local3 = 0; while (_local3 < a) { var _local2 = 1; while (_local2 <= _root.maxW) { if (myMap[_local3][_local2] != 0) { tx = (tileW * _local2) - ((tileW * myMap[_local3][0]) / 2); ty = ((tileW * (_local3 + 1)) - (tileW / 2)) - (4 * _local3); DuplicateTile(tx, ty, _local3, _local2); } _local2++; } _local3++; } } function DuplicateTile(tX, tY, a, b) { var _local4 = _root.nowpath.getNextHighestDepth(); myTile = _root.nowpath.attachMovie("tile", (("myTile" + a) + "_") + b, _local4); myTile.pao_mc.gotoAndStop(myMap[a][b]); myTile.n = myMap[a][b]; myTile.hID = a; myTile.wID = b; myTile._x = tX; myTile._y = tY; myTile.mydhx = tX; myTile.mydhy = tY; } function addpao(a, b, n, gx, gy) { _root.myMap[a][b] = n; tx = (tileW * b) - ((tileW * myMap[a][0]) / 2); ty = ((tileW * (a + 1)) - (tileW / 2)) - (4 * a); DuplicateTile(tx, ty, a, b); paodh_fun(a, b, gx, gy); creattmparr(myMap.length); _root.checkcount = 0; _root.dzpaoarr = new Array(); OneCheck(a, b, n); if (_root.checkcount >= 3) { i = 0; while (i < _root.dzpaoarr.length) { _root.myMap[_root.dzpaoarr[i]][_root.dzpaoarr[i + 1]] = 0; i = i + 2; } allCheck(true); } else { allCheck(false); } } function paodh_fun(a, b, gx, gy) { _root.nowpath[(("myTile" + a) + "_") + b].paodh_mcfun(gx, gy, 3); _root.nowpath[(("myTile" + a) + "_") + (b - 1)].paodh_mcfun(gx, gy, 4); _root.nowpath[(("myTile" + a) + "_") + (b + 1)].paodh_mcfun(gx, gy, 4); _root.nowpath[(("myTile" + (a - 1)) + "_") + b].paodh_mcfun(gx, gy, 4); _root.nowpath[(("myTile" + (a - 2)) + "_") + b].paodh_mcfun(gx, gy, 5); _root.nowpath[(("myTile" + (a - 1)) + "_") + (b + 1)].paodh_mcfun(gx, gy, 4); _root.nowpath[(("myTile" + (a - 1)) + "_") + (b - 1)].paodh_mcfun(gx, gy, 4); } function creattmparr(W) { _root.tmparr = new Array(); i = 0; while (i < W) { tmparr[i] = []; tmparr[i][0] = myMap[i][0]; j = 1; while (j <= _root.maxW) { tmparr[i][j] = 0; j++; } i++; } } function OneCheck(a, b, n) { if ((a >= 0) && (b > 0)) { if (tmparr[a][b] == 0) { if (myMap[a][b] == n) { tmparr[a][b] = 1; _root.dzpaoarr.push(a); _root.dzpaoarr.push(b); _root.checkcount++; if (tmparr[a][0] == 1) { OneCheck(a - 1, b - 1, n); OneCheck(a - 1, b, n); OneCheck(a + 1, b - 1, n); OneCheck(a + 1, b, n); } else { OneCheck(a - 1, b, n); OneCheck(a - 1, b + 1, n); OneCheck(a + 1, b, n); OneCheck(a + 1, b + 1, n); } OneCheck(a, b - 1, n); OneCheck(a, b + 1, n); } } } } function allCheck(iscreat) { creattmparr(myMap.length); _root.maxline = 0; i = 1; while (i <= _root.maxW) { if (myMap[0][i] != 0) { Check(0, i); } i++; } if (_root.maxline >= 13) { trace("full-gamegover"); _root.tck_mc.gotoAndStop(2); delete _root.paotong_mc.onEnterFrame; _root.chick = false; } else { if (iscreat) { clearnop(); cleardzpao(); } else { _root.chick = true; } _root.popfly_mc.creatpop(); } } function Check(a, b) { if ((a >= 0) && (b > 0)) { if (tmparr[a][b] == 0) { if (myMap[a][b] != 0) { if (_root.maxline < a) { _root.maxline = a; } tmparr[a][b] = 1; if (tmparr[a][0] == 1) { Check(a - 1, b - 1); Check(a - 1, b); Check(a + 1, b - 1); Check(a + 1, b); } else { Check(a - 1, b); Check(a - 1, b + 1); Check(a + 1, b); Check(a + 1, b + 1); } Check(a, b - 1); Check(a, b + 1); } else { tmparr[a][b] = -1; } } } } function cleardzpao() { mywaittime = 0; while (_root.dzpaoarr.length > 0) { ispaobao = true; b = _root.dzpaoarr.pop(); a = _root.dzpaoarr.pop(); mywaittime++; _root.nowpath[(("myTile" + a) + "_") + b].waittime = mywaittime * 4; if (_root.dzpaoarr.length == 0) { _root.nowpath[(("myTile" + a) + "_") + b].endpao = true; } else { _root.nowpath[(("myTile" + a) + "_") + b].endpao = false; } if (mywaittime <= 9) { _root.nowpath[(("myTile" + a) + "_") + b].scnum = mywaittime; _root.score = _root.score + _root.myscore_arr[mywaittime]; } else { _root.nowpath[(("myTile" + a) + "_") + b].scnum = 9; _root.score = _root.score + _root.myscore_arr[9]; } _root.nowpath[(("myTile" + a) + "_") + b].onEnterFrame = function () { if (this.waittime > 0) { this.waittime--; if (this.waittime == 3) { _root.nowpath.attachMovie("score_dh", (("score_dh" + this.hID) + "_") + this.wID, _root.nowpath.getNextHighestDepth()); _root.nowpath[(("score_dh" + this.hID) + "_") + this.wID]._x = this._x; _root.nowpath[(("score_dh" + this.hID) + "_") + this.wID]._y = this._y; _root.nowpath[(("score_dh" + this.hID) + "_") + this.wID].gotoAndStop(this.scnum); } } else if (this._alpha > 0) { this._xscale = this._xscale - 3; this._yscale = this._yscale - 3; this._alpha = this._alpha - 3; _root.nowpath[(("score_dh" + this.hID) + "_") + this.wID]._y--; } else { if (this.endpao) { _root.chick = true; if (_root.isaddnewline) { _root.isaddnewline = false; _root.moveArray(); } } delete this.onEnterFrame; _root.nowpath[(("score_dh" + this.hID) + "_") + this.wID].removeMovieClip(); this.removeMovieClip(); } }; } _root.zhi_sound.start(); } function clearnop() { i = 0; while (i < _root.maxH) { j = 1; while (j <= _root.maxW) { if (tmparr[i][j] == 0) { if (myMap[i][j] != 0) { _root.dzpaoarr.push(i); _root.dzpaoarr.push(j); myMap[i][j] = 0; } } j++; } i++; } } function moveArray() { this.waittimer = 30; this.onEnterFrame = function () { if (this.waittimer > 0) { this.waittimer--; } else { delete this.onEnterFrame; i = _root.maxH; while (i > 0) { myMap[i] = myMap[i - 1]; i--; } myMap[0] = new Array(); myMap[0][0] = (myMap[1][0] + 1) % 2; j = 1; while (j <= _root.maxW) { myMap[0][j] = selArr[createRandom(selArr[0])]; j++; } _root.maingame_mc.newclip_mc.removeMovieClip(); _root.maingame_mc.createEmptyMovieClip("newclip_mc", 10); _root.nowpath = _root.maingame_mc.newclip_mc; initTie(myMap.length); _root.nowpath.moveTie(); } }; } function myHitTest(mc1, mc2) { var _local3 = Math.sqrt(((mc1._x - mc2._x) * (mc1._x - mc2._x)) + ((mc1._y - mc2._y) * (mc1._y - mc2._y))); if (_local3 <= (((mc1._width + mc2._width) / 2) - 4)) { return(true); } return(false); } function HitRotation(mc1, mc2) { return((Math.atan2(mc1._y - mc2._y, mc1._x - mc2._x) / Math.PI) * 180); } stop(); _root.urlwznum = 2; _root.mgurl = "http://www.bubblesniper.com"; if (_root.bg_sound == undefined) { _root.bg_sound = new Sound(this); _root.bg_sound.attachSound("bg_sound"); _root.bg_sound.onSoundComplete = function () { this.start(); }; _root.bg_sound.start(); _root.dong_sound = new Sound(this); _root.dong_sound.attachSound("dong_sound"); _root.zhi_sound = new Sound(this); _root.zhi_sound.attachSound("zhi_sound"); _root.she_sound = new Sound(this); _root.she_sound.attachSound("she_sound"); } MovieClip.prototype.listnum = function (num) { if (num >= 0) { for (tmpn in this) { this[tmpn].gotoAndStop(1); } this.ws = 1; while (num > 0) { tmpa = num % 10; this["n" + this.ws].gotoAndStop(tmpa + 1); num = int(num / 10); this.ws++; } } else { for (tmpn in this) { this[tmpn].gotoAndStop(11); } } }; _root.isaddnewline = false; var tileW = 36; var myMap = []; var score = 0; var totalscore = 0; _root.maxH = 14; _root.maxW = 19; _root.myscore_arr = new Array(0, 10, 10, 10, 25, 50, 100, 250, 500, 1000); _root.nowlevel = 1; var selArr = new Array(6, 1, 2, 3, 4, 5, 6); _root.checkcount = 0; MovieClip.prototype.paodh_mcfun = function (gx, gy, bs) { new mx.transitions.Tween(this, "_x", mx.transitions.easing.Strong.easeOut, this.mydhx, this.mydhx + (gx / bs), bs * 6, false); this.tween_handler = new mx.transitions.Tween(this, "_y", mx.transitions.easing.Strong.easeOut, this.mydhy, this.mydhy + (gy / bs), bs * 6, false); this.tween_handler.mymc = this; this.tween_handler.bs = bs; this.tween_handler.onMotionFinished = function () { new mx.transitions.Tween(this.mymc, "_x", mx.transitions.easing.Strong.easeOut, this.mymc.mydhx + (gx / bs), this.mymc.mydhx, this.bs * 6, false); new mx.transitions.Tween(this.mymc, "_y", mx.transitions.easing.Strong.easeOut, this.mymc.mydhy + (gy / bs), this.mymc.mydhy, this.bs * 6, false); }; }; var tmparr = []; MovieClip.prototype.creatpop = function () { this.fp_mc.n = this.dp_mc.n; this.fp_mc.pao_mc.gotoAndStop(this.fp_mc.n); _root.paotong_mc.fp_mc.pao_mc.gotoAndStop(this.fp_mc.n); _root.paotong_mc.fp_mc._visible = true; this.dp_mc.n = _root.selArr[_root.createRandom(_root.selArr[0])]; this.dp_mc.pao_mc.gotoAndStop(this.dp_mc.n); _root.xyj_mc.play(); }; MovieClip.prototype.moveTie = function () { _root.chick = false; this.waittimer = 30; this.onEnterFrame = function () { if (this.waittimer > 0) { this.waittimer--; } else { _root.maingame_mc.newclip_mc.removeMovieClip(); _root.maingame_mc.createEmptyMovieClip("newclip_mc", 10); _root.nowpath = _root.maingame_mc.newclip_mc; initTie(myMap.length); _root.chick = true; } }; }; MovieClip.prototype.newpop = function () { this.fp_mc.n = _root.selArr[_root.createRandom(_root.selArr[0])]; this.fp_mc.pao_mc.gotoAndStop(this.fp_mc.n); _root.paotong_mc.fp_mc.pao_mc.gotoAndStop(this.fp_mc.n); _root.paotong_mc.fp_mc._visible = true; this.dp_mc.n = _root.selArr[_root.createRandom(_root.selArr[0])]; this.dp_mc.pao_mc.gotoAndStop(this.dp_mc.n); }; MovieClip.prototype.firepop = function () { _root.person_mc.gotoAndPlay(2); _root.she_sound.start(); _root.chick = false; this.fp_mc._visible = false; _root.paotong_mc.fp_mc._visible = false; _root.paotong_mc.dh_mc.play(); this.attachMovie("tile", "dan_mc", 10); this.dan_mc.n = this.fp_mc.n; this.dan_mc.pao_mc.gotoAndStop(this.dan_mc.n); this.dan_mc._x = this.fp_mc._x; this.dan_mc._y = this.fp_mc._y; this.dan_mc.dx = this._xmouse - this.dan_mc._x; this.dan_mc.dy = this._ymouse - this.dan_mc._y; this.dan_mc.dxy = Math.sqrt(Math.pow(this.dan_mc.dx, 2) + Math.pow(this.dan_mc.dy, 2)); this.dan_mc.onEnterFrame = function () { if ((((this._x < -100) || (this._x > 800)) || (this._y < 0)) || (this._y > 650)) { this.removeMovieClip(); } this._x = this._x + ((this.dx / this.dxy) * _root.shesu); this._y = this._y + ((this.dy / this.dxy) * _root.shesu); if (((this._x < (this._width / 2)) && (this.dx < 0)) || ((this._x > (700 - (this._width / 2))) && (this.dx > 0))) { this.dx = this.dx * -1; } if ((this._y < (this._height / 2)) && (this.dy < 0)) { a = 0; b = Math.round((this._x + ((_root.tileW * _root.myMap[0][0]) / 2)) / _root.tileW); _root.addpao(a, b, this.n, (this.dx / this.dxy) * _root.shesu, (this.dy / this.dxy) * _root.shesu); this._parent.fp_mc._visible = true; _root.dong_sound.start(); this.removeMovieClip(); delete this.onEnterFrame; return(undefined); } for (var _local3 in _root.maingame_mc.newclip_mc) { if (typeof(_root.maingame_mc.newclip_mc[_local3]) == "movieclip") { if (myHitTest(this, _root.maingame_mc.newclip_mc[_local3])) { tmprota = HitRotation(this, _root.maingame_mc.newclip_mc[_local3]); bb = (b = _root.maingame_mc.newclip_mc[_local3].wID); ba = (a = _root.maingame_mc.newclip_mc[_local3].hID); bn = _root.maingame_mc.newclip_mc[_local3].n; if ((tmprota <= 150) && (tmprota > 90)) { if (myMap[a][0] == 1) { b--; } a++; } else if ((tmprota <= 90) && (tmprota > 30)) { if (myMap[a][0] == 0) { b++; } a++; } else if (((tmprota > 150) && (tmprota <= 180)) || ((tmprota < -150) && (tmprota > -180))) { b--; } else if ((tmprota <= 30) && (tmprota > -30)) { b++; } else if ((tmprota >= -150) && (tmprota < -90)) { if (myMap[a][0] == 1) { b--; } a--; } else if ((tmprota >= -90) && (tmprota <= -30)) { if (myMap[a][0] == 0) { b++; } a--; } if (b > _root.maxW) { b--; trace(tmprota); } if (b < 1) { b++; trace(tmprota); } if (myMap[a][b] == 0) { _root.addpao(a, b, this.n, (this.dx / this.dxy) * _root.shesu, (this.dy / this.dxy) * _root.shesu); } else { continue; } this._parent.fp_mc._visible = true; _root.dong_sound.start(); this.removeMovieClip(); delete this.onEnterFrame; break; } } } }; };
Instance of Symbol 97 MovieClip "logo_mc" in Frame 2
on (release) { getURL (_root.gm_url(_root.urlwznum), "_blank"); }
Frame 3
_root.urlwznum = 3; _root.maingame_mc.createEmptyMovieClip("newclip_mc", 10); _root.nowpath = _root.maingame_mc.newclip_mc; var score = 0; var bonus = 0; initArray(6, selArr[0]); initTie(myMap.length); allCheck(false); _root.chick = true; _root.onMouseDown = function () { if (chick) { if (_root.hit_mc.hitTest(_root._xmouse, _root._ymouse, true)) { _root.popfly_mc.firepop(); } } }; _root.shesu = 20; _root.popfly_mc.newpop(); _root.reset_btn.onPress = function () { _root.nowframe = _root._currentframe; _root.gotoAndStop("clear"); }; this.mg_btn.onRelease = function () { getURL (_root.gm_url(_root.urlwznum), "_blank"); }; _root.tck_mc.gotoAndStop(3); _root.urlwznum = 3;
Frame 4
_root.gotoAndStop(_root.nowframe);
Symbol 19 MovieClip [tile] Frame 1
stop();
Symbol 19 MovieClip [tile] Frame 20
if (int(Math.random() * 100) < 2) { play(); } else { gotoAndPlay (1); }
Symbol 19 MovieClip [tile] Frame 50
gotoAndPlay (1);
Symbol 31 Button
on (release) { getURL (_root.gm_url(_root.urlwznum), "_blank"); }
Symbol 41 MovieClip Frame 100
stop();
Symbol 45 Button
on (release) { _root.play(); }
Symbol 46 MovieClip Frame 1
stop(); this.onEnterFrame = function () { var _local3 = _root.getBytesLoaded(); var _local4 = _root.getBytesTotal(); var _local5 = Math.round((_local3 / _local4) * 100); trace((_local3 / _local4) * 100); if (_local3 >= _local4) { nextFrame(); delete this.onEnterFrame; } };
Instance of Symbol 41 MovieClip "loader" in Symbol 46 MovieClip Frame 1
onClipEvent (load) { total = _root.getBytesTotal(); } onClipEvent (enterFrame) { loaded = _root.getBytesLoaded(); percent = int((loaded / total) * 100); gotoAndStop(percent); if (loaded == (total * 100)) { _root.gotoAndPlay(2); } }
Symbol 46 MovieClip Frame 2
stop();
Symbol 138 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon { function OnEnterFrameBeacon () { } static function init() { var _local4 = _global.MovieClip; if (!_root.__OnEnterFrameBeacon) { mx.transitions.BroadcasterMX.initialize(_local4); var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876); _local3.onEnterFrame = function () { _global.MovieClip.broadcastMessage("onEnterFrame"); }; } } static var version = "1.1.0.52"; }
Symbol 139 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX { var _listeners; function BroadcasterMX () { } static function initialize(o, dontCreateArray) { if (o.broadcastMessage != undefined) { delete o.broadcastMessage; } o.addListener = mx.transitions.BroadcasterMX.prototype.addListener; o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener; if (!dontCreateArray) { o._listeners = new Array(); } } function addListener(o) { removeListener(o); if (broadcastMessage == undefined) { broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage; } return(_listeners.push(o)); } function removeListener(o) { var _local2 = _listeners; var _local3 = _local2.length; while (_local3--) { if (_local2[_local3] == o) { _local2.splice(_local3, 1); if (!_local2.length) { broadcastMessage = undefined; } return(true); } } return(false); } function broadcastMessage() { var _local5 = String(arguments.shift()); var _local4 = _listeners.concat(); var _local6 = _local4.length; var _local3 = 0; while (_local3 < _local6) { _local4[_local3][_local5].apply(_local4[_local3], arguments); _local3++; } } static var version = "1.1.0.52"; }
Symbol 140 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween { var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime; function Tween (obj, prop, func, begin, finish, duration, useSeconds) { mx.transitions.OnEnterFrameBeacon.init(); if (!arguments.length) { return; } this.obj = obj; this.prop = prop; this.begin = begin; position = (begin); this.duration = (duration); this.useSeconds = useSeconds; if (func) { this.func = func; } this.finish = (finish); _listeners = []; addListener(this); start(); } function set time(t) { prevTime = _time; if (t > duration) { if (looping) { rewind(t - _duration); update(); broadcastMessage("onMotionLooped", this); } else { if (useSeconds) { _time = _duration; update(); } stop(); broadcastMessage("onMotionFinished", this); } } else if (t < 0) { rewind(); update(); } else { _time = t; update(); } //return(time); } function get time() { return(_time); } function set duration(d) { _duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d)); //return(duration); } function get duration() { return(_duration); } function set FPS(fps) { var _local2 = isPlaying; stopEnterFrame(); _fps = fps; if (_local2) { startEnterFrame(); } //return(FPS); } function get FPS() { return(_fps); } function set position(p) { setPosition(p); //return(position); } function setPosition(p) { prevPos = _pos; obj[prop] = (_pos = p); broadcastMessage("onMotionChanged", this, _pos); updateAfterEvent(); } function get position() { return(getPosition()); } function getPosition(t) { if (t == undefined) { t = _time; } return(func(t, begin, change, _duration)); } function set finish(f) { change = f - begin; //return(finish); } function get finish() { return(begin + change); } function continueTo(finish, duration) { begin = position; this.finish = (finish); if (duration != undefined) { this.duration = (duration); } start(); } function yoyo() { continueTo(begin, time); } function startEnterFrame() { if (_fps == undefined) { _global.MovieClip.addListener(this); } else { _intervalID = setInterval(this, "onEnterFrame", 1000 / _fps); } isPlaying = true; } function stopEnterFrame() { if (_fps == undefined) { _global.MovieClip.removeListener(this); } else { clearInterval(_intervalID); } isPlaying = false; } function start() { rewind(); startEnterFrame(); broadcastMessage("onMotionStarted", this); } function stop() { stopEnterFrame(); broadcastMessage("onMotionStopped", this); } function resume() { fixTime(); startEnterFrame(); broadcastMessage("onMotionResumed", this); } function rewind(t) { _time = ((t == undefined) ? 0 : (t)); fixTime(); update(); } function fforward() { time = (_duration); fixTime(); } function nextFrame() { if (useSeconds) { time = ((getTimer() - _startTime) / 1000); } else { time = (_time + 1); } } function onEnterFrame() { nextFrame(); } function prevFrame() { if (!useSeconds) { time = (_time - 1); } } function toString() { return("[Tween]"); } function fixTime() { if (useSeconds) { _startTime = getTimer() - (_time * 1000); } } function update() { position = (getPosition(_time)); } static var version = "1.1.0.52"; static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init(); static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true); function func(t, b, c, d) { return(((c * t) / d) + b); } }
Symbol 141 MovieClip [__Packages.mx.transitions.easing.Strong] Frame 0
class mx.transitions.easing.Strong { function Strong () { } static function easeIn(t, b, c, d) { t = t / d; return((((((c * t) * t) * t) * t) * t) + b); } static function easeOut(t, b, c, d) { t = (t / d) - 1; return((c * (((((t * t) * t) * t) * t) + 1)) + b); } static function easeInOut(t, b, c, d) { t = t / (d / 2); if (t < 1) { return(((((((c / 2) * t) * t) * t) * t) * t) + b); } t = t - 2; return(((c / 2) * (((((t * t) * t) * t) * t) + 2)) + b); } static var version = "1.1.0.52"; }
Symbol 142 MovieClip [__Packages.mx.transitions.easing.Elastic] Frame 0
class mx.transitions.easing.Elastic { function Elastic () { } static function easeIn(t, b, c, d, a, p) { if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; var _local7 = p / 4; } else { var _local7 = (p / (Math.PI*2)) * Math.asin(c / a); } t = t - 1; return((-((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b); } static function easeOut(t, b, c, d, a, p) { if (t == 0) { return(b); } t = t / d; if (t == 1) { return(b + c); } if (!p) { p = d * 0.3; } if ((!a) || (a < Math.abs(c))) { a = c; var _local7 = p / 4; } else { var _local7 = (p / (Math.PI*2)) * Math.asin(c / a); } return((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) + c) + b); } static function easeInOut(t, b, c, d, a, p) { if (t == 0) { return(b); } t = t / (d / 2); if (t == 2) { return(b + c); } if (!p) { p = d * 0.45; } if ((!a) || (a < Math.abs(c))) { a = c; var _local7 = p / 4; } else { var _local7 = (p / (Math.PI*2)) * Math.asin(c / a); } if (t < 1) { t = t - 1; return((-0.5 * ((a * Math.pow(2, 10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p))) + b); } t = t - 1; return(((((a * Math.pow(2, -10 * t)) * Math.sin((((t * d) - _local7) * (Math.PI*2)) / p)) * 0.5) + c) + b); } static var version = "1.1.0.52"; }
Symbol 62 MovieClip Frame 13
stop();
Symbol 88 MovieClip Frame 115
this.play_btn.onRelease = function () { _root.nextFrame(); }; this.mg_btn.onRelease = function () { getURL (_root.gm_url(_root.urlwznum), "_blank"); };
Symbol 88 MovieClip Frame 129
stop();
Symbol 93 MovieClip Frame 1
stop(); this.stop_btn.onPress = function () { _root.gasoundp = _root.bg_sound.position / 1000; _root.bg_sound.stop(); nextFrame(); };
Symbol 93 MovieClip Frame 2
this.play_btn.onPress = function () { _root.bg_sound.start(_root.gasoundp); prevFrame(); };
Symbol 106 MovieClip Frame 1
this.chick = true; this.onEnterFrame = function () { if (_root.hit_mc.hitTest(_root._xmouse, _root._ymouse, true)) { this._rotation = (Math.atan2(_root._ymouse - this._y, _root._xmouse - this._x) / Math.PI) * 180; } }; _root.zstar_mc._visible = false;
Symbol 108 MovieClip Frame 1
this.maxtimer = 1200; this.timer = 0; this.onEnterFrame = function () { if (!_root.isaddnewline) { this.timer++; if (this.timer > this.maxtimer) { _root.isaddnewline = true; this.timer = 0; this.maxtimer = this.maxtimer * 0.96; } } };
Symbol 111 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
this.score = _root.score; this.onEnterFrame = function () { if (this.score < _root.score) { this.score = this.score + 5; } else if (this.score > _root.score) { this.score = _root.score; } this.listnum(this.score); };
Symbol 134 MovieClip Frame 1
this.score_mc.listnum(_root.score); this.ok_btn.onPress = function () { _root.nowframe = "begin"; _root.gotoAndStop("clear"); };
Symbol 136 MovieClip Frame 1
this.useHandCursor = false; this.onPress = function () { };
Symbol 137 MovieClip Frame 2
this.tk_mc._y = -350; new mx.transitions.Tween(this.tk_mc, "_y", mx.transitions.easing.Elastic.easeOut, -350, 0, 40, false);

Library Items

Symbol 1 Sound [bg_sound]
Symbol 2 Sound [she_sound]
Symbol 3 GraphicUsed by:10
Symbol 4 GraphicUsed by:10
Symbol 5 GraphicUsed by:10
Symbol 6 GraphicUsed by:10
Symbol 7 GraphicUsed by:10
Symbol 8 GraphicUsed by:10
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClip [score_dh]Uses:3 4 5 6 7 8 9
Symbol 11 GraphicUsed by:18
Symbol 12 GraphicUsed by:18
Symbol 13 GraphicUsed by:18
Symbol 14 GraphicUsed by:18
Symbol 15 GraphicUsed by:18
Symbol 16 GraphicUsed by:18
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:11 12 13 14 15 16 17Used by:19
Symbol 19 MovieClip [tile]Uses:18Used by:103 106
Symbol 20 BitmapUsed by:21
Symbol 21 GraphicUses:20Used by:46
Symbol 22 FontUsed by:23 35 42
Symbol 23 TextUses:22Used by:46
Symbol 24 BitmapUsed by:25
Symbol 25 GraphicUses:24Used by:34 97
Symbol 26 GraphicUsed by:34 97
Symbol 27 ShapeTweeningUsed by:34
Symbol 28 GraphicUsed by:34 97
Symbol 29 ShapeTweeningUsed by:34
Symbol 30 GraphicUsed by:31 41
Symbol 31 ButtonUses:30Used by:34
Symbol 32 GraphicUsed by:34 97
Symbol 33 GraphicUsed by:34
Symbol 34 MovieClipUses:25 26 27 28 29 31 32 33Used by:46
Symbol 35 TextUses:22Used by:46
Symbol 36 BitmapUsed by:37
Symbol 37 GraphicUses:36Used by:41
Symbol 38 ShapeTweeningUsed by:41
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClipUses:37 38 40 30Used by:46
Symbol 42 TextUses:22Used by:46
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 ButtonUses:44Used by:46
Symbol 46 MovieClipUses:21 23 34 35 41 42 45Used by:Timeline
Symbol 138 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 139 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 140 MovieClip [__Packages.mx.transitions.Tween]
Symbol 141 MovieClip [__Packages.mx.transitions.easing.Strong]
Symbol 142 MovieClip [__Packages.mx.transitions.easing.Elastic]
Symbol 47 GraphicUsed by:Timeline
Symbol 48 GraphicUsed by:88
Symbol 49 GraphicUsed by:50
Symbol 50 MovieClipUses:49Used by:88
Symbol 51 GraphicUsed by:52
Symbol 52 MovieClipUses:51Used by:88
Symbol 53 GraphicUsed by:54
Symbol 54 MovieClipUses:53Used by:88
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClipUses:55Used by:88
Symbol 57 GraphicUsed by:67
Symbol 58 GraphicUsed by:67
Symbol 59 GraphicUsed by:64
Symbol 60 GraphicUsed by:64
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClipUses:61Used by:64
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClipUses:59 60 62 63Used by:67
Symbol 65 GraphicUsed by:67
Symbol 66 GraphicUsed by:67
Symbol 67 ButtonUses:57 58 64 65 66Used by:88
Symbol 68 GraphicUsed by:69
Symbol 69 MovieClipUses:68Used by:88
Symbol 70 GraphicUsed by:71
Symbol 71 MovieClipUses:70Used by:88
Symbol 72 GraphicUsed by:77
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:77
Symbol 75 GraphicUsed by:77
Symbol 76 GraphicUsed by:77
Symbol 77 ButtonUses:72 74 75 76Used by:88  Timeline
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClipUses:78Used by:86 87
Symbol 80 GraphicUsed by:81
Symbol 81 MovieClipUses:80Used by:86 87
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClipUses:82Used by:86 87
Symbol 84 GraphicUsed by:85
Symbol 85 MovieClipUses:84Used by:86 87
Symbol 86 MovieClipUses:79 81 83 85Used by:88
Symbol 87 MovieClipUses:79 81 83 85Used by:88
Symbol 88 MovieClipUses:48 50 52 54 56 67 69 71 77 86 87Used by:Timeline
Symbol 89 GraphicUsed by:90
Symbol 90 ButtonUses:89Used by:93
Symbol 91 GraphicUsed by:92
Symbol 92 ButtonUses:91Used by:93
Symbol 93 MovieClipUses:90 92Used by:Timeline
Symbol 94 ShapeTweeningUsed by:97
Symbol 95 ShapeTweeningUsed by:97
Symbol 96 GraphicUsed by:97
Symbol 97 MovieClipUses:25 26 94 28 95 32 96Used by:Timeline
Symbol 98 GraphicUsed by:Timeline
Symbol 99 GraphicUsed by:Timeline
Symbol 100 GraphicUsed by:101
Symbol 101 MovieClipUses:100Used by:Timeline
Symbol 102 GraphicUsed by:Timeline
Symbol 103 MovieClipUses:19Used by:Timeline
Symbol 104 GraphicUsed by:106
Symbol 105 GraphicUsed by:106
Symbol 106 MovieClipUses:104 19 105Used by:Timeline
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClipUses:107Used by:Timeline
Symbol 109 GraphicUsed by:111
Symbol 110 GraphicUsed by:111
Symbol 111 MovieClipUses:109 110Used by:Timeline
Symbol 112 GraphicUsed by:115
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClipUses:113Used by:115
Symbol 115 ButtonUses:112 114Used by:Timeline
Symbol 116 GraphicUsed by:126
Symbol 117 GraphicUsed by:126
Symbol 118 GraphicUsed by:126
Symbol 119 GraphicUsed by:126
Symbol 120 GraphicUsed by:126
Symbol 121 GraphicUsed by:126
Symbol 122 GraphicUsed by:126
Symbol 123 GraphicUsed by:126
Symbol 124 GraphicUsed by:126
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClipUses:116 117 118 119 120 121 122 123 124 125Used by:127 132
Symbol 127 MovieClipUses:126Used by:Timeline
Symbol 128 GraphicUsed by:134
Symbol 129 GraphicUsed by:130 131
Symbol 130 MovieClipUses:129Used by:131
Symbol 131 ButtonUses:129 130Used by:134
Symbol 132 MovieClipUses:126Used by:134
Symbol 133 GraphicUsed by:134
Symbol 134 MovieClipUses:128 131 132 133Used by:137
Symbol 135 GraphicUsed by:136
Symbol 136 MovieClipUses:135Used by:137
Symbol 137 MovieClipUses:134 136Used by:Timeline

Instance Names

"bgsoundctrl_mc"Frame 2Symbol 93 MovieClip
"logo_mc"Frame 2Symbol 97 MovieClip
"hit_mc"Frame 3Symbol 101 MovieClip
"maingame_mc"Frame 3Symbol 101 MovieClip
"popfly_mc"Frame 3Symbol 103 MovieClip
"paotong_mc"Frame 3Symbol 106 MovieClip
"zstar_mc"Frame 3Symbol 108 MovieClip
"person_mc"Frame 3Symbol 111 MovieClip
"reset_btn"Frame 3Symbol 115 Button
"mg_btn"Frame 3Symbol 77 Button
"tck_mc"Frame 3Symbol 137 MovieClip
"pao_mc"Symbol 19 MovieClip [tile] Frame 1Symbol 18 MovieClip
"loader"Symbol 46 MovieClip Frame 1Symbol 41 MovieClip
"play_btn"Symbol 88 MovieClip Frame 95Symbol 67 Button
"mg_btn"Symbol 88 MovieClip Frame 112Symbol 77 Button
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 86 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 86 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 86 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 86 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"新建符号_1"Symbol 88 MovieClip Frame 129Symbol 87 MovieClip
"stop_btn"Symbol 93 MovieClip Frame 1Symbol 90 Button
"play_btn"Symbol 93 MovieClip Frame 2Symbol 92 Button
"fp_mc"Symbol 103 MovieClip Frame 1Symbol 19 MovieClip [tile]
"dp_mc"Symbol 103 MovieClip Frame 1Symbol 19 MovieClip [tile]
"fp_mc"Symbol 106 MovieClip Frame 1Symbol 19 MovieClip [tile]
"n4"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n3"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n2"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n1"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n5"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n6"Symbol 127 MovieClip Frame 1Symbol 126 MovieClip
"n4"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"n3"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"n2"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"n1"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"n5"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"n6"Symbol 132 MovieClip Frame 1Symbol 126 MovieClip
"ok_btn"Symbol 134 MovieClip Frame 1Symbol 131 Button
"score_mc"Symbol 134 MovieClip Frame 1Symbol 132 MovieClip
"tk_mc"Symbol 137 MovieClip Frame 1Symbol 134 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "bg_sound"
ExportAssets (56)Timeline Frame 1Symbol 2 as "she_sound"
ExportAssets (56)Timeline Frame 1Symbol 10 as "score_dh"
ExportAssets (56)Timeline Frame 1Symbol 19 as "tile"
ExportAssets (56)Timeline Frame 1Symbol 138 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 139 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 140 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 141 as "__Packages.mx.transitions.easing.Strong"
ExportAssets (56)Timeline Frame 1Symbol 142 as "__Packages.mx.transitions.easing.Elastic"

Labels

"begin"Frame 2
"clear"Frame 4




http://swfchan.com/23/113990/info.shtml
Created: 11/3 -2019 04:47:47 Last modified: 11/3 -2019 04:47:47 Server time: 14/11 -2024 23:44:13