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

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

3drogue.swf

This is the info page for
Flash #31608

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


ActionScript [AS3]
Section 1
//KeyPoll (bigroom.input.KeyPoll) package bigroom.input { import flash.events.*; import flash.display.*; import flash.utils.*; public class KeyPoll { private var states:ByteArray; private var dispObj:DisplayObject; private var lastKeyCode:uint; public static const Z:uint = 90; public static const LEFT:uint = 37; public static const RIGHTBRACKET:uint = 221; public static const EQUAL:uint = 187; public static const COMMAND:uint = 19; public static const CONTROL:uint = 17; public static const NUMPAD_DECIMAL:uint = 110; public static const A:uint = 65; public static const B:uint = 66; public static const C:uint = 67; public static const D:uint = 68; public static const E:uint = 69; public static const F:uint = 70; public static const G:uint = 71; public static const H:uint = 72; public static const I:uint = 73; public static const J:uint = 74; public static const L:uint = 76; public static const M:uint = 77; public static const N:uint = 78; public static const O:uint = 79; public static const MINUS:uint = 189; public static const K:uint = 75; public static const S:uint = 83; public static const NUMPAD:uint = 21; public static const NUMPAD_ENTER:uint = 108; public static const P:uint = 80; public static const PAGE_DOWN:uint = 34; public static const ALTERNATE:uint = 18; public static const T:uint = 84; public static const BACKSPACE:uint = 8; public static const PAGE_UP:uint = 33; public static const X:uint = 88; public static const Y:uint = 89; public static const Q:uint = 81; public static const QUOTE:uint = 222; public static const SLASH:uint = 191; public static const U:uint = 85; public static const W:uint = 87; public static const SHIFT:uint = 16; public static const TAB:uint = 9; public static const R:uint = 82; public static const ESCAPE:uint = 27; public static const NUMPAD_ADD:uint = 107; public static const LEFTBRACKET:uint = 219; public static const DOWN:uint = 40; public static const F1:uint = 112; public static const F3:uint = 114; public static const F4:uint = 115; public static const F5:uint = 116; public static const F6:uint = 117; public static const F7:uint = 118; public static const F8:uint = 119; public static const F2:uint = 113; public static const COMMA:uint = 188; public static const ENTER:uint = 13; public static const INSERT:uint = 45; public static const DELETE:uint = 46; public static const NUMBER_1:uint = 49; public static const NUMBER_2:uint = 50; public static const NUMBER_3:uint = 51; public static const NUMBER_5:uint = 53; public static const NUMBER_6:uint = 54; public static const NUMBER_0:uint = 48; public static const END:uint = 35; public static const NUMBER_9:uint = 57; public static const NUMPAD_6:uint = 102; public static const NUMPAD_1:uint = 97; public static const NUMPAD_2:uint = 98; public static const NUMBER_7:uint = 55; public static const CAPS_LOCK:uint = 20; public static const F9:uint = 120; public static const NUMBER_4:uint = 52; public static const NUMBER_8:uint = 56; public static const BACKQUOTE:uint = 192; public static const BACKSLASH:uint = 220; public static const SEMICOLON:uint = 186; public static const NUMPAD_DIVIDE:uint = 111; public static const NUMPAD_3:uint = 99; public static const NUMPAD_4:uint = 100; public static const NUMPAD_5:uint = 101; public static const NUMPAD_7:uint = 103; public static const NUMPAD_8:uint = 104; public static const HOME:uint = 36; public static const NUMPAD_0:uint = 96; public static const PERIOD:uint = 190; public static const F10:uint = 121; public static const F11:uint = 122; public static const F12:uint = 123; public static const F13:uint = 124; public static const F14:uint = 125; public static const F15:uint = 126; public static const V:uint = 86; public static const SPACE:uint = 32; public static const NUMPAD_MULTIPLY:uint = 106; public static const NUMPAD_SUBTRACT:uint = 109; public static const NUMPAD_9:uint = 105; public static const RIGHT:uint = 39; public static const UP:uint = 38; public function KeyPoll(_arg1:DisplayObject){ states = new ByteArray(); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); states.writeUnsignedInt(0); dispObj = _arg1; dispObj.addEventListener(KeyboardEvent.KEY_DOWN, keyDownListener, false, 0, true); dispObj.addEventListener(KeyboardEvent.KEY_UP, keyUpListener, false, 0, true); dispObj.addEventListener(Event.ACTIVATE, resetKeyStates, false, 0, true); dispObj.addEventListener(Event.DEACTIVATE, resetKeyStates, false, 0, true); } public function isUp(_arg1:uint, _arg2:uint=0, _arg3:uint=0):Boolean{ var _local4 = ((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0); if ((((_arg2 > 0)) && ((_local4 == true)))){ _local4 = ((states[(_arg2 >>> 3)] & (1 << (_arg2 & 7))) == 0); }; if ((((_arg3 > 0)) && ((_local4 == true)))){ _local4 = ((states[(_arg3 >>> 3)] & (1 << (_arg3 & 7))) == 0); }; return (_local4); } public function isDown(_arg1:uint, _arg2:uint=0, _arg3:uint=0):Boolean{ var _local4 = !(((states[(_arg1 >>> 3)] & (1 << (_arg1 & 7))) == 0)); if ((((_arg2 > 0)) && ((_local4 == true)))){ _local4 = !(((states[(_arg2 >>> 3)] & (1 << (_arg2 & 7))) == 0)); }; if ((((_arg3 > 0)) && ((_local4 == true)))){ _local4 = !(((states[(_arg3 >>> 3)] & (1 << (_arg3 & 7))) == 0)); }; return (_local4); } private function keyUpListener(_arg1:KeyboardEvent):void{ states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] & ~((1 << (_arg1.keyCode & 7)))); lastKeyCode = 0; } private function resetKeyStates(_arg1:Event):void{ var _local2:int; while (_local2 < 32) { states[_local2] = 0; _local2++; }; lastKeyCode = 0; } public function get keyCode():uint{ return (lastKeyCode); } private function keyDownListener(_arg1:KeyboardEvent):void{ states[(_arg1.keyCode >>> 3)] = (states[(_arg1.keyCode >>> 3)] | (1 << (_arg1.keyCode & 7))); lastKeyCode = _arg1.keyCode; } } }//package bigroom.input
Section 2
//Main (com.graphnode.unlike.Main) package com.graphnode.unlike { import flash.events.*; import flash.display.*; import flash.text.*; import bigroom.input.*; public class Main extends Sprite { private var tf2:TextField; private var tf3:TextField; private var tf0:TextField; private var threed:Boolean;// = true private var input:KeyPoll; private var ivisible:Boolean;// = true public var FONT_MONACO:String;// = "Main_FONT_MONACO" private var tf:TextField; private var tf4:TextField; private var tf1:TextField; public function Main():void{ var _local1 = (((((((((((((((((((((((((((((((((((((((((((((((("/////////////////////////////////////////////" + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "////////###########///////##########/////////") + "\n") + "////////#.........#///////#........#/////////") + "\n") + "////////#.........#########........#/////////") + "\n") + "////////#..........................#/////////") + "\n") + "////////####.......................#/////////") + "\n") + "///////////#.......................#/////////") + "\n") + "///////////##.##################.###/////////") + "\n") + "////////////#.#////////////////#.#///////////") + "\n") + "////////////#.#////////////////#.#///////////") + "\n") + "////////#####.#####///////######.###/////////") + "\n") + "////////#.........#///////#....#...#/////////") + "\n") + "////////#.........#########........#/////////") + "\n") + "////////#......................#####/////////") + "\n") + "////////####........######.........#/////////") + "\n") + "///////////#........#////#.........#/////////") + "\n") + "///////////##########////###########/////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////") + "\n") + "/////////////////////////////////////////////"); var _local2:String = _local1.replace(new RegExp("#|\\.", "g"), " "); var _local3:String = _local1.replace(new RegExp("/|#", "g"), " "); var _local4:String = _local1.replace(new RegExp("/|\\.", "g"), " "); tf = new TextField(); tf.embedFonts = true; tf.selectable = false; tf.autoSize = TextFieldAutoSize.LEFT; tf.defaultTextFormat = new TextFormat("Monaco", 15, 30371); tf.text = _local2; addChild(tf); ivisible = true; tf0 = new TextField(); tf0.embedFonts = true; tf0.selectable = false; tf0.autoSize = TextFieldAutoSize.LEFT; tf0.defaultTextFormat = new TextFormat("Monaco", 15, 0xFFFFFF); tf0.text = _local3; addChild(tf0); tf1 = new TextField(); tf1.embedFonts = true; tf1.selectable = false; tf1.autoSize = TextFieldAutoSize.LEFT; tf1.defaultTextFormat = new TextFormat("Monaco", 15, 0x999999); tf1.text = _local4; addChild(tf1); tf2 = new TextField(); tf2.embedFonts = true; tf2.selectable = false; tf2.autoSize = TextFieldAutoSize.LEFT; tf2.defaultTextFormat = new TextFormat("Monaco", 15, 0xBBBBBB); tf2.text = _local4; tf2.scaleX = (tf2.scaleY = 1.05); tf2.x = (tf2.y = -10); addChild(tf2); tf3 = new TextField(); tf3.embedFonts = true; tf3.selectable = false; tf3.autoSize = TextFieldAutoSize.LEFT; tf3.defaultTextFormat = new TextFormat("Monaco", 15, 0xDDDDDD); tf3.text = _local4; tf3.scaleX = (tf3.scaleY = 1.1); tf3.x = (tf3.y = -20); addChild(tf3); tf4 = new TextField(); tf4.embedFonts = true; tf4.selectable = false; tf4.autoSize = TextFieldAutoSize.LEFT; tf4.defaultTextFormat = new TextFormat("Monaco", 15, 0xFFFFFF); tf4.text = _local4; tf4.scaleX = (tf4.scaleY = 1.15); tf4.x = (tf4.y = -30); addChild(tf4); threed = true; var _local5:TextField = new TextField(); _local5.embedFonts = true; _local5.selectable = false; _local5.autoSize = TextFieldAutoSize.LEFT; _local5.defaultTextFormat = new TextFormat("Monaco", 10, 0xFFFFFF); _local5.text = "Arrow Keys: Movement\nB: Turn off impassable tiles (+ performance)\nD: Turn off 3D (WHY?!)"; addChild(_local5); input = new KeyPoll(this.stage); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUp, false, 0, true); stage.addEventListener(Event.ENTER_FRAME, onEnterFrame); } public function onEnterFrame(_arg1:Event):void{ if (input.isDown(KeyPoll.UP)){ tf.y = (tf.y + 2); tf0.y = (tf0.y + 2); tf1.y = (tf1.y + 2); tf2.y = (tf2.y + 2.1); tf3.y = (tf3.y + 2.2); tf4.y = (tf4.y + 2.3); }; if (input.isDown(KeyPoll.DOWN)){ tf.y = (tf.y - 2); tf0.y = (tf0.y - 2); tf1.y = (tf1.y - 2); tf2.y = (tf2.y - 2.1); tf3.y = (tf3.y - 2.2); tf4.y = (tf4.y - 2.3); }; if (input.isDown(KeyPoll.LEFT)){ tf.x = (tf.x + 2); tf0.x = (tf0.x + 2); tf1.x = (tf1.x + 2); tf2.x = (tf2.x + 2.1); tf3.x = (tf3.x + 2.2); tf4.x = (tf4.x + 2.3); }; if (input.isDown(KeyPoll.RIGHT)){ tf.x = (tf.x - 2); tf0.x = (tf0.x - 2); tf1.x = (tf1.x - 2); tf2.x = (tf2.x - 2.1); tf3.x = (tf3.x - 2.2); tf4.x = (tf4.x - 2.3); }; } private function onKeyUp(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == KeyPoll.B){ tf.visible = !(tf.visible); }; if (_arg1.keyCode == KeyPoll.D){ tf2.visible = (tf3.visible = (tf4.visible = !(tf2.visible))); tf1.textColor = (tf2.visible) ? 0x999999 : 0xFFFFFF; }; } } }//package com.graphnode.unlike
Section 3
//Main_FONT_MONACO (com.graphnode.unlike.Main_FONT_MONACO) package com.graphnode.unlike { import mx.core.*; public class Main_FONT_MONACO extends FontAsset { } }//package com.graphnode.unlike
Section 4
//FontAsset (mx.core.FontAsset) package mx.core { import flash.text.*; public class FontAsset extends Font implements IFlexAsset { mx_internal static const VERSION:String = "3.0.0.0"; } }//package mx.core
Section 5
//IFlexAsset (mx.core.IFlexAsset) package mx.core { public interface IFlexAsset { } }//package mx.core
Section 6
//mx_internal (mx.core.mx_internal) package mx.core { public namespace mx_internal = "http://www.adobe.com/2006/flex/mx/internal"; }//package mx.core

Library Items

Symbol 1 Font {com.graphnode.unlike.Main_FONT_MONACO}

Special Tags

FileAttributes (69)Timeline Frame 1Access network only, Metadata present, AS3.
SWFMetaData (77)Timeline Frame 1458 bytes "<rdf:RDF xmlns:rdf='http://www.w3.org/1999/02/22-rdf-syntax-ns#'><rdf:Description rdf:about='' xmlns ..."
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 1000, ScriptTimeout: 60 seconds
SerialNumber (41)Timeline Frame 1

Labels

"com_graphnode_unlike_Main"Frame 1




http://swfchan.com/7/31608/info.shtml
Created: 18/5 -2019 13:23:58 Last modified: 18/5 -2019 13:23:58 Server time: 27/04 -2024 17:45:11