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

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

Casino Deluxe 7.swf

This is the info page for
Flash #214353

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


ActionScript [AS1/AS2]
Frame 8
stop();
Instance of Symbol 64 MovieClip "slotmachine" in Frame 8
onClipEvent (load) { this.isSpinning = false; this.isAccelerating = false; this.framecounter = 0; this.sndSpinning = new Sound(this); this.sndJingle = new Sound(_root); this.sndJingle.attachSound("Slot Machine Jingle.wav"); this.roundcounter = 0; this.lastRound = 1; this.randint = function (n) { return(Math.round(Math.random() * (n - 1))); }; this.setRandomSymbols = function (slot) { slot.symbols.gotoAndStop(Math.round(Math.random() * slot.symbols._totalframes)); }; this.doSlowing = function (slot) { if (!slot.isSlowing) { slot.speed = slot.speed - randint(3); if (slot.speed <= 1) { slot.speed = 1; } if (slot.speed == 1) { if (roundcounter >= lastRound) { slot.stopAtSymbol = 0; slot.symbols.symbols1.gotoAndStop(2); slot.symbols.symbols2.gotoAndStop(2); slot.symbols.symbols3.gotoAndStop(2); } else { slot.stopAtSymbol = randint(9); } slot.stopAtFrame = (Math.round(slot.stopAtSymbol * 7.11111111111111) % 64) + 1; slot.isSlowing = true; sndSpinning.setVolume(sndSpinning.getVolume() * 0.666666666666667); } } }; this.initSlotmachine = function () { slot1.symbols.gotoAndStop(1); slot2.symbols.gotoAndStop(2); slot3.symbols.gotoAndStop(3); slot1.gotoAndStop(slot1._currentframe); slot2.gotoAndStop(slot2._currentframe); slot3.gotoAndStop(slot3._currentframe); slot1.symbols.symbols1.gotoAndStop(1); slot1.symbols.symbols2.gotoAndStop(1); slot1.symbols.symbols3.gotoAndStop(1); slot2.symbols.symbols1.gotoAndStop(1); slot2.symbols.symbols2.gotoAndStop(1); slot2.symbols.symbols3.gotoAndStop(1); slot3.symbols.symbols1.gotoAndStop(1); slot3.symbols.symbols2.gotoAndStop(1); slot3.symbols.symbols3.gotoAndStop(1); isSpinning = false; }; this.startSpinning = function () { roundcounter = roundcounter + 1; framecounter = 0; slot1.speed = 1; slot2.speed = 1; slot3.speed = 1; slot1.gotoAndPlay(slot1._currentframe); slot2.gotoAndPlay(slot2._currentframe); slot3.gotoAndPlay(slot3._currentframe); slot1.stopAtSymbol = 0; slot2.stopAtSymbol = 0; slot3.stopAtSymbol = 0; slot1.stopAtFrame = 1; slot2.stopAtFrame = 1; slot3.stopAtFrame = 1; slot1.isSlowing = false; slot2.isSlowing = false; slot3.isSlowing = false; isSpinning = true; isAccelerating = true; sndSpinning.attachSound("Slot Machine Spinning.wav"); sndSpinning.setVolume(35); sndSpinning.start(); }; btnSpin.onPress = function () { if ((!_root.slotmachine.isSpinning) && (_root.slotmachine.roundcounter < _root.slotmachine.lastRound)) { _root.slotmachine.startSpinning(); _root.slotmachine.isSpinning = true; _root.slotmachine.sndJingle.stop(); _root.slotmachine.sndJingle.setVolume(100); _root.slotmachine.sndJingle.start(); _root.slotmachine.sndMusic01.start(); } }; initSlotmachine(); lastRound = randint(3) + 2; } onClipEvent (enterFrame) { if (isSpinning) { slot1.gotoAndStop((((slot1._currentframe - 1) + slot1.speed) % 64) + 1); slot2.gotoAndStop((((slot2._currentframe - 1) + slot2.speed) % 64) + 1); slot3.gotoAndStop((((slot3._currentframe - 1) + slot3.speed) % 64) + 1); if (slot1.isSlowing && (slot1._currentframe == slot1.stopAtFrame)) { slot1.speed = 0; } if (slot2.isSlowing && (slot2._currentframe == slot2.stopAtFrame)) { slot2.speed = 0; } if (slot3.isSlowing && (slot3._currentframe == slot3.stopAtFrame)) { slot3.speed = 0; } if (((((slot1.isSlowing && (slot1.speed == 0)) && (slot2.isSlowing)) && (slot2.speed == 0)) && (slot3.isSlowing)) && (slot3.speed == 0)) { isSpinning = false; sndSpinning.stop(); if (roundcounter >= lastRound) { btnSpin.enabled = false; _parent.gotoAndPlay(_parent._currentframe + 1); } else { sndSpinning.attachSound(("_8bitMusicPattern0" + String(randint(5) + 1)) + ".wav"); sndSpinning.setVolume(100); sndSpinning.start(); } } if (isAccelerating) { if ((framecounter % 32) == 0) { slot1.speed = slot1.speed + randint(3); slot2.speed = slot2.speed + randint(3); slot3.speed = slot3.speed + randint(3); if (Math.max(Math.max(slot1.speed, slot2.speed), slot3.speed) >= 5) { isAccelerating = false; } } } else if ((framecounter % 64) == 0) { doSlowing(slot1); doSlowing(slot2); doSlowing(slot3); } framecounter = framecounter + 1; } }
Instance of Symbol 64 MovieClip in Frame 90
onClipEvent (load) { slot1.symbols.gotoAndStop(1); slot2.symbols.gotoAndStop(2); slot3.symbols.gotoAndStop(3); slot1.gotoAndStop(slot1._currentframe); slot2.gotoAndStop(slot2._currentframe); slot3.gotoAndStop(slot3._currentframe); slot1.symbols.symbols1.gotoAndStop(2); slot1.symbols.symbols2.gotoAndStop(2); slot1.symbols.symbols3.gotoAndStop(2); slot2.symbols.symbols1.gotoAndStop(2); slot2.symbols.symbols2.gotoAndStop(2); slot2.symbols.symbols3.gotoAndStop(2); slot3.symbols.symbols1.gotoAndStop(2); slot3.symbols.symbols2.gotoAndStop(2); slot3.symbols.symbols3.gotoAndStop(2); btnSpin.enabled = false; }
Frame 118
stop();
Symbol 25 Button
on (release) { startMovie(); }
Symbol 26 MovieClip Frame 1
function timerHandler() { if (!loadingComplete) { var loaded = (_root.getBytesLoaded() / _root.getBytesTotal()); bar._xscale = 100 * loaded; if (loaded == 1) { loadingComplete = true; if (AUTO_PLAY) { startMovie(); } else { gotoAndStop (2); } return(undefined); } } dt = getTimer() - time; time = time + dt; frameAccum = frameAccum + dt; var i = 0; while ((frameAccum >= FRAME_TIME) && (i < MAX_FRAME_SKIP)) { advanceFrame(tankLogo, true, true); advanceFrame(barGfx, false, true); if (loadingComplete) { advanceFrame(this, false, false); } (frameAccum = frameAccum - FRAME_TIME); i++; } updateAfterEvent(); } function advanceFrame(clip, recurse, loop) { if (!clip) { return(undefined); } clip.stop(); if (clip._currentframe == clip._totalframes) { if (loop) { clip.gotoAndStop(1); } } else { clip.nextFrame(); } if (recurse) { for (childName in clip) { if (typeof(clip[childName]) == "movieclip") { advanceFrame(clip[childName], recurse, loop); } } } } function startMovie() { clearInterval(intervalId); _root.play(); } _root.stop(); stop(); var FRAME_TIME = 33.3333333333333; var AUTO_PLAY = false; var MAX_FRAME_SKIP = 5; var loadingComplete; var intervalId; var time; var frameAccum; loadingComplete = false; intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2); frameAccum = 0; time = getTimer(); timerHandler();
Symbol 26 MovieClip Frame 2
stop();
Symbol 52 MovieClip Frame 1
stop();
Symbol 52 MovieClip Frame 2
stop();
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 2
stop();
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 123
stop();

