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

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

SuslikX.com.swf

This is the info page for
Flash #168094

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


Text
00:00

SKIP

SKIP

Release by
SuslikX.com

<p align="left"></p>

ActionScript [AS1/AS2]

Frame 1
function logIt(tt) { _root.ttttt.text = (tt + newline) + _root.ttttt.text; } function fscreen() { logIt("Fullscreen?"); Stage.displayState = ((Stage.displayState == "normal") ? "fullScreen" : "normal"); } onFullScreen = function (bFull) { }; _root.ttttt._visible = false; _root.ttttt.hscroll = 1; _root.ttttt.backgroundColor = 4294967295; _root.ttttt.textColor = 0; _root.ttttt.background = true; _root.onKeyDown = function () { if (Key.getCode() == 192) { _root.ttttt._visible = ((_root.ttttt._visible == true) ? false : true); } }; Key.addListener(_root); propert = function (proper) { logIt(("/--------<end of " + proper) + " properties>-------/"); for (var _local2 in proper) { logIt((("\u0421\u0432\u043E\u0439\u0441\u0442\u0432\u043E " + _local2) + " \u0438\u043C\u0435\u0435\u0442 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u0435 ") + proper[_local2]); } logIt(("/-----------<" + proper) + " properties>-----------/"); };
Instance of Symbol 35 MovieClip "empty" in Frame 1
/* no clip actions */
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 2
stop();
Symbol 27 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 1
function drawOutline(mc, corx, cory, width, height, color) { var _local1 = mc; _local1.beginFill(color, 100); _local1.lineStyle(0, color, 100); _local1.moveTo(corx, cory); _local1.lineTo(corx + width, cory); _local1.lineTo(corx + width, cory + height); _local1.lineTo(corx, cory + height); _local1.lineTo(corx, cory); _local1.endFill(); } function disableControls() { pointerSeek.enabled = false; seeker.enabled = false; goPlayHide.enabled = false; volumeControl.enabled = false; soundSlider.enabled = false; playPauseBtn.enabled = false; muteBtn.enabled = false; fullScreen.enabled = false; } function clearMovieClip(mc) { i = 0; while (i < mc.getNextHighestDepth()) { mc.getInstanceAtDepth(i).removeMovieClip(); i++; } } function enableControls() { pointerSeek.enabled = true; seeker.enabled = true; goPlayHide.enabled = true; volumeControl.enabled = true; soundSlider.enabled = true; playPauseBtn.enabled = true; muteBtn.enabled = true; fullScreen.enabled = true; } function createText(mc, txt, corx, cory, w, h) { var _local2 = new TextFormat(); _local2.font = "Courier New"; _local2.size = 14 * msc; _local2.bold = true; mc.createTextField("comm", mc.getNextHighestDepth(), corx, cory, w, h); mc.comm.setNewTextFormat(_local2); mc.comm.backgroundColor = 16777215 /* 0xFFFFFF */; mc.comm.textColor = 0; mc.comm.selectable = false; mc.comm.text = txt; mc.comm.multiline = true; mc.comm.wordWrap = true; } function exit() { _root.logIt("Exit."); exitstate = "exit"; clearMovieClip(_root.exit); wwidth = 240 * ((640 - (4 * wgap)) / (count * 240)); wheight = 390 * ((640 - (4 * wgap)) / (count * 240)); msc = wwidth / 240; cordy = (360 - wheight) / 2; cordx = []; i = 1; while (i <= 3) { cordx.push(wgap + ((i - 1) * (wgap + wwidth))); i++; } _root.exit.createEmptyMovieClip("adv0", _root.exit.getNextHighestDepth()); drawOutline(_root.exit.adv0, cordx[0], cordy, wwidth, wheight, 16777215); _root.exit.adv0.createEmptyMovieClip("imgholder", 1); listener.onLoadInit = function (mc) { mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = cordx[0] + 3; mc._y = cordy + 3; mc.forceSmoothing = true; createText(_root.exit.adv0, "Play again?", mc._x, mc._y + mc._height, wwidth - 6, (wheight - mc._height) - 2); }; mcLoader.loadClip("images/exit0.jpg", _root.exit.adv0.imgholder); _root.exit.adv0.onRollOver = function () { this.clear(); drawOutline(this, cordx[0], cordy, wwidth, wheight, 11184640); }; _root.exit.adv0.onRollOut = function () { this.clear(); drawOutline(this, cordx[0], cordy, wwidth, wheight, 16777215); }; _root.exit.adv0.onPress = function () { _root.exit._visible = false; enableControls(); _root.logIt("Next scene:0"); sceneInit(0); }; _root.exit.createEmptyMovieClip("adv2", _root.exit.getNextHighestDepth()); drawOutline(_root.exit.adv2, cordx[2], cordy, wwidth, wheight, 16777215); _root.exit.adv2.createEmptyMovieClip("imgholder", 1); listener2.onLoadInit = function (mc) { mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = cordx[2] + 3; mc._y = cordy + 3; mc.forceSmoothing = true; createText(_root.exit.adv2, "Replay Last Scene?", mc._x, mc._y + mc._height, wwidth - 6, (wheight - mc._height) - 2); }; mcLoader2.loadClip("images/exit2.jpg", _root.exit.adv2.imgholder); _root.exit.adv2.onRollOver = function () { this.clear(); drawOutline(this, cordx[2], cordy, wwidth, wheight, 11184640); }; _root.exit.adv2.onRollOut = function () { this.clear(); drawOutline(this, cordx[2], cordy, wwidth, wheight, 16777215); }; _root.exit.adv2.onPress = function () { _root.exit._visible = false; enableControls(); _root.logIt("Next scene:" + plevel); sceneInit(plevel); }; _root.exit.createEmptyMovieClip("adv1", _root.exit.getNextHighestDepth()); drawOutline(_root.exit.adv1, cordx[1], cordy, wwidth, wheight, 16777215); _root.exit.adv1.createEmptyMovieClip("imgholder", 1); listener1.onLoadInit = function (mc) { mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = cordx[1] + 3; mc._y = cordy + 3; mc.forceSmoothing = true; createText(_root.exit.adv1, "Exit?", mc._x, mc._y + mc._height, wwidth - 6, (wheight - mc._height) - 2); }; mcLoader1.loadClip("images/exit1.jpg", _root.exit.adv1.imgholder); _root.exit.adv1.onRollOver = function () { this.clear(); drawOutline(this, cordx[1], cordy, wwidth, wheight, 11184640); }; _root.exit.adv1.onRollOut = function () { this.clear(); drawOutline(this, cordx[1], cordy, wwidth, wheight, 16777215); }; _root.exit.adv1.onPress = function () { fscommand ("quit"); }; setStage(); _root.exit._visible = true; } function win() { exitstate = "win"; _root.logIt("Win."); wwidth = 630; wheight = 382; clearMovieClip(_root.exit); _root.exit.createEmptyMovieClip("adv0", _root.exit.getNextHighestDepth()); drawOutline(_root.exit.adv0, 5, 5, wwidth, wheight, 16777215); _root.exit.adv0.createEmptyMovieClip("imgholder", 1); listener.onLoadInit = function (mc) { mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = 8; mc._y = 8; mc.forceSmoothing = true; }; mcLoader.loadClip("images/win.jpg", _root.exit.adv0.imgholder); _root.exit.adv0.onRollOver = function () { this.clear(); drawOutline(this, 5, 5, wwidth, wheight, 11184640); }; _root.exit.adv0.onRollOut = function () { this.clear(); drawOutline(this, 5, 5, wwidth, wheight, 16777215); }; _root.exit.adv0.onPress = function () { fscommand ("quit"); }; setStage(); _root.exit._visible = true; } function prestart() { exitstate = "prestart"; _root.logIt("Prestart."); setStage(); _root.prest._alpha = 30; _root.prest._visible = true; } function start() { exitstate = "start"; _root.logIt("Start."); wwidth = 630; wheight = 382; clearMovieClip(_root.exit); _root.exit.createEmptyMovieClip("adv0", _root.exit.getNextHighestDepth()); drawOutline(_root.exit.adv0, 5, 5, wwidth, wheight, 16777215); _root.exit.adv0.createEmptyMovieClip("imgholder", 1); listener.onLoadInit = function (mc) { mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = 8; mc._y = 8; mc.forceSmoothing = true; _root.exit._alpha = 30; _root.exit._visible = true; new mx.transitions.Tween(_root.exit, "_alpha", mx.transitions.easing.None.easeNone, 30, 100, 3, true); }; mcLoader.loadClip("images/start.jpg", _root.exit.adv0.imgholder); _root.exit.adv0.onPress = function () { _root.player._visible = true; sceneInit(0); }; } function sceneInit(scene) { _root.logIt(("Scene:" + scene) + " started;"); if (!ach) { bact = scene; } img = []; ctext = []; id = []; aimg = []; aid = []; bimg = []; bid = []; type = attrib[scene].type; stype = attrib[scene].stype; _root.logIt((("type:" + type) + "; stype:") + stype); switch (type) { case "win" : win(); break; case "texit" : exit(); break; default : path = "videos/" + attrib[scene].video; qtext = attrib[scene].qtext; count = int(attrib[scene].wcount); counta = int(attrib[scene].wcounta); countb = int(attrib[scene].wcountb); if (attrib[scene].resume == "no") { _root.logIt("resume:no;"); nsfrom = false; } id.push(int(attrib[scene].id)); _root.logIt((((("id:" + id) + "; question:") + qtext) + "; video:") + path); _root.logIt("----MENU----"); i = 1; while (i < count) { img.push(("images/" + attrib[scene]["photo" + i]) + ".jpg"); ctext.push(attrib[scene]["ctext" + i]); id.push(int(attrib[scene]["id" + i])); _root.logIt((((((((((("image" + i) + ":") + img[i - 1]) + "; id") + i) + ":") + id[i]) + "; answer") + i) + ":") + ctext[i - 1]); i++; } if (stype == "smenu") { _root.logIt("----SMENU----"); if (counta != undefined) { i = 1; while (i <= counta) { aimg.push(("images/" + attrib[scene]["aphoto" + i]) + ".jpg"); aid.push(int(attrib[scene]["aid" + i])); _root.logIt((((((("aimage" + i) + ":") + aimg[i - 1]) + "; aid") + i) + ":") + aid[i - 1]); i++; } } if (countb != undefined) { i = 1; while (i <= countb) { bimg.push(("images/" + attrib[scene]["bphoto" + i]) + ".jpg"); bid.push(int(attrib[scene]["bid" + i])); _root.logIt((((((("bimage" + i) + ":") + bimg[i - 1]) + "; bid") + i) + ":") + bid[i - 1]); i++; } } } initPlayer(path); } } function TIMER() { clearInterval(intervalID); _root.choicea._visible = false; _root.choiceb._visible = false; } function initPlayer(path) { function preloadVideo(player_ns) { var _local1 = (Math.round(player_ns.bytesLoaded) / Math.round(player_ns.bytesTotal)) * 100; if (_local1 == 100) { clearInterval(preloadInterval); } } function videoTimer() { if (player_ns.time > 5) { _root.skip._visible = true; } if (playheadTimer) { playheadTimer.text = formatTime(player_ns.time); } pointerSeek._xscale = (player_ns.time / videoDuration) * 100; if (player_ns.time >= videoDuration) { player_ns.pause(); player_ns.seek(0); playPauseBtn.play(); } } function volumeHandler() { if (volumeControl) { if (soundSlider) { videoSound.setVolume(Math.round(((soundSlider._x - volumeControl._x) / volumeControl._width) * 100)); } volumeControl._alpha = videoSound.getVolume() + 10; } } pointerSeek.enabled = false; seeker.enabled = false; path = path.toString(); inited = false; player_nc = new NetConnection(); player_nc.connect(null); player_ns = new NetStream(player_nc); videoM.attachVideo(player_ns); i = 1; videoM.smoothing = true; player_ns.setBufferTime(2); player_ns.play(path); player_ns.seek(8); _root.choice._visible = false; _root.exit._visible = false; playheadTimer.selectable = false; var _local3; if (stype == "smenu") { clearMovieClip(_root.choicea); smenuact = true; clearMovieClip(_root.choiceb); wwidth = 106; wheight = 106; cordy = (360 - ((counta * 106) + ((counta + 1) * 5))) / 2; plevel = id[0]; i = 0; while (i < counta) { _root.choicea.createEmptyMovieClip("adv" + i, _root.choicea.getNextHighestDepth()); _local3 = _root.choicea["adv" + i]; if (aid[i] != plevel) { drawOutline(_local3, 2, ((5 + wheight) * i) + cordy, wwidth, wheight, 0); _local3._alpha = 70; } else { drawOutline(_local3, 2, ((5 + wheight) * i) + cordy, wwidth, wheight, 11184640); } _local3.createEmptyMovieClip("imgholder", 1); listener.onLoadInit = function (mc) { cc = int(String(mc).substr(String(mc).lastIndexOf("adv") + 3, 1)); mc._width = 100; mc._height = 100; mc._x = 5; mc._y = (((5 + wheight) * cc) + cordy) + 3; mc.forceSmoothing = true; }; mcLoader.loadClip(aimg[i], _local3.imgholder); _local3.onRollOver = function () { cc = int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1)); if (aid[cc] != plevel) { this.clear(); drawOutline(this, 2, ((5 + wheight) * cc) + cordy, wwidth, wheight, 11184640); this._alpha = 100; } _root.choicea._visible = true; _root.choiceb._visible = true; clearInterval(intervalID); this._alpha = 100; }; _local3.onRollOut = function () { cc = int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1)); if (aid[cc] != plevel) { this.clear(); drawOutline(this, 2, ((5 + wheight) * cc) + cordy, wwidth, wheight, 0); this._alpha = 70; } clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); }; _local3.onPress = function () { _root.choicea._visible = false; _root.choiceb._visible = false; smenuact = false; stime = player_ns.time; nsfrom = true; _root.logIt("Next scene:" + aid[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))]); ach = true; sceneInit(int(aid[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))])); }; i++; } cordx = 7; i = 0; while (i < countb) { _root.choiceb.createEmptyMovieClip("adv" + i, _root.choiceb.getNextHighestDepth()); _local3 = _root.choiceb["adv" + i]; if (bid[i] != bact) { drawOutline(_local3, ((5 + wheight) * i) + cordx, 2, wwidth, wheight, 0); _local3._alpha = 70; } else { drawOutline(_local3, ((5 + wheight) * i) + cordx, 2, wwidth, wheight, 16777215); } _local3.createEmptyMovieClip("imgholder", 1); listener1.onLoadInit = function (mc) { cc = int(String(mc).substr(String(mc).lastIndexOf("adv") + 3, 1)); mc._width = 100; mc._height = 100; mc._x = (((5 + wheight) * cc) + cordx) + 3; mc._y = 5; mc.forceSmoothing = true; }; mcLoader1.loadClip(bimg[i], _local3.imgholder); _local3.onRollOver = function () { cc = int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1)); trace((("bid[cc]=" + bid[cc]) + "plevel=") + plevel); if (bid[cc] != bact) { this.clear(); drawOutline(this, ((5 + wheight) * cc) + cordx, 2, wwidth, wheight, 11184640); this._alpha = 100; } _root.choiceb._visible = true; _root.choicea._visible = true; clearInterval(intervalID); }; _local3.onRollOut = function () { cc = int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1)); if (bid[cc] != bact) { this.clear(); drawOutline(this, ((5 + wheight) * cc) + cordx, 2, wwidth, wheight, 0); this._alpha = 70; } clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); }; _local3.onPress = function () { _root.choiceb._visible = false; _root.choicea._visible = false; smenuact = false; stime = player_ns.time; nsfrom = true; _root.logIt("Next scene:" + bid[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))]); ach = false; sceneInit(int(bid[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))])); }; i++; } clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); _root.choicea._visible = true; _root.choiceb._visible = true; } player_ns.onMetaData = function (infoObject) { if (inited == false) { player_ns.pause(); inited = true; videoDuration = infoObject.duration; if (playheadTimer) { playheadTimer.text = formatTime(player_ns.time); } if (preloadInterval) { clearInterval(preloadInterval); } preloadInterval = setInterval(preloadVideo, 100, player_ns); if (volumeInterval) { clearInterval(volumeInterval); } volumeInterval = setInterval(volumeHandler, 100); pointerSeek._xscale = 0; clearInterval(timerInterval); timerInterval = setInterval(videoTimer, 100); if (sfrom) { pointerSeek._xscale = (pointerSeek._width * stime) / videoDuration; player_ns.seek(stime); sfrom = false; } playFile(); } }; player_ns.onStatus = function (infoObject) { if (infoObject.code == "NetStream.Play.Stop") { player_ns.close(); videoM.clear(); _root.skip._visible = false; gotoNext(); } }; seeker.onRollOver = function () { seeker.onPress = function () { clearInterval(timerInterval); pointerSeek._xscale = (100 / seeker._width) * this._xmouse; var _local2 = pointerSeek._width * (videoDuration / seeker._width); player_ns.seek(_local2); seeker.onMouseMove = function () { if ((this._xmouse >= 0) && (this._xmouse <= seeker._width)) { pointerSeek._xscale = (100 / seeker._width) * this._xmouse; var _local2 = pointerSeek._width * (videoDuration / seeker._width); player_ns.seek(_local2); } }; }; }; pointerSeek.onMouseUp = function () { var _local1 = pointerSeek._width * (videoDuration / seeker._width); if (player_ns.time > 0) { clearInterval(timerInterval); timerInterval = setInterval(videoTimer, 100); } seeker.onMouseMove = function () { }; }; volumeControl.onRollOver = function () { volumeControl.onPress = function () { muteBtn.gotoAndStop(1); clearInterval(volumeInterval); volumeInterval = setInterval(volumeHandler, 100); soundSlider._x = this._xmouse + volumeControl._x; startDrag (soundSlider, false, volumeControl._x, volumeControl._y, (volumeControl._width + volumeControl._x) - soundSlider._width, volumeControl._y); }; }; soundSlider.onMouseUp = function () { stopDrag(); }; goPlayHide.onRelease = function () { pointerSeek.enabled = true; seeker.enabled = true; if (wasStopped == true) { clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); _root.choicea._visible = true; _root.choiceb._visible = true; player_ns.play(path); } else { player_ns.pause(); } wasStopped = false; if (playPauseBtn._currentframe == 1) { clearInterval(timerInterval); timerInterval = setInterval(videoTimer, 100); playPauseBtn.gotoAndStop(2); } else { clearInterval(timerInterval); } goPlayHide._visible = false; }; playPauseBtn.onRelease = function () { pointerSeek.enabled = true; seeker.enabled = true; this.play(); if (wasStopped == true) { goPlayHide._visible = false; clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); _root.choicea._visible = true; _root.choiceb._visible = true; player_ns.play(path); wasStopped = false; } else { goPlayHide._visible = true; player_ns.pause(); } if (this._currentframe == 1) { clearInterval(timerInterval); timerInterval = setInterval(videoTimer, 100); goPlayHide._visible = false; } else { clearInterval(timerInterval); } }; muteBtn.onRelease = function () { if (videoSound.getVolume() > 0) { clearInterval(volumeInterval); muteBtn.gotoAndStop(2); videoSound.setVolume(0); if (volumeControl) { volumeControl._alpha = 10; } } else { muteBtn.gotoAndStop(1); volumeInterval = setInterval(volumeHandler, 100); videoSound.setVolume(100); } }; fullScreen.onRelease = function () { _root.fscreen(); }; } function formatTime(time) { if (time > 0) { var _local2 = String((time * 0.0166) >> 0); var _local1 = String((time % 60) >> 0); return((((_local2.length < 2) ? ("0" + _local2) : (_local2)) + ":") + ((_local1.length < 2) ? ("0" + _local1) : (_local1))); } return(String("00:00")); } function gotoNext() { var _local4; showchoice = true; goPlayHide._visible = true; if (nsfrom) { sfrom = true; nsfrom = false; } _root.choicea._visible = false; _root.choiceb._visible = false; smenuact = false; if (playPauseBtn._currentframe == 2) { clearInterval(timerInterval); player_ns.seek(0); player_ns.pause(); pointerSeek._xscale = 0; if (playheadTimer) { playheadTimer.text = formatTime(0); } playPauseBtn.gotoAndStop(1); } else { pointerSeek._xscale = 0; } disableControls(); switch (type) { case "auto" : _root.choice._visible = false; enableControls(); _root.logIt("Next scene:" + id[1]); ach = false; sceneInit(int(id[1])); break; case "exit" : exit(); break; default : clearMovieClip(_root.choice); if (count < 3) { wgap = 80; } else { wgap = 10; } wwidth = 240 * ((640 - ((count + 1) * wgap)) / (count * 240)); wheight = 400 * ((640 - ((count + 1) * wgap)) / (count * 240)); msc = wwidth / 240; cordy = (360 - wheight) / 2; cordx = []; i = 1; while (i <= count) { cordx.push(wgap + ((i - 1) * (wgap + wwidth))); i++; } _root.choice.createEmptyMovieClip("adv0", _root.choice.getNextHighestDepth()); drawOutline(_root.choice.adv0, cordx[0], cordy, wwidth, wheight, 16777215); createText(_root.choice.adv0, qtext, cordx[0] + 5, cordy + 5, wwidth - 10, wheight - 10); plevel = id[0]; i = 1; while (i < count) { crt++; _root.choice.createEmptyMovieClip("adv" + i, _root.choice.getNextHighestDepth()); var _local3 = _root.choice["adv" + i]; drawOutline(_local3, cordx[i], cordy, wwidth, wheight, 16777215); _local3.createEmptyMovieClip("imgholder", 1); listener.onLoadInit = function (mc) { cc = int(String(mc).substr(String(mc).lastIndexOf("adv") + 3, 1)); mc._width = wwidth - 6; mc._yscale = mc._xscale; mc._x = cordx[int(String(mc).substr(String(mc).lastIndexOf("adv") + 3, 1))] + 3; mc._y = cordy + 3; mc.forceSmoothing = true; createText(_root.choice["adv" + cc], ctext[cc - 1], mc._x, mc._y + mc._height, wwidth - 6, (wheight - mc._height) - 2); alldone(); }; mcLoader.loadClip(img[i - 1], _local3.imgholder); _local3.onRollOver = function () { this.clear(); drawOutline(this, cordx[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))], cordy, wwidth, wheight, 11184640); }; _local3.onRollOut = function () { this.clear(); drawOutline(this, cordx[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))], cordy, wwidth, wheight, 16777215); }; _local3.onPress = function () { _root.choice._visible = false; enableControls(); _root.logIt("Next scene:" + id[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))]); ach = false; sceneInit(int(id[int(String(this).substr(String(this).lastIndexOf("adv") + 3, 1))])); }; i++; } done = true; } } function alldone() { var _local2 = 0; var _local3 = new TextFormat(); if (crt != 0) { crt--; if ((crt == 0) && (done)) { if (showchoice) { i = 1; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); dt = (((5 / msc) + mcc.imgholder._height) + mcc.comm.textHeight) - mcc._height; if ((((5 / msc) + mcc.imgholder._height) + mcc.comm.textHeight) > mcc._height) { if (_local2 < dt) { _local2 = dt; } } i++; } if (_local2 > 0) { i = 1; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); mcc.imgholder._height = mcc.imgholder._height - _local2; mcc.comm._y = mcc.comm._y - _local2; mcc.comm._height = mcc.comm._height + _local2; i++; } } else { i = 0; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); i++; } } setStage(); _root.choice._visible = true; showchoice = false; } done = false; } } } function setStage() { var _local4 = Stage.width / _root.empty._width; var _local3 = Stage.height / _root.empty._height; var _local5; var _local6; if ((_local4 == Infinity) || (_local3 == Infinity)) { _root.logIt("Fuck stage:Infinity"); _local3 = 1; _local4 = _local3; } if ((_local4 == 0) || (_local3 == 0)) { _root.logIt("Fuck stage:0"); _local3 = 1; _local4 = _local3; } var _local2; if (_local4 <= _local3) { _root.empty._width = _root.empty._width * _local4; _root.empty._yscale = _root.empty._xscale; _local3 = _root.empty._height / _local3; _local5 = (Stage.width - _root.empty._width) / 2; _local6 = (Stage.height - _root.empty._height) / 2; if (Stage.height == 0) { _local6 = 0; _local5 = 0; } var _local7 = (_root.choice._width - _root.player._width) / 2; _root.exit._width = _root.exit._width * _local4; _root.exit._yscale = _root.exit._xscale; _root.prest._width = _root.prest._width * _local4; _root.prest._yscale = _root.prest._xscale; _root.player._width = _root.player._width * _local4; _root.player._yscale = _root.player._xscale; _root.choice._width = _root.choice._width * _local4; _root.choice._yscale = _root.player._xscale; if (Stage.width <= 640) { _root.logIt((((((((((("xs <= ys and Stage.width <= 640 - xs:" + _local4) + "ys:") + _local3) + "; Stage.width:") + Stage.width) + "; Stage.height") + Stage.height) + "; _root.empty._width") + _root.empty._width) + "; _root.empty._height") + _root.empty._height); _root.choicea._height = (360 * _root.exit._height) / 392; _root.choicea._xscale = _root.choicea._yscale; _root.choicea._x = (Stage.width - _root.choicea._width) - ((5 * _root.exit._width) / 640); _root.choicea._y = _local6; _root.choiceb._height = (110 * _root.exit._width) / 640; _root.choiceb._xscale = _root.choiceb._yscale; _root.choiceb._x = 0; _root.choiceb._y = ((_local6 + _root.exit._height) - _root.choiceb._height) - ((37 * _root.exit._height) / 392); } else { _root.logIt((((((((((("xs <= ys and Stage.width > 640 - xs:" + _local4) + "ys:") + _local3) + "; Stage.width:") + Stage.width) + "; Stage.height") + Stage.height) + "; _root.player._x") + _root.player._x) + "; _root.empty._height") + _root.empty._height); _root.choicea._yscale = (_root.choicea._xscale = 100); _root.choicea._x = (Stage.width - _root.choicea._width) - ((5 * _root.exit._width) / 640); _root.choicea._y = _local6 + (((_root.player._height - 360) - ((32 * _root.exit._width) / 640)) / 2); _root.choiceb._yscale = (_root.choiceb._xscale = 100); _root.choiceb._x = _local5; _root.choiceb._y = _local6 + ((_root.player._height - ((37 * _root.exit._width) / 640)) - _root.choiceb._height); } _root.skip._y = _local6; _root.empty._y = _local6; _root.exit._y = _local6; _root.prest._y = _local6; _root.player._y = _local6; _root.choice._y = _local6; _root.skip._x = 0; _root.empty._x = 0; _root.exit._x = 0; _root.prest._x = 0; _root.player._x = 0; _root.choice._x = 0; } else { _root.empty._height = _root.empty._height * _local3; _root.empty._xscale = _root.empty._yscale; _local4 = _root.empty._width / _local4; _local5 = (Stage.width - _root.empty._width) / 2; if (Stage.width == 0) { _local5 = 0; } _root.exit._height = _root.exit._height * _local3; _root.exit._xscale = _root.exit._yscale; _root.prest._height = _root.prest._height * _local3; _root.prest._xscale = _root.prest._yscale; _root.player._height = _root.player._height * _local3; _root.player._xscale = _root.player._yscale; _root.choice._height = _root.choice._height * _local3; _root.choice._xscale = _root.choice._yscale; if (Stage.height <= 392) { _root.logIt((((((((((("xs > ys and Stage.height <= 392 - xs:" + _local4) + "ys:") + _local3) + "; Stage.width:") + Stage.width) + "; Stage.height") + Stage.height) + "; _root.empty._x") + _root.empty._x) + "; _root.empty._height") + _root.empty._height); _root.choicea._height = (360 * _root.exit._height) / 392; _root.choicea._xscale = _root.choicea._yscale; _root.choicea._x = ((Stage.width - _root.choicea._width) - _local5) - ((5 * _root.exit._height) / 392); _root.choicea._y = 0; _root.choiceb._width = (640 * _root.exit._height) / 392; _root.choiceb._yscale = _root.choiceb._xscale; _root.choiceb._x = _local5; _root.choiceb._y = (Stage.height - _root.choiceb._height) - ((37 * _root.exit._height) / 392); } else { _root.logIt((((((((((("xs > ys and Stage.height > 392 - xs:" + _local4) + "ys:") + _local3) + "; Stage.width:") + Stage.width) + "; Stage.height") + Stage.height) + "; _root.empty._x") + _root.empty._x) + "; _root.empty._height") + _root.empty._height); _root.choicea._yscale = (_root.choicea._xscale = 100); _root.choicea._x = ((Stage.width - _root.choicea._width) - _local5) - ((5 * _root.exit._height) / 392); _root.choicea._y = ((_root.player._height - 360) - ((32 * _root.exit._height) / 392)) / 2; _root.choiceb._yscale = (_root.choiceb._xscale = 100); _root.choiceb._x = _local5; _root.choiceb._y = (_root.player._height - ((37 * _root.exit._height) / 392)) - _root.choiceb._height; } _root.skip._x = _local5; _root.empty._x = _local5; _root.exit._x = _local5; _root.prest._x = _local5; _root.player._x = _local5; _root.choice._x = _local5; _root.skip._y = 0; _root.empty._y = 0; _root.exit._y = 0; _root.prest._y = 0; _root.player._y = 0; _root.choice._y = 0; } if ((Stage.width <= 640) || (Stage.height <= 392)) { xsc = 640 / ((240 * _root.choice.getNextHighestDepth()) + ((_root.choice.getNextHighestDepth() + 1) * wgap)); i = 0; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); mcc._yscale = 100; mcc._xscale = mcc._yscale; mcc._x = 0; mcc._y = 0; i++; } if (exitstate == "exit") { i = 0; while (i < _root.exit.getNextHighestDepth()) { mcc = _root.exit.getInstanceAtDepth(i); mcc._yscale = 100; mcc._xscale = 100; mcc._x = 0; mcc._y = 0; i++; } } } else { xsc = (_root.player._width - ((((count + 1) * wgap) * _root.player._width) / 640)) / (240 * count); _local2 = ((wwidth / xsc) * _root.player._width) / 640; if (xsc < 1) { i = 0; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); mcc._xscale = 100; mcc._yscale = mcc._xscale; mcc._x = 0; mcc._y = 0; i++; } } else { i = 0; while (i < _root.choice.getNextHighestDepth()) { mcc = _root.choice.getInstanceAtDepth(i); mcc._xscale = 100 / xsc; mcc._yscale = mcc._xscale; mcc._x = (((_root.player._width - ((count * _local2) + ((count + 1) * wgap))) / 2) * 640) / _root.player._width; mcc._y = ((((_root.player._height - ((wheight * _local2) / wwidth)) - (((32 + cordy) * _root.player._height) / 360)) / 2) * 360) / _root.player._height; i++; } } xsc = (_root.player._width - (((4 * wgap) * _root.player._width) / 640)) / 720; _local2 = ((wwidth / xsc) * _root.player._width) / 640; if (xsc < 1) { i = 0; while (i < _root.exit.getNextHighestDepth()) { mcc = _root.exit.getInstanceAtDepth(i); mcc._xscale = 100; mcc._yscale = mcc._xscale; mcc._x = 0; mcc._y = 0; i++; } } else if (exitstate == "exit") { i = 0; while (i < _root.exit.getNextHighestDepth()) { mcc = _root.exit.getInstanceAtDepth(i); mcc._xscale = 100 / xsc; mcc._yscale = mcc._xscale; mcc._x = (((_root.player._width - ((3 * _local2) + (4 * wgap))) / 2) * 640) / _root.player._width; mcc._y = ((((_root.player._height - ((wheight * _local2) / wwidth)) - (((32 + cordy) * _root.player._height) / 360)) / 2) * 360) / _root.player._height; i++; } } } } function playFile() { pointerSeek.enabled = true; seeker.enabled = true; playPauseBtn.gotoAndStop(2); player_ns.pause(); goPlayHide._visible = false; } stop(); var player_nc; var player_ns; var preloadInterval; var timerInterval; var volumeInterval; var intervalID; var path = ""; var videoDuration; var videoSound = new Sound(); var wasStopped = false; var inited = false; var count; var counta; var countb; var wwidth; var wheight; var cordy; var cordx = []; var hgap = 10; var wgap = 10; var mcLoader = new MovieClipLoader(); var mcLoader1 = new MovieClipLoader(); var mcLoader2 = new MovieClipLoader(); var listener = new Object(); mcLoader.addListener(listener); var listener1 = new Object(); mcLoader1.addListener(listener1); var listener2 = new Object(); mcLoader2.addListener(listener2); var mediapath = ""; var qtext; var img = []; var aimg = []; var bimg = []; var attrib = []; var ctext = []; var id = []; var aid = []; var bid = []; var type = undefined; var stype = undefined; var plevel; var smenuact = false; var sfrom = false; var nsfrom = false; var stime = 0; var exitstate; var crt = 0; var showchoice = false; var done = false; var msc; var bact; var ach = false; _root.choicea._visible = false; _root.choiceb._visible = false; _root.skip._visible = false; _root.fscreen(); myXML = new XML(); myXML.ignoreWhite = true; myXML.onLoad = function (success) { nodes = myXML.childNodes; i = 0; while (i < nodes.length) { attrib.push(nodes[i].attributes); i++; } videoSound.setVolume(30); soundSlider._x = volumeControl._x + (volumeControl._width * 0.3); _root.exit._visible = false; prestart(); }; if (bpath != undefined) { mediapath = bpath; } myXML.load(mediapath + "game.xml"); _root.prest._visible = false; _root.player._visible = false; var prestween = (new mx.transitions.Tween(_root.prest, "_alpha", mx.transitions.easing.None.easeNone, 30, 100, 4, true)); prestween.onMotionFinished = function () { _root.prest._visible = false; start(); }; _root.empty.onMouseMove = function () { if (((smenuact == true) && (_root.choicea._visible == false)) && (wasStopped == false)) { _root.choicea._visible = true; _root.choiceb._visible = true; clearInterval(intervalID); intervalID = setInterval(TIMER, 2000); } }; _root.skip.onRelease = function () { _root.logIt("skip scene."); clearInterval(timerInterval); _root.skip._visible = false; player_ns.close(); videoM.clear(); gotoNext(); }; Stage.addListener(_root); Stage.align = "TL"; Stage.scaleMode = "noScale"; var mcc; var xsc; _root.onResize = setStage;
Symbol 45 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 46 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 47 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 48 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None { function None () { } static function easeNone(t, b, c, d) { return(((c * t) / d) + b); } static function easeIn(t, b, c, d) { return(((c * t) / d) + b); } static function easeOut(t, b, c, d) { return(((c * t) / d) + b); } static function easeInOut(t, b, c, d) { return(((c * t) / d) + b); } static var version = "1.1.0.52"; }

