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

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

SuslikX.com.swf

This is the info page for
Flash #251494

(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 36 MovieClip "empty" in Frame 1
/* no clip actions */
Symbol 14 MovieClip Frame 1
stop();
Symbol 14 MovieClip Frame 2
stop();
Symbol 17 MovieClip Frame 1
stop();
Symbol 17 MovieClip Frame 2
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 29 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 = "Arial"; _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 = []; adescr = []; bdescr = []; bid = []; type = attrib[scene].type; stype = attrib[scene].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("----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])); i++; } if (stype == "smenu") { _root.logIt("----SMENU----"); if (counta != undefined) { i = 1; while (i <= counta) { var _local3 = attrib[scene]["aphoto" + i].split("|"); aimg.push(("images/" + _local3[0]) + ".jpg"); aid.push(int(attrib[scene]["aid" + i])); if (_local3.length == 2) { adescr.push(_local3[1]); } else { adescr.push(""); } i++; } } if (countb != undefined) { i = 1; while (i <= countb) { var _local4 = attrib[scene]["bphoto" + i].split("|"); bimg.push(("images/" + _local4[0]) + ".jpg"); bid.push(int(attrib[scene]["bid" + i])); if (_local4.length == 2) { bdescr.push(_local4[1]); } else { bdescr.push(""); } 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); clearMovieClip(_root.choiceb); smenuact = true; wwidth = 106; wheight = 106; cordy = 0; 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); var _local4 = new TextFormat(); _local4.font = "roboto_condensed"; _local4.align = "center"; _local3.createEmptyMovieClip("descr", _local3.getNextHighestDepth()); drawOutline(_local3.descr, 5, (((5 + wheight) * i) + cordy) + 3, 99, 19, 7829367); _local3.descr._alpha = 78; _local3.createTextField("label", _local3.getNextHighestDepth(), 2, (((5 + wheight) * i) + cordy) + 3, 106, 20); _local3.label.embedFonts = true; _local3.label.setNewTextFormat(_local4); _local3.label.textColor = 16777215 /* 0xFFFFFF */; _local3.label.selectable = false; _local3.label.text = adescr[i]; _local3.label.multiline = false; _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); var _local4 = new TextFormat(); _local4.font = "roboto_condensed"; _local4.align = "center"; _local3.createEmptyMovieClip("descr", _local3.getNextHighestDepth()); drawOutline(_local3.descr, 10 + (i * 111), 85, 99, 19, 7829367); _local3.descr._alpha = 78; _local3.createTextField("label", _local3.getNextHighestDepth(), 7 + (i * 111), 85, 106, 20); _local3.label.embedFonts = true; _local3.label.setNewTextFormat(_local4); _local3.label.textColor = 16777215 /* 0xFFFFFF */; _local3.label.selectable = false; _local3.label.text = bdescr[i]; _local3.label.multiline = false; _local3.onRollOver = 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, 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(); }; setStage(); } 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 _local6 = Stage.width / _root.empty._width; var _local4 = Stage.height / _root.empty._height; var _local5; var _local3; if ((_local6 == Infinity) || (_local4 == Infinity)) { _root.logIt("Fuck stage:Infinity"); _local4 = 1; _local6 = _local4; } if ((_local6 == 0) || (_local4 == 0)) { _root.logIt("Fuck stage:0"); _local4 = 1; _local6 = _local4; } var _local2; if (_local6 <= _local4) { _root.empty._width = _root.empty._width * _local6; _root.empty._yscale = _root.empty._xscale; _local4 = _root.empty._height / _local4; _local5 = (Stage.width - _root.empty._width) / 2; _local3 = (Stage.height - _root.empty._height) / 2; if (Stage.height == 0) { _local3 = 0; _local5 = 0; } _root.exit._width = _root.exit._width * _local6; _root.exit._yscale = _root.exit._xscale; _root.prest._width = _root.prest._width * _local6; _root.prest._yscale = _root.prest._xscale; _root.player._width = _root.player._width * _local6; _root.player._yscale = _root.player._xscale; _root.choice._width = _root.choice._width * _local6; _root.choice._yscale = _root.player._xscale; var _local8 = (_root.choicea._height / _root.choicea._yscale) * 100; var _local7 = _root.empty._height / 392; if (_local8 > (_root.empty._height - (33 * _local7))) { _root.choicea._height = _root.empty._height - (33 * _local7); _root.choicea._xscale = _root.choicea._yscale; _root.choicea._y = _local3; } else { _root.choicea._xscale = (_root.choicea._yscale = 100); _root.choicea._y = _local3 + (((_root.empty._height - (33 * _local7)) - _root.choicea._height) / 2); } _local2 = (_root.choiceb._width / _root.choiceb._xscale) * 100; _local7 = _root.empty._width / 640; if (_local2 > (_root.empty._width - (130 * _local7))) { _root.choiceb._width = _root.empty._width - (130 * _local7); _root.choiceb._yscale = _root.choiceb._xscale; } else { _root.choiceb._xscale = (_root.choiceb._yscale = 100); } _root.choicea._x = (_root.empty._width - _root.choicea._width) - 5; _root.choiceb._x = 0; _root.choiceb._y = ((_local3 + _root.exit._height) - _root.choiceb._height) - ((37 * _root.exit._height) / 392); _root.skip._y = _local3; _root.empty._y = _local3; _root.exit._y = _local3; _root.prest._y = _local3; _root.player._y = _local3; _root.choice._y = _local3; _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 * _local4; _root.empty._xscale = _root.empty._yscale; _local5 = (Stage.width - _root.empty._width) / 2; _local3 = (Stage.height - _root.empty._height) / 2; if (Stage.width == 0) { _local3 = 0; _local5 = 0; } _root.exit._height = _root.exit._height * _local4; _root.exit._xscale = _root.exit._yscale; _root.prest._height = _root.prest._height * _local4; _root.prest._xscale = _root.prest._yscale; _root.player._height = _root.player._height * _local4; _root.player._xscale = _root.player._yscale; _root.choice._height = _root.choice._height * _local4; _root.choice._xscale = _root.choice._yscale; var _local8 = (_root.choicea._height / _root.choicea._yscale) * 100; var _local7 = _root.empty._height / 392; if (_local8 > (_root.empty._height - (33 * _local7))) { _root.choicea._height = _root.empty._height - (33 * _local7); _root.choicea._xscale = _root.choicea._yscale; _root.choicea._y = 0; } else { _root.choicea._xscale = (_root.choicea._yscale = 100); _root.choicea._y = _local3 + (((_root.empty._height - (33 * _local7)) - _root.choicea._height) / 2); } _local2 = (_root.choiceb._width / _root.choiceb._xscale) * 100; _local7 = _root.empty._width / 640; if (_local2 > (_root.empty._width - (130 * _local7))) { _root.choiceb._width = _root.empty._width - (130 * _local7); _root.choiceb._yscale = _root.choiceb._xscale; } else { _root.choiceb._xscale = (_root.choiceb._yscale = 100); } _root.choicea._x = _local5 + ((_root.empty._width - _root.choicea._width) - 5); _root.choiceb._x = _local5; _root.choiceb._y = ((_local3 + _root.exit._height) - _root.choiceb._height) - ((37 * _root.exit._height) / 392); _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 copy = "Created by slonyara email:mr.askme42@gmail.com"; 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 adescr = []; var bdescr = []; 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 47 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 48 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 49 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 50 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 Font [roboto_condensed]
Symbol 2 GraphicUsed by:29
Symbol 3 FontUsed by:4
Symbol 4 EditableTextUses:3Used by:29
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:29
Symbol 7 GraphicUsed by:8
Symbol 8 MovieClipUses:7Used by:29
Symbol 9 GraphicUsed by:14 17
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:14
Symbol 12 GraphicUsed by:13
Symbol 13 MovieClipUses:12Used by:14
Symbol 14 MovieClipUses:9 11 13Used by:29
Symbol 15 GraphicUsed by:17
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClipUses:9 15 16Used by:29
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:29
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:29
Symbol 22 GraphicUsed by:23 44
Symbol 23 MovieClipUses:22Used by:29
Symbol 24 VideoUsed by:29
Symbol 25 GraphicUsed by:28
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:28
Symbol 28 MovieClipUses:25 27Used by:29
Symbol 29 MovieClipUses:2 4 6 8 14 17 19 21 23 24 28Used by:30
Symbol 30 MovieClipUses:29Used by:Timeline
Symbol 31 GraphicUsed by:32 33
Symbol 32 MovieClipUses:31Used by:Timeline
Symbol 33 MovieClipUses:31Used by:Timeline
Symbol 34 GraphicUsed by:35 36 40 41
Symbol 35 MovieClipUses:34Used by:Timeline
Symbol 36 MovieClipUses:34Used by:Timeline
Symbol 37 FontUsed by:38 39
Symbol 38 TextUses:37Used by:40
Symbol 39 TextUses:37Used by:40
Symbol 40 ButtonUses:34 38 39Used by:Timeline
Symbol 41 MovieClipUses:34Used by:Timeline
Symbol 42 FontUsed by:43
Symbol 43 TextUses:42Used by:44
Symbol 44 MovieClipUses:22 43Used by:Timeline
Symbol 45 FontUsed by:46
Symbol 46 EditableTextUses:45Used by:Timeline
Symbol 47 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon]
Symbol 48 MovieClip [__Packages.mx.transitions.BroadcasterMX]
Symbol 49 MovieClip [__Packages.mx.transitions.Tween]
Symbol 50 MovieClip [__Packages.mx.transitions.easing.None]

Instance Names

"player"Frame 1Symbol 30 MovieClip
"choice"Frame 1Symbol 32 MovieClip
"exit"Frame 1Symbol 33 MovieClip
"choicea"Frame 1Symbol 35 MovieClip
"empty"Frame 1Symbol 36 MovieClip
"skip"Frame 1Symbol 40 Button
"choiceb"Frame 1Symbol 41 MovieClip
"prest"Frame 1Symbol 44 MovieClip
"ttttt"Frame 1Symbol 46 EditableText
"playheadTimer"Symbol 29 MovieClip Frame 1Symbol 4 EditableText
"seeker"Symbol 29 MovieClip Frame 1Symbol 6 MovieClip
"pointerSeek"Symbol 29 MovieClip Frame 1Symbol 8 MovieClip
"playPauseBtn"Symbol 29 MovieClip Frame 1Symbol 14 MovieClip
"muteBtn"Symbol 29 MovieClip Frame 1Symbol 17 MovieClip
"fullScreen"Symbol 29 MovieClip Frame 1Symbol 19 MovieClip
"volumeControl"Symbol 29 MovieClip Frame 1Symbol 21 MovieClip
"soundSlider"Symbol 29 MovieClip Frame 1Symbol 23 MovieClip
"videoM"Symbol 29 MovieClip Frame 1Symbol 24 Video
"goPlayHide"Symbol 29 MovieClip Frame 1Symbol 28 MovieClip
"videoContainer"Symbol 30 MovieClip Frame 1Symbol 29 MovieClip

Special Tags

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




http://swfchan.com/51/251494/info.shtml
Created: 28/3 -2023 01:28:03 Last modified: 28/3 -2023 01:28:03 Server time: 19/04 -2024 11:58:00