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

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

Secret Santa by PirateGigs.swf

This is the info page for
Flash #165318

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


Text
LOADING

click and drag.

ActionScript [AS1/AS2]

Instance of Symbol 11 MovieClip "Preloader" in Frame 2
onClipEvent (load) { if (_parent.getBytesTotal() < 1000) { fileSize = Math.floor(_parent.getBytesTotal()) + "bytes"; } else if (_parent.getBytesTotal() > 1000000) { fileSize = math.floor(_parent.getBytesTotal() / 1000000) + "mb"; } else { fileSize = math.floor(_parent.getBytesTotal() / 1000) + "k"; } message = ""; } onClipEvent (enterFrame) { percent = Math.floor((_parent.getBytesLoaded() / _parent.getBytesTotal()) * 100); output = ((percent + "% of ") + filesize) + " loaded"; Bar._xscale = percent; if (percent == 100) { this._visible = 0; } }
Frame 19
stop();
Symbol 21 MovieClip Frame 1
function makePage(targ, xQuadrant) { with (targ) { beginFill(pageColor, 100); moveTo(0, -pageWi); lineTo(0, -pageWiHi); lineTo(xQuadrant * pageWi, -pageWiHi); lineTo(xQuadrant * pageWi, -pageWi); endFill(); } } function makeShade(targ, xQuadrant) { with (targ) { var colors = [0, 0, 0, 0, 0, 0, 0]; var alphas = [40, 25, 15, 5, 0, 1, 6]; var ratios = [0, 1, 17, 51, 89, 132, 255]; var matrix = {matrixType:"box", x:0, y:pageWi, w:xQuadrant * pageWi, h:pageHi, r:0}; beginGradientFill("linear", colors, alphas, ratios, matrix); moveTo(0, -pageWi); lineTo(0, -pageWiHi); lineTo(xQuadrant * pageWi, -pageWiHi); lineTo(xQuadrant * pageWi, -pageWi); endFill(); } } function makeShadow(targ, xQuadrant) { with (targ) { var colors = [0, 0, 0, 0, 0, 0, 0]; var alphas = [40, 25, 15, 5, 0, 1, 6]; var ratios = [0, 1, 17, 51, 89, 132, 255]; var maxLength = Math.sqrt((pageWi * pageWi) + (pageWiHi * pageWiHi)); var matrix = {matrixType:"box", x:0, y:-maxLength, w:xQuadrant * pageWi, h:maxLength - pageWi, r:0}; beginGradientFill("linear", colors, alphas, ratios, matrix); moveTo(0, -pageWi); lineTo(0, -maxLength); lineTo(xQuadrant * pageWi, -maxLength); lineTo(xQuadrant * pageWi, -pageWi); endFill(); } } function setStationary() { createEmptyMovieClip("SLPage", 1); if (flipPage != 1.5) { makePage(SLPage, -1); SLPage.attachMovie("print" + (flipPage - 1.5), "Print", 1); with (SLPage.Print) { _x = (-pageWi) / 2; _y = -pivotY; } } createEmptyMovieClip("SRPage", 2); if (flipPage != (maxPages - 0.5)) { makePage(SRPage, 1); SRPage.attachMovie("print" + (flipPage + 1.5), "Print", 1); with (SRPage.Print) { _x = pageWi / 2; _y = -pivotY; } } var targ = ((dir > 0) ? (SLPage) : (SRPage)); targ.createEmptyMovieClip("Shade", 2); makeShade(targ.Shade, -dir); } function setFlipping() { var targ; createEmptyMovieClip("FTPage", 3); makePage(FTPage, dir); with (FTPage) { attachMovie("print" + (flipPage - (dir * 0.5)), "Print", 1); with (Print) { _x = (dir * pageWi) / 2; _y = -pivotY; } } FTPage.createEmptyMovieClip("Shade", 2); makeShade(FTPage.Shade, dir); createEmptyMovieClip("FBPage", 4); makePage(FBPage, -dir); FBPage.attachMovie("print" + (flipPage + (dir * 0.5)), "Print", 1); with (FBPage.Print) { _x = ((-dir) * pageWi) / 2; _y = -pivotY; } FBPage._rotation = dir * 90; } function setShadows() { var targ; this.createEmptyMovieClip("FShadow", 5); makeShadow(FShadow, -dir); FShadow._rotation = dir * 45; this.createEmptyMovieClip("SShadow", 6); makeShadow(SShadow, dir); SShadow._rotation = dir * 45; } function makeMasks() { this.createEmptyMovieClip("FBPageMask", 7); with (FBPageMask) { beginFill(21760, 100); lineTo(pageWiHi, -pageWiHi); curveTo(0, -2 * pageWiHi, -pageWiHi, -pageWiHi); endFill(); } FBPageMask.duplicateMovieClip("FTPageMask", 8); this.createEmptyMovieClip("FShadowMask", 9); makePage(FShadowMask, -dir); FShadowMask._rotation = dir * 90; this.createEmptyMovieClip("SShadowMask", 10); makePage(SShadowMask, dir); FBPage.setMask(FBPageMask); FTPage.setMask(FTPageMask); FShadow.setMask(FShadowMask); SShadow.setMask(SShadowMask); } function limitBook() { if (flipPage == 1.5) { SLPage._visible = 0; LButton._visible = 0; SShadow._visible = 0; if (dir == 1) { FTPage.Shade._alpha = 67; SShadow._visible = 1; } else { FShadow._alpha = 67; } } else if (flipPage == (maxPages - 0.5)) { SRPage._visible = 0; RButton._visible = 0; SShadow._visible = 0; if (dir == -1) { FTPage.Shade._alpha = 67; SShadow._visible = 1; } else { FShadow._alpha = 67; } } } function pageInit(cp, d) { flipPage = cp; dir = d; setStationary(); setFlipping(); setShadows(); makeMasks(); limitBook(); } function flip(curVal) { var _local1 = (dir * 45) * curVal; FBPageMask._rotation = (FTPageMask._rotation = -_local1); FBPage._rotation = (FShadowMask._rotation = (dir * 90) - (_local1 * 2)); FShadow._rotation = (SShadow._rotation = (dir * 45) - _local1); } function getPageRatio() { if (dragging) { pageRatio = ((-dir) * ((_xmouse - startX) - (dir * 20))) / (2 * pageWi); } else { ((pageRatio > 0.666666666666667) ? ((pageRatio = pageRatio + autoStep)) : ((pageRatio = pageRatio - autoStep))); } if (pageRatio <= 0) { pageRatio = 0; if (!dragging) { flipDone(); } } else if (pageRatio >= 1) { pageRatio = 1; if (!dragging) { flipDone(); } } return(pageRatio); } function startFlip(dir) { var _local1 = dir; pageInit(curPage + _local1, _local1); startX = _local1 * pageWi; dragging = true; RButton._alpha = 0; Lbutton._alpha = 0; this.onEnterFrame = function () { flip(getPageRatio()); }; } function flipRelease() { dragging = false; if (pageRatio > 0.666666666666667) { curPage = curPage + (2 * dir); } } function flipDone() { this.onEnterFrame = null; RButton._alpha = 100; LButton._alpha = 100; if (curPage != 0.5) { LButton._visible = 1; } if (curPage != (maxPages + 0.5)) { RButton._visible = 1; } if (pageRatio == 0) { FShadow.removeMovieClip(); FShadowMask.removeMovieClip(); SShadow.removeMovieClip(); SShadowMask.removeMovieClip(); FBPage.removeMovieClip(); FBPageMask.removeMovieClip(); if (dir == 1) { SRPage.removeMovieClip(); } else { SLPage.removeMovieClip(); } } else { FTPage.removeMovieClip(); if (dir == -1) { SRPage.removeMovieClip(); } else { SLPage.removeMovieClip(); } } FTPageMask.removeMovieClip(); } stop(); _level0.pagesAbs = this; var pageWi = 630; var pageHi = 842; var pageWiHi = (pageWi + pageHi); var pivotY = ((pageHi / 2) + pageWi); var pageColor = 16777189; var dir = 1; var flipPage = 1.5; var curPage = 0.5; var maxPages = 16; var autoStep = 0.05; var dragging = false; this.attachMovie("cornerButton", "RButton", 11); with (RButton) { _x = pageWi; _y = -pageWi; } this.attachMovie("cornerButton", "LButton", 12); with (LButton) { _x = -pageWi; _y = -pageWi; _xscale = -100; } pageInit(flipPage, dir); _y = (_y + pivotY); LButton.onPress = function () { startFlip(-1); }; LButton.onReleaseOutside = function () { flipRelease(); }; LButton.onRelease = function () { flipRelease(); }; RButton.onPress = function () { startFlip(1); }; RButton.onReleaseOutside = function () { flipRelease(); }; RButton.onRelease = function () { flipRelease(); };

