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/43689596?noj=FRM43689596-22DC" width="1" height="1"></div>

Sync n' Swing.swf

This is the info page for
Flash #69295

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


Text
Sorry, you got an old
version of flash.

Because of this games super
awesomeness, it uses actionscript 3.
But, this means you need flash player 9
or above.

<p align="center"><font face="Impact" size="30" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" target = "_blank">Download, then refresh the page.</a></font></p>

PLAY

Play

How To Play

Credits

In this game, you need to collect all of the orbs with the swinger-thing,  using either
the mouse or the arrow keys. The more orbs the better.  More orbs, means more
points.
The orbs are generated automaticly by the song that you pick, using a nice little
function only used in actionscript 3. So, if you wanna level with lots of them, pick a
beaty kinda song. Some people didnt get this, so I'd thought I'd let you know. Pretty
clever, eh?

Main Menu

The swinger-thing

Orbs

Mouse

Arrows

Play the game using the Arrow Keys

Play the game using the Mouse

PICK A SONG!

Chaoz Survivor - ParagonX9

Arabian Assasin- Cornandbeans

Runnin - Beatbreaker187

Chaoz Japan = ParagonX9

Score:

<p align="left"><font face="Impact" size="23" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>0</b></font></p>

COMPLETE!!!

RESULTS

<p align="left"><font face="Impact" size="22" color="#ffffff" letterSpacing="0.000000" kerning="1"><b>Commentry will be here :D</b></font></p>

Main Menu

CREDITS

This game was programed by the great trig1, completely in AS3,
which is an incredibly annoying language to write. This game
was completely designed by Blackfang, who is a super awesome
artist / designer type person. It was made for the Newgrounds
and Armor Games Rockout competion.

<p align="center"><font face="Impact" size="18" color="#ffffff" letterSpacing="0.000000" kerning="1"><a href="http://john.tringham.co.uk" target = "_blank">trig1</a> thanks...</font></p>

Blackfang thanks...

- Delta for his awesome open source class
for key inputs. Twas really helpful.
-  Denvish for AS3 main.
- Blackfang for continually pestering me to
hurry up. Oh yeah, and his art.
- Flash regs.
- My brother Jamie, my friend Joe, and  my
Dad.
- AG and NG for giving us lotsa dosh (hopefully)

- Trig for his awesome coding with AS3
(like Japanese if u ask me)
- Cornandbeans + Dreamscaper for thier
great songs for this game
- Newgrounds and Armor games for
making this competion.

ActionScript [AS3]