Library Items

Symbol 1 Sound [Slot Machine Spinning.wav]
Symbol 2 Sound [Slot Machine Jingle.wav]
Symbol 3 Sound [_8bitMusicPattern05.wav]
Symbol 4 Sound [_8bitMusicPattern04.wav]
Symbol 5 Sound [_8bitMusicPattern03.wav]
Symbol 6 Sound [_8bitMusicPattern02.wav]
Symbol 7 Sound [_8bitMusicPattern01.wav]
Symbol 8 GraphicUsed by:9
Symbol 9 MovieClipUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:Timeline
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:Timeline
Symbol 17 GraphicUsed by:26
Symbol 18 GraphicUsed by:19
Symbol 19 MovieClipUses:18Used by:26
Symbol 20 GraphicUsed by:25
Symbol 21 GraphicUsed by:25
Symbol 22 GraphicUsed by:25
Symbol 23 GraphicUsed by:25
Symbol 24 GraphicUsed by:25
Symbol 25 ButtonUses:20 21 22 23 24Used by:26
Symbol 26 MovieClipUses:17 19 25Used by:Timeline
Symbol 27 GraphicUsed by:64
Symbol 28 GraphicUsed by:64
Symbol 29 GraphicUsed by:64
Symbol 30 GraphicUsed by:64
Symbol 31 GraphicUsed by:58
Symbol 32 GraphicUsed by:33
Symbol 33 MovieClipUses:32Used by:52 53 54
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:52 53 54
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:52 53 54
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:52 53 54
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:52 53 54
Symbol 42 GraphicUsed by:43
Symbol 43 MovieClipUses:42Used by:52 53 54
Symbol 44 GraphicUsed by:45
Symbol 45 MovieClipUses:44Used by:52 53 54
Symbol 46 GraphicUsed by:47
Symbol 47 MovieClipUses:46Used by:52 53 54
Symbol 48 GraphicUsed by:49
Symbol 49 MovieClipUses:48Used by:52 53 54
Symbol 50 GraphicUsed by:51
Symbol 51 MovieClipUses:50Used by:52 53 54
Symbol 52 MovieClipUses:33 35 37 39 41 43 45 47 49 51Used by:55
Symbol 53 MovieClipUses:35 37 45 41 43 39 33 49 47 51Used by:55
Symbol 54 MovieClipUses:41 49 39 35 43 33 47 37 45 51Used by:55
Symbol 55 MovieClipUses:52 53 54Used by:58
Symbol 56 GraphicUsed by:58
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClipUses:31 55 56 57Used by:64
Symbol 59 GraphicUsed by:63
Symbol 60 GraphicUsed by:63
Symbol 61 GraphicUsed by:63
Symbol 62 SoundUsed by:63
Symbol 63 ButtonUses:59 60 61 62Used by:64
Symbol 64 MovieClipUses:27 28 29 30 58 63Used by:Timeline
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:82
Symbol 67 GraphicUsed by:82
Symbol 68 BitmapUsed by:69
Symbol 69 GraphicUses:68Used by:82
Symbol 70 BitmapUsed by:71
Symbol 71 GraphicUses:70Used by:80
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:72Used by:80
Symbol 74 BitmapUsed by:75
Symbol 75 GraphicUses:74Used by:80
Symbol 76 BitmapUsed by:77
Symbol 77 GraphicUses:76Used by:80
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:78Used by:80
Symbol 80 MovieClipUses:71 73 75 77 79Used by:82
Symbol 81 SoundUsed by:82
Symbol 82 MovieClipUses:66 67 69 80 81 SS1Used by:Timeline
Streaming Sound 1Used by:Symbol 82 MovieClip