Library Items

Symbol 1 GraphicUsed by:28
Symbol 2 FontUsed by:3
Symbol 3 EditableTextUses:2Used by:28
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClipUses:4Used by:28
Symbol 6 GraphicUsed by:7
Symbol 7 MovieClipUses:6Used by:28
Symbol 8 GraphicUsed by:13 16
Symbol 9 GraphicUsed by:10
Symbol 10 MovieClipUses:9Used by:13
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:13
Symbol 13 MovieClipUses:8 10 12Used by:28
Symbol 14 GraphicUsed by:16
Symbol 15 GraphicUsed by:16
Symbol 16 MovieClipUses:8 14 15Used by:28
Symbol 17 GraphicUsed by:18
Symbol 18 MovieClipUses:17Used by:28
Symbol 19 GraphicUsed by:20
Symbol 20 MovieClipUses:19Used by:28
Symbol 21 GraphicUsed by:22 43
Symbol 22 MovieClipUses:21Used by:28
Symbol 23 VideoUsed by:28
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:27
Symbol 27 MovieClipUses:24 26Used by:28
Symbol 28 MovieClipUses:1 3 5 7 13 16 18 20 22 23 27Used by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 GraphicUsed by:31 32
Symbol 31 MovieClipUses:30Used by:Timeline
Symbol 32 MovieClipUses:30Used by:Timeline
Symbol 33 GraphicUsed by:34 35 39 40
Symbol 34 MovieClipUses:33Used by:Timeline
Symbol 35 MovieClipUses:33Used by:Timeline
Symbol 36 FontUsed by:37 38
Symbol 37 TextUses:36Used by:39
Symbol 38 TextUses:36Used by:39
Symbol 39 ButtonUses:33 37 38Used by:Timeline
Symbol 40 MovieClipUses:33Used by:Timeline
Symbol 41 FontUsed by:42 44
Symbol 42 TextUses:41Used by:43
Symbol 43 MovieClipUses:21 42Used by:Timeline
Symbol 44 EditableTextUses:41Used by:Timeline
Symbol 45 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 46 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 47 MovieClip [__Packages.mx.transitions.Tween]
Symbol 48 MovieClip [__Packages.mx.transitions.easing.None]

