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>

Rick Roller.swf

This is the info page for
Flash #100665

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


Text
high

long

launch

Game over!

score:

Replay

Replay

<p align="left"><font face="_sans" size="26" color="#ff0000" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">Play more games </a></font></p>

<p align="left"><font face="_sans" size="26" color="#0033cc" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">www.onemorelevel.com</a></font></p>

0

distance:

best:

0

<p align="left"><font face="_sans" size="15" color="#ffffff" letterSpacing="0.000000" kerning="0"><a href="http://www.onemorelevel.com" target = "_blank">onemorelevel.com</a></font></p>

Rick Roller!

ActionScript [AS1/AS2]

Frame 1
function newGame() { var _local1 = 0; while (_local1 < objectArray.length) { removeMovieClip(objectArray[_local1].toString()); _local1++; } objectArray = []; if (projectile) { removeMovieClip("projectile"); } createCatapult(); } function createCatapult() { if (catapult) { removeMovieClip("catapult"); } this.attachMovie("catapult", "catapult", this.getNextHighestDepth(), {_x:-60, _y:250}); objectArray.push("catapult"); catapult.onEnterFrame = function () { catapult._x = catapult._x + 2; catapult.frontwheel._rotation = catapult.frontwheel._rotation + 5; catapult.backwheel._rotation = catapult.backwheel._rotation + 5; if (catapult._x > 130) { loadCatapult(); } }; } function loadCatapult() { delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation - 2; if (catapult.arm._rotation <= -90) { displayLaunchButton(); delete catapult.onEnterFrame; } }; } function displayLaunchButton() { this.attachMovie("launchbutton", "launchbutton", this.getNextHighestDepth(), {_x:80, _y:240}); launchbutton.onPress = function () { releaseCatapult(); }; } function releaseCatapult() { distance = 0; delete catapult.onEnterFrame; catapult.onEnterFrame = function () { catapult.arm._rotation = catapult.arm._rotation + 15; if (catapult.arm._rotation >= 0) { delete catapult.onEnterFrame; fireProjectile(); kirupaSound = new Sound(this); kirupaSound.attachSound("rickroll"); kirupaSound.start(0, 99); } }; } function fireProjectile() { this.attachMovie("projectile", "projectile", this.getNextHighestDepth(), {_x:catapult._x, _y:catapult._y}); projectile.dx = launchbutton.highorlong.highorlongslider._y / 5; projectile.dy = 20 - (launchbutton.highorlong.highorlongslider._y / 5); launchbutton.removeMovieClip(); onEnterFrame = function () { distance = distance + projectile.dx; dist = Math.floor(distance); if (dist > bestdist) { bestdist = dist; } projectile._rotation = projectile._rotation + 2; projectile._x = projectile._x + projectile.dx; projectile.dy = projectile.dy - 0.2; projectile._y = projectile._y - projectile.dy; if (projectile._x >= (Stage.width / 2)) { shiftObjects((Stage.width / 2) - projectile._x); projectile._x = Stage.width / 2; } if (projectile._y > (Stage.height - 20)) { projectile._y = Stage.height - 20; projectile.dy = projectile.dy * -0.7; projectile.dx = projectile.dx * 0.7; } switch (Math.floor(Math.random() * 100)) { case 2 : echo("gay"); addObject("youtube"); break; case 0 : trampcount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("trampoline") != -1) { trampcount++; } i++; } if (trampcount < 3) { addObject("trampoline"); } break; case 1 : fancount = 0; var i = 0; while (i < objectArray.length) { if (objectArray[i].indexOf("fan") != -1) { fancount++; } i++; } if (fancount >= 3) { break; } addObject("fan"); } var i = 0; while (i < objectArray.length) { if ((eval (objectArray[i].toString())._x + eval (objectArray[i].toString())._width) < 0) { removeMovieClip(objectArray[i].toString()); objectArray.splice(i, 1); } else if (objectArray[i].indexOf("trampoline") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dy = Math.abs(projectile.dy * 1.1); } } else if (objectArray[i].indexOf("fan") != -1) { if (projectile.hitTest(eval (objectArray[i].toString()))) { projectile.dx = projectile.dx * 1.1; } } i++; } if ((Math.abs(projectile.dy) < 0.1) && (projectile.dx < 0.1)) { delete onEnterFrame; loseGame(); } }; } function addObject(inputObject) { objectArray.push(inputObject + (++objectcount)); this.attachMovie(inputObject, inputObject + objectcount, this.getNextHighestDepth(), {_x:Stage.width + 15, _y:Stage.height}); projectile.swapDepths(this.getNextHighestDepth()); } function shiftObjects(shiftdistance) { var i = 0; while (i < objectArray.length) { eval (objectArray[i])._x = eval (objectArray[i])._x + shiftdistance; i++; } floor._x = (floor._x + shiftdistance) % (floor._width / 2); } function loseGame() { stopAllSounds(); this.attachMovie("losescreen", "losescreen", this.getNextHighestDepth(), {_x:Stage.width / 2, _y:Stage.height / 2}); losescreen.score.text = Math.floor(distance); losescreen.replay.onPress = function () { newGame(); removeMovieClip(losescreen); }; } var objectArray = new Array(); var objectcount = 0; var distance = 0; newGame();