Section 1
//Key (delta.ui.Key) package delta.ui { import flash.events.*; public class Key { private var keys:Array; public function Key(_arg1:Object):void{ keys = new Array(222); _arg1.addEventListener(KeyboardEvent.KEY_DOWN, downhandle, false, 0, true); _arg1.addEventListener(KeyboardEvent.KEY_UP, uphandle, false, 0, true); } private function uphandle(_arg1:KeyboardEvent):void{ keys[_arg1.keyCode] = false; } public function isUp(_arg1:uint, ... _args):Boolean{ var _local3:uint; if (_args.length == 0){ return (!(keys[_arg1])); }; if (keys[_arg1]){ return (false); }; _local3 = 0; while (_local3 < _args.length) { if (keys[_args[_local3]]){ return (false); }; _local3++; }; return (true); } private function downhandle(_arg1:KeyboardEvent):void{ keys[_arg1.keyCode] = true; } public function isDown(_arg1:uint, ... _args):Boolean{ var _local3:uint; if (_args.length == 0){ return (keys[_arg1]); }; if (!(keys[_arg1])){ return (false); }; _local3 = 0; while (_local3 < _args.length) { if (!(keys[_args[_local3]])){ return (false); }; _local3++; }; return (true); } } }//package delta.ui
Section 2
//coins (coins) package { import flash.display.*; public dynamic class coins extends MovieClip { } }//package
Section 3
//NG20703 (NG20703) package { import flash.media.*; public dynamic class NG20703 extends Sound { } }//package
Section 4
//NG37040 (NG37040) package { import flash.media.*; public dynamic class NG37040 extends Sound { } }//package
Section 5
//NG62399 (NG62399) package { import flash.media.*; public dynamic class NG62399 extends Sound { } }//package
Section 6
//NG85732 (NG85732) package { import flash.media.*; public dynamic class NG85732 extends Sound { } }//package
Section 7
//Timeline0_60d642274c24bb4f939b2822a7fc2a4d (Timeline0_60d642274c24bb4f939b2822a7fc2a4d) package { import adobe.utils.*; import flash.accessibility.*; import flash.display.*; import flash.errors.*; import flash.events.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; import delta.ui.*; public dynamic class Timeline0_60d642274c24bb4f939b2822a7fc2a4d extends MovieClip { public var spect:ByteArray; public var gametype:String; public var mxdiff:Number; public var loada:MovieClip; public var song2b:SimpleButton; public var percent:Number; public var mouseb:SimpleButton; public var key:Key; public var newCoin:MovieClip; public var comment:String; public var paus:Boolean; public var song3b:SimpleButton; public var blur:BlurFilter; public var songlength:Number; public var scount; public var song4b:SimpleButton; public var songUp:Boolean; public var score; public var credits:SimpleButton; public var scorePerc:Number; public var song6b:SimpleButton; public var scoredis:TextField; public var opsec:Number; public var vol:Number; public var menub:SimpleButton; public var commentry:TextField; public var howtob:SimpleButton; public var swing:MovieClip; public var place:String; public var sond:Sound; public var divider:Number; public var channel:SoundChannel; public var oldV:MovieClip; public var coincount:Number; public var madecoin:Boolean; public var graph:BitmapData; public var agLink:SimpleButton; public var ngLink:SimpleButton; public var bitmco:MovieClip; public var arrows:SimpleButton; public var playB:SimpleButton; public var cvol; public var loadcounta:Number; public var avel:Number; public var swingdisp:MovieClip; public var menub2:SimpleButton; public var menub3:SimpleButton; public var mydiff:Number; public var playb:SimpleButton; public var glow:GlowFilter; public var adiff:Number; public var currentC:Number; public var mspeed:Number; public function Timeline0_60d642274c24bb4f939b2822a7fc2a4d(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 3, frame4, 4, frame5, 5, frame6, 6, frame7, 7, frame8, 36, frame37, 59, frame60, 60, frame61); } public function loadComplete(){ play(); this.removeEventListener(ProgressEvent.PROGRESS, loading); this.removeEventListener(Event.ENTER_FRAME, loadcheck); } public function song2f(_arg1:MouseEvent){ _arg1.target.parent.songUp = false; _arg1.target.parent.place = "NG20703"; nextFrame(); } public function howtobc(_arg1){ gotoAndStop("howto"); } public function mousego(_arg1){ gametype = "mouse"; gotoAndStop("songs"); } public function song3f(_arg1:MouseEvent){ _arg1.target.parent.songUp = false; _arg1.target.parent.place = "NG62399"; nextFrame(); } public function endOfSong(_arg1:Event){ play(); this.stage.removeEventListener(Event.ENTER_FRAME, oefw); this.stage.removeEventListener(Event.ENTER_FRAME, oef); } function frame7(){ song2b.addEventListener(MouseEvent.CLICK, song2f); song3b.addEventListener(MouseEvent.CLICK, song3f); song4b.addEventListener(MouseEvent.CLICK, song4f); song6b.addEventListener(MouseEvent.CLICK, song6f); } function frame3(){ stage.quality = "LOW"; stop(); } function frame6(){ menub2.addEventListener(MouseEvent.CLICK, menubc); arrows.addEventListener(MouseEvent.CLICK, arrowgo); mouseb.addEventListener(MouseEvent.CLICK, mousego); } function frame1(){ stop(); try { if (getVersion.substr(4, 1) < 9){ }; } catch(errObject:Error) { oldV.visible = false; }; stop(); loadcounta = 0; this.loaderInfo.addEventListener(ProgressEvent.PROGRESS, loading); this.addEventListener(Event.ENTER_FRAME, loadcheck); } public function playbc(_arg1){ gotoAndStop("play1"); } function frame5(){ menub.addEventListener(MouseEvent.CLICK, menubc); } function frame4(){ stop(); playb.addEventListener(MouseEvent.CLICK, playbc); howtob.addEventListener(MouseEvent.CLICK, howtobc); credits.addEventListener(MouseEvent.CLICK, creditsc); ngLink.addEventListener(MouseEvent.CLICK, ngGo); agLink.addEventListener(MouseEvent.CLICK, agGo); } public function song4f(_arg1:MouseEvent){ _arg1.target.parent.songUp = false; _arg1.target.parent.place = ("NG" + "85732"); nextFrame(); } public function die(){ ; currentC = 0; removeEventListener(Event.ENTER_FRAME, oefw); removeEventListener(Event.ENTER_FRAME, oef); } public function ngGo(_arg1){ navigateToURL(new URLRequest("http://www.newgrounds.com/")); } function frame8(){ stage.quality = "LOW"; stop(); paus = false; score = 0; avel = 0; divider = (Math.PI / 180); mspeed = 14; coincount = 0; currentC = 0; addEventListener(Event.ENTER_FRAME, oef); swing.visible = false; bitmco.visible = false; key = new Key(stage); spect = new ByteArray(); blur = new BlurFilter(13, 2, 3); glow = new GlowFilter(13311, 0.3, 3, 3, 8, 3); vol = 0; madecoin = false; scount = 0; Spectrum(place); channel.addEventListener(Event.SOUND_COMPLETE, endOfSong); } function frame2(){ stop(); playB.useHandCursor = true; playB.addEventListener(MouseEvent.CLICK, playF); } public function arrowgo(_arg1){ gametype = "arrows"; gotoAndStop("songs"); } function frame37(){ die(); } public function song6f(_arg1:MouseEvent){ _arg1.target.parent.songUp = false; _arg1.target.parent.place = ("NG" + "37040"); nextFrame(); } function frame61(){ menub3.addEventListener(MouseEvent.CLICK, menubc); } function frame60(){ menub3.addEventListener(MouseEvent.CLICK, menubc); stop(); graph.fillRect(graph.rect, 0xCC00); songlength = (sond.length / 1000); opsec = (int(((score / songlength) * 10)) / 10); scorePerc = int(((score / coincount) * 100)); if (scorePerc > 0){ comment = "The only way you could get this bad a score is if you were deliberatly dodging all the orbs. STOP IT!!!!"; }; if (scorePerc > 10){ comment = "If you are this bad, you dont deserve to live. Go die now."; }; if (scorePerc > 20){ comment = "You really, really, really suck ass at this game."; }; if (scorePerc > 30){ comment = "Siriously, you SUCK at this game. Next time, PUT SOME EFFORT IN!!!"; }; if (scorePerc > 40){ comment = "You just plain suck."; }; if (scorePerc > 50){ comment = "You only got about half. Thats crap."; }; if (scorePerc > 60){ comment = "Your really quite bad at this, arent you?"; }; if (scorePerc > 70){ comment = "Thats OK... if your blind and deaf."; }; if (scorePerc > 75){ comment = "This isn't great score, but better than some of the retards who play this."; }; if (scorePerc > 80){ comment = "Not bad, But LOTS of room for improvement."; }; if (scorePerc > 85){ comment = "You're pretty good."; }; if (scorePerc > 90){ comment = "You're really quite good at this, yaknow."; }; if (scorePerc > 95){ comment = "Wowza. You're a master at this."; }; if (scorePerc > 97){ comment = "OMFG!!!11!!!! U R TEH PWNZER!!11!!!"; }; commentry.text = ((((((((((("You got " + score) + " out of ") + coincount) + " orbs, thats ") + scorePerc) + "%. On average, you got ") + opsec) + " orbs per second in that ") + int(songlength)) + " second long song. ") + comment); } public function creditsc(_arg1){ gotoAndStop("creds"); } public function oefw(_arg1:Event):void{ var _local2:ByteArray; var _local3:int; madecoin = false; _local2 = new ByteArray(); SoundMixer.computeSpectrum(_local2); graph.fillRect(graph.rect, 0xCC00); oldvol = Math.abs(vol); _local3 = 0; while (_local3 < 0x0200) { cvol = _local2.readFloat(); if (_local3 < 0x0100){ graph.setPixel32((_local3 + 5), (20 + ((vol = cvol) * 20)), 4294967295); } else { graph.setPixel32((_local3 - 251), (40 + ((vol = cvol) * 20)), 4294967295); }; if (((!(madecoin)) && ((currentC < 8)))){ if (Math.abs(vol) > (oldvol * 200)){ makeCoin(); madecoin = true; }; }; oldvol = Math.abs(vol); _local3++; }; graph.applyFilter(graph, graph.rect, new Point(), blur); graph.applyFilter(graph, graph.rect, new Point(), glow); } public function loading(_arg1:ProgressEvent):void{ loadcounta = 0; percent = (_arg1.bytesLoaded / _arg1.bytesTotal); loada.scaleX = percent; if (percent == 1){ loadComplete(); }; } public function oef(_arg1):void{ if (gametype == "arrows"){ swing.rotation = (swing.rotation + avel); adiff = -(swing.rotation); if (key.isDown(Keyboard.LEFT)){ avel++; }; if (key.isDown(Keyboard.RIGHT)){ avel--; }; if (key.isDown(Keyboard.DOWN)){ avel = (avel * 0.8); }; avel = (avel * 0.95); if (Math.abs(avel) > mspeed){ if (avel < 0){ avel = -(mspeed); } else { avel = mspeed; }; }; } else { if (gametype == "mouse"){ mxdiff = (swing.x - stage.mouseX); mydiff = (swing.y - stage.mouseY); swing.rotation = ((Math.atan2(mydiff, mxdiff) / divider) + 90); }; }; swingdisp.rotation = swing.rotation; } public function playF(_arg1:Event){ play(); } public function makeCoin():void{ var coinoef:*; coinoef = function (_arg1:Event):void{ var _local2:*; _local2 = _arg1.target; coiny = ((Math.sin((_arg1.target.rotation * (Math.PI / 180))) * _local2.height) + _local2.y); coinx = ((Math.cos((_arg1.target.rotation * (Math.PI / 180))) * _local2.width) + _local2.x); if (((((swing.hitTestObject(_local2)) && ((_local2.scaleX > 0.8)))) && ((_local2.scaleX < 1)))){ currentC--; _arg1.target.removeEventListener(Event.ENTER_FRAME, coinoef); _arg1.target.parent.removeChild(DisplayObject(_arg1.target)); score++; scoredis.text = score; }; _arg1.target.scaleX = (_arg1.target.scaleX + ((gametype == "arrows")) ? 0.03 : 0.05); _arg1.target.scaleY = (_arg1.target.scaleY + ((gametype == "arrows")) ? 0.03 : 0.05); if (_arg1.target.scaleX > 2.3){ currentC--; _arg1.target.removeEventListener(Event.ENTER_FRAME, coinoef); _arg1.target.parent.removeChild(DisplayObject(_arg1.target)); }; }; coincount++; currentC++; stage.addChild((newCoin = new coins())); newCoin.rotation = (getTimer() * 0.5); newCoin.x = swing.x; newCoin.y = swing.y; newCoin.scaleY = (newCoin.scaleX = 0.01); newCoin.addEventListener(Event.ENTER_FRAME, coinoef); } public function agGo(_arg1){ navigateToURL(new URLRequest("http://www.armorgames.com/")); } public function menubc(_arg1){ gotoAndStop("menu"); } public function loadcheck(_arg1:Event){ if (loadcounta > 4){ loadComplete(); loada.scaleX = 1; }; loadcounta++; } public function Spectrum(_arg1:String):void{ var _local2:Bitmap; graph = new BitmapData(263, 60, true, 0); _local2 = new Bitmap(graph); addChild(_local2); _local2.x = bitmco.x; _local2.y = bitmco.y; addEventListener(Event.ENTER_FRAME, oefw); if (songUp){ sond = new Sound(new URLRequest(_arg1)); } else { switch (_arg1){ case "NG37040": sond = new NG37040(); break; case "NG20703": sond = new NG20703(); break; case "NG62399": sond = new NG62399(); break; case "NG85732": sond = new NG85732(); break; }; }; channel = sond.play(0, 0); } } }//package
Section 8
//Timeline6_d3e4977c17563b49859c37e5d08a4fda (Timeline6_d3e4977c17563b49859c37e5d08a4fda) package { import adobe.utils.*; import flash.accessibility.*; import flash.display.*; import flash.errors.*; import flash.events.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.net.*; import flash.printing.*; import flash.system.*; import flash.text.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline6_d3e4977c17563b49859c37e5d08a4fda extends MovieClip { public function Timeline6_d3e4977c17563b49859c37e5d08a4fda(){ addFrameScript(14, frame15); } function frame15(){ this.parent.play(); } } }//package