Library Items

Symbol 1 GraphicUsed by:3
Symbol 2 GraphicUsed by:3  Timeline
Symbol 3 Button [cornerButton]Uses:1 2
Symbol 4 FontUsed by:5 12
Symbol 5 EditableTextUses:4Used by:11
Symbol 6 FontUsed by:7
Symbol 7 EditableTextUses:6Used by:11
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:11
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:5 7 9 10Used by:Timeline
Symbol 12 TextUses:4Used by:16
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:13Used by:16
Symbol 15 SoundUsed by:16 19 24 25 28 29 32 33 36 38 41 42 45 46 49
Symbol 16 MovieClip [print1]Uses:12 14 15Used by:Timeline
Symbol 17 BitmapUsed by:18
Symbol 18 GraphicUses:17Used by:19 25 29 33 38 42 46 50
Symbol 19 MovieClip [print2]Uses:18 15Used by:Timeline
Symbol 20 GraphicUsed by:21
Symbol 21 MovieClipUses:20Used by:Timeline
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClip [print3]Uses:23 15Used by:Timeline
Symbol 25 MovieClip [print4]Uses:18 15Used by:Timeline
Symbol 26 BitmapUsed by:27
Symbol 27 GraphicUses:26Used by:28
Symbol 28 MovieClip [print5]Uses:27 15Used by:Timeline
Symbol 29 MovieClip [print6]Uses:18 15Used by:Timeline
Symbol 30 BitmapUsed by:31
Symbol 31 GraphicUses:30Used by:32
Symbol 32 MovieClip [print7]Uses:31 15Used by:Timeline
Symbol 33 MovieClip [print8]Uses:18 15Used by:Timeline
Symbol 34 BitmapUsed by:35
Symbol 35 GraphicUses:34Used by:36
Symbol 36 MovieClip [print9]Uses:35 15Used by:Timeline
Symbol 37 GraphicUsed by:38 41 42 45 46 49 50
Symbol 38 MovieClip [print10]Uses:18 37 15Used by:Timeline
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:41
Symbol 41 MovieClip [print11]Uses:40 37 15Used by:Timeline
Symbol 42 MovieClip [print12]Uses:18 37 15Used by:Timeline
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:45
Symbol 45 MovieClip [print13]Uses:44 37 15Used by:Timeline
Symbol 46 MovieClip [print14]Uses:18 37 15Used by:Timeline
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:49
Symbol 49 MovieClip [print15]Uses:48 37 15Used by:Timeline
Symbol 50 MovieClip [print16]Uses:18 37Used by:Timeline