Library Items

Symbol 1 Sound [rickroll]
Symbol 2 GraphicUsed by:5
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClip [highorlongslider]Uses:3Used by:5
Symbol 5 MovieClip [highorlong]Uses:2 4Used by:11
Symbol 6 FontUsed by:7 8 10 28 29 30 31 33 35 36 41 42 43 44 45
Symbol 7 EditableTextUses:6Used by:11
Symbol 8 EditableTextUses:6Used by:11
Symbol 9 GraphicUsed by:11
Symbol 10 EditableTextUses:6Used by:11
Symbol 11 MovieClip [launchbutton]Uses:5 7 8 9 10
Symbol 12 BitmapUsed by:13
Symbol 13 GraphicUses:12Used by:14
Symbol 14 MovieClip [catapultarm]Uses:13Used by:18
Symbol 15 BitmapUsed by:16
Symbol 16 GraphicUses:15Used by:18
Symbol 17 MovieClip [catapultwheel]Used by:18
Symbol 18 MovieClip [catapult]Uses:14 16 17
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:19Used by:21
Symbol 21 MovieClip [projectile]Uses:20
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:22Used by:24
Symbol 24 MovieClip [fan]Uses:23
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:25Used by:27
Symbol 27 MovieClip [trampoline]Uses:26
Symbol 28 EditableTextUses:6Used by:37
Symbol 29 EditableTextUses:6Used by:37
Symbol 30 EditableTextUses:6Used by:37
Symbol 31 EditableTextUses:6Used by:34
Symbol 32 GraphicUsed by:34
Symbol 33 EditableTextUses:6Used by:34
Symbol 34 ButtonUses:31 32 33Used by:37
Symbol 35 EditableTextUses:6Used by:37
Symbol 36 EditableTextUses:6Used by:37
Symbol 37 MovieClip [losescreen]Uses:28 29 30 34 35 36
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClip [floor]Uses:38Used by:Timeline
Symbol 40 GraphicUsed by:Timeline
Symbol 41 EditableTextUses:6Used by:Timeline
Symbol 42 EditableTextUses:6Used by:Timeline
Symbol 43 EditableTextUses:6Used by:Timeline
Symbol 44 EditableTextUses:6Used by:Timeline
Symbol 45 EditableTextUses:6Used by:Timeline
Symbol 46 FontUsed by:47
Symbol 47 EditableTextUses:46Used by:Timeline

Instance Names

"floor"Frame 1Symbol 39 MovieClip [floor]
"highorlongslider"Symbol 5 MovieClip [highorlong] Frame 1Symbol 4 MovieClip [highorlongslider]
"highorlong"Symbol 11 MovieClip [launchbutton] Frame 1Symbol 5 MovieClip [highorlong]
"arm"Symbol 18 MovieClip [catapult] Frame 1Symbol 14 MovieClip [catapultarm]
"backwheel"Symbol 18 MovieClip [catapult] Frame 1Symbol 17 MovieClip [catapultwheel]
"frontwheel"Symbol 18 MovieClip [catapult] Frame 1Symbol 17 MovieClip [catapultwheel]
"score"Symbol 37 MovieClip [losescreen] Frame 1Symbol 30 EditableText
"replay"Symbol 37 MovieClip [losescreen] Frame 1Symbol 34 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS1/AS2.
ExportAssets (56)Timeline Frame 1Symbol 1 as "rickroll"
ExportAssets (56)Timeline Frame 1Symbol 4 as "highorlongslider"
ExportAssets (56)Timeline Frame 1Symbol 5 as "highorlong"
ExportAssets (56)Timeline Frame 1Symbol 11 as "launchbutton"
ExportAssets (56)Timeline Frame 1Symbol 14 as "catapultarm"
ExportAssets (56)Timeline Frame 1Symbol 17 as "catapultwheel"
ExportAssets (56)Timeline Frame 1Symbol 18 as "catapult"
ExportAssets (56)Timeline Frame 1Symbol 21 as "projectile"
ExportAssets (56)Timeline Frame 1Symbol 24 as "fan"
ExportAssets (56)Timeline Frame 1Symbol 27 as "trampoline"
ExportAssets (56)Timeline Frame 1Symbol 37 as "losescreen"
ExportAssets (56)Timeline Frame 1Symbol 39 as "floor"

Dynamic Text Variables

distSymbol 41 EditableText"0"
bestdistSymbol 44 EditableText"0"




http://swfchan.com/21/100665/info.shtml
Created: 21/3 -2019 04:31:33 Last modified: 21/3 -2019 04:31:33 Server time: 22/12 -2024 10:35:30