Library Items

Symbol 1 Sound {NG85732}
Symbol 2 Sound {NG62399}
Symbol 3 Sound {NG37040}
Symbol 4 Sound {NG20703}
Symbol 5 GraphicUsed by:6
Symbol 6 MovieClipUses:5Used by:7  Timeline
Symbol 7 MovieClip {coins}Uses:6
Symbol 8 BitmapUsed by:9
Symbol 9 GraphicUses:8Used by:10
Symbol 10 MovieClipUses:9Used by:Timeline
Symbol 11 GraphicUsed by:12 21
Symbol 12 MovieClipUses:11Used by:Timeline
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:23  Timeline
Symbol 15 GraphicUsed by:20
Symbol 16 FontUsed by:17 18 19 22 35 36 37 49 50 51 52 53 54 60 61 63 65 67 72 85 87 88 89 90 91 92
Symbol 17 TextUses:16Used by:20
Symbol 18 TextUses:16Used by:20
Symbol 19 EditableTextUses:16 77Used by:20
Symbol 20 MovieClipUses:15 17 18 19Used by:Timeline
Symbol 21 ButtonUses:11Used by:23  Timeline
Symbol 22 TextUses:16Used by:23  Timeline
Symbol 23 MovieClip {Timeline6_d3e4977c17563b49859c37e5d08a4fda}Uses:21 14 22Used by:Timeline
Symbol 24 GraphicUsed by:25
Symbol 25 MovieClipUses:24Used by:Timeline
Symbol 26 GraphicUsed by:27
Symbol 27 MovieClipUses:26Used by:Timeline
Symbol 28 GraphicUsed by:29
Symbol 29 MovieClipUses:28Used by:Timeline
Symbol 30 GraphicUsed by:31
Symbol 31 MovieClipUses:30Used by:34
Symbol 32 GraphicUsed by:33 34
Symbol 33 MovieClipUses:32Used by:34
Symbol 34 ButtonUses:31 33 32Used by:Timeline
Symbol 35 TextUses:16Used by:Timeline
Symbol 36 TextUses:16Used by:Timeline
Symbol 37 TextUses:16Used by:Timeline
Symbol 38 BitmapUsed by:39
Symbol 39 GraphicUses:38Used by:40
Symbol 40 ButtonUses:39Used by:Timeline
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:43
Symbol 43 ButtonUses:42Used by:Timeline
Symbol 44 GraphicUsed by:Timeline
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:Timeline
Symbol 47 GraphicUsed by:48
Symbol 48 MovieClipUses:47Used by:Timeline
Symbol 49 TextUses:16Used by:Timeline
Symbol 50 TextUses:16Used by:Timeline
Symbol 51 TextUses:16Used by:Timeline
Symbol 52 TextUses:16Used by:Timeline
Symbol 53 TextUses:16Used by:Timeline
Symbol 54 TextUses:16Used by:Timeline
Symbol 55 FontUsed by:56 57
Symbol 56 TextUses:55Used by:Timeline
Symbol 57 TextUses:55Used by:Timeline
Symbol 58 GraphicUsed by:59
Symbol 59 MovieClipUses:58Used by:Timeline
Symbol 60 TextUses:16Used by:Timeline
Symbol 61 TextUses:16Used by:62
Symbol 62 ButtonUses:61Used by:Timeline
Symbol 63 TextUses:16Used by:64
Symbol 64 ButtonUses:63Used by:Timeline
Symbol 65 TextUses:16Used by:66
Symbol 66 ButtonUses:65Used by:Timeline
Symbol 67 TextUses:16Used by:68
Symbol 68 ButtonUses:67Used by:Timeline
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClipUses:69Used by:Timeline
Symbol 71 GraphicUsed by:Timeline
Symbol 72 TextUses:16Used by:Timeline
Symbol 73 GraphicUsed by:74
Symbol 74 MovieClipUses:73Used by:Timeline
Symbol 75 GraphicUsed by:76
Symbol 76 MovieClipUses:75Used by:Timeline
Symbol 77 FontUsed by:19 78 81 82 83 89
Symbol 78 EditableTextUses:77Used by:Timeline
Symbol 79 GraphicUsed by:80
Symbol 80 MovieClipUses:79Used by:Timeline
Symbol 81 TextUses:77Used by:Timeline
Symbol 82 TextUses:77Used by:Timeline
Symbol 83 EditableTextUses:77Used by:Timeline
Symbol 84 GraphicUsed by:Timeline
Symbol 85 TextUses:16Used by:Timeline
Symbol 86 GraphicUsed by:Timeline
Symbol 87 TextUses:16Used by:Timeline
Symbol 88 TextUses:16Used by:Timeline
Symbol 89 EditableTextUses:16 77Used by:Timeline
Symbol 90 TextUses:16Used by:Timeline
Symbol 91 TextUses:16Used by:Timeline
Symbol 92 TextUses:16Used by:Timeline