Instance Names

"Preloader"Frame 2Symbol 11 MovieClip
"print1"Frame 3Symbol 16 MovieClip [print1]
"print2"Frame 4Symbol 19 MovieClip [print2]
"Pages"Frame 5Symbol 21 MovieClip
"print3"Frame 5Symbol 24 MovieClip [print3]
"print4"Frame 6Symbol 25 MovieClip [print4]
"print5"Frame 7Symbol 28 MovieClip [print5]
"print6"Frame 8Symbol 29 MovieClip [print6]
"print7"Frame 9Symbol 32 MovieClip [print7]
"print8"Frame 10Symbol 33 MovieClip [print8]
"Bar"Symbol 11 MovieClip Frame 1Symbol 9 MovieClip

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 3 as "cornerButton"
ExportAssets (56)Timeline Frame 3Symbol 16 as "print1"
ExportAssets (56)Timeline Frame 4Symbol 19 as "print2"
ExportAssets (56)Timeline Frame 5Symbol 24 as "print3"
ExportAssets (56)Timeline Frame 6Symbol 25 as "print4"
ExportAssets (56)Timeline Frame 7Symbol 28 as "print5"
ExportAssets (56)Timeline Frame 8Symbol 29 as "print6"
ExportAssets (56)Timeline Frame 9Symbol 32 as "print7"
ExportAssets (56)Timeline Frame 10Symbol 33 as "print8"
ExportAssets (56)Timeline Frame 11Symbol 36 as "print9"
ExportAssets (56)Timeline Frame 12Symbol 38 as "print10"
ExportAssets (56)Timeline Frame 13Symbol 41 as "print11"
ExportAssets (56)Timeline Frame 14Symbol 42 as "print12"
ExportAssets (56)Timeline Frame 15Symbol 45 as "print13"
ExportAssets (56)Timeline Frame 16Symbol 46 as "print14"
ExportAssets (56)Timeline Frame 17Symbol 49 as "print15"
ExportAssets (56)Timeline Frame 18Symbol 50 as "print16"

Dynamic Text Variables

messageSymbol 5 EditableText"LOADING"
outputSymbol 7 EditableText""




http://swfchan.com/34/165318/info.shtml
Created: 19/10 -2018 02:01:44 Last modified: 19/10 -2018 02:01:44 Server time: 22/12 -2024 10:44:59