Instance Names

"slotmachine"Frame 8Symbol 64 MovieClip
"loadingText"Symbol 26 MovieClip Frame 1Symbol 19 MovieClip
"symbols1"Symbol 55 MovieClip Frame 1Symbol 52 MovieClip
"symbols2"Symbol 55 MovieClip Frame 2Symbol 53 MovieClip
"symbols3"Symbol 55 MovieClip Frame 3Symbol 54 MovieClip
"symbols"Symbol 58 MovieClip Frame 1Symbol 55 MovieClip
"slot2"Symbol 64 MovieClip Frame 1Symbol 58 MovieClip
"slot1"Symbol 64 MovieClip Frame 1Symbol 58 MovieClip
"slot3"Symbol 64 MovieClip Frame 1Symbol 58 MovieClip
"btnSpin"Symbol 64 MovieClip Frame 1Symbol 63 Button

Special Tags

ExportAssets (56)Timeline Frame 1Symbol 1 as "Slot Machine Spinning.wav"
ExportAssets (56)Timeline Frame 1Symbol 2 as "Slot Machine Jingle.wav"
ExportAssets (56)Timeline Frame 1Symbol 3 as "_8bitMusicPattern05.wav"
ExportAssets (56)Timeline Frame 1Symbol 4 as "_8bitMusicPattern04.wav"
ExportAssets (56)Timeline Frame 1Symbol 5 as "_8bitMusicPattern03.wav"
ExportAssets (56)Timeline Frame 1Symbol 6 as "_8bitMusicPattern02.wav"
ExportAssets (56)Timeline Frame 1Symbol 7 as "_8bitMusicPattern01.wav"

Labels

"loaded"Symbol 26 MovieClip Frame 2




http://swfchan.com/43/214353/info.shtml
Created: 21/7 -2019 23:54:23 Last modified: 21/7 -2019 23:54:23 Server time: 01/06 -2020 05:27:55