Instance Names

"loada"Frame 1Symbol 12 MovieClip
"oldV"Frame 1Symbol 20 MovieClip
"playB"Frame 2Symbol 21 Button
"playb"Frame 4Symbol 34 Button
"howtob"Frame 4Symbol 34 Button
"credits"Frame 4Symbol 34 Button
"ngLink"Frame 4Symbol 40 Button
"agLink"Frame 4Symbol 43 Button
"swing"Frame 5Symbol 48 MovieClip
"menub"Frame 5Symbol 34 Button
"arrows"Frame 6Symbol 34 Button
"mouseb"Frame 6Symbol 34 Button
"menub2"Frame 6Symbol 34 Button
"song2b"Frame 7Symbol 62 Button
"song3b"Frame 7Symbol 64 Button
"song4b"Frame 7Symbol 66 Button
"song6b"Frame 7Symbol 68 Button
"bitmco"Frame 8Symbol 76 MovieClip
"scoredis"Frame 8Symbol 78 EditableText
"swing"Frame 8Symbol 80 MovieClip
"swingdisp"Frame 8Symbol 48 MovieClip
"commentry"Frame 60Symbol 83 EditableText
"menub3"Frame 60Symbol 34 Button

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"menu"Frame 4
"howto"Frame 5
"play1"Frame 6
"songs"Frame 7
"game"Frame 8
"creds"Frame 61




http://swfchan.com/14/69295/info.shtml
Created: 10/4 -2019 13:56:23 Last modified: 10/4 -2019 13:56:23 Server time: 22/12 -2024 20:10:28