Instance Names

"player"Frame 1Symbol 29 MovieClip
"choice"Frame 1Symbol 31 MovieClip
"exit"Frame 1Symbol 32 MovieClip
"choicea"Frame 1Symbol 34 MovieClip
"empty"Frame 1Symbol 35 MovieClip
"skip"Frame 1Symbol 39 Button
"choiceb"Frame 1Symbol 40 MovieClip
"prest"Frame 1Symbol 43 MovieClip
"ttttt"Frame 1Symbol 44 EditableText
"playheadTimer"Symbol 28 MovieClip Frame 1Symbol 3 EditableText
"seeker"Symbol 28 MovieClip Frame 1Symbol 5 MovieClip
"pointerSeek"Symbol 28 MovieClip Frame 1Symbol 7 MovieClip
"playPauseBtn"Symbol 28 MovieClip Frame 1Symbol 13 MovieClip
"muteBtn"Symbol 28 MovieClip Frame 1Symbol 16 MovieClip
"fullScreen"Symbol 28 MovieClip Frame 1Symbol 18 MovieClip
"volumeControl"Symbol 28 MovieClip Frame 1Symbol 20 MovieClip
"soundSlider"Symbol 28 MovieClip Frame 1Symbol 22 MovieClip
"videoM"Symbol 28 MovieClip Frame 1Symbol 23 Video
"goPlayHide"Symbol 28 MovieClip Frame 1Symbol 27 MovieClip
"videoContainer"Symbol 29 MovieClip Frame 1Symbol 28 MovieClip

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 45 as "__Packages.mx.transitions.OnEnterFrameBeacon"
ExportAssets (56)Timeline Frame 1Symbol 46 as "__Packages.mx.transitions.BroadcasterMX"
ExportAssets (56)Timeline Frame 1Symbol 47 as "__Packages.mx.transitions.Tween"
ExportAssets (56)Timeline Frame 1Symbol 48 as "__Packages.mx.transitions.easing.None"




http://swfchan.com/34/168094/info.shtml
Created: 18/10 -2018 09:20:17 Last modified: 18/10 -2018 09:20:17 Server time: 04/05 -2024 10:44:44