FlxBar
FlxBitmapFont
FlxButtonPlus
FlxCollision
FlxColor
FlxControl
FlxControlHandler
FlxCoreUtils
FlxDelay
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 00:00.0 Host bridge [0600]: Intel Corporation Mobile PM965/GM965/GL960 Memory Controller Hub [8086:2a00] (rev 0c) | |
| Subsystem: Hewlett-Packard Company Device [103c:30c8] | |
| Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- | |
| Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx- | |
| Latency: 0 | |
| Capabilities: <access denied> | |
| Kernel driver in use: agpgart-intel | |
| 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (primary) [8086:2a02] (rev 0c) (prog-if 00 [VGA controller]) | |
| Subsystem: Hewlett-Packard Company Device [103c:30c8] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) { | |
| if (fromIndex > toIndex) | |
| throw new IllegalArgumentException("fromIndex(" + fromIndex + ") > toIndex(" + toIndex+")"); | |
| if (fromIndex < 0) | |
| throw new ArrayIndexOutOfBoundsException(fromIndex); | |
| if (toIndex > arrayLen) | |
| throw new ArrayIndexOutOfBoundsException(toIndex); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package | |
| { | |
| import flash.text.TextField; | |
| import flash.display.Sprite; | |
| public class Main extends Sprite | |
| { | |
| public function Main() | |
| { | |
| traceVisual("TEST #5"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.requestAnimationFrame ||= | |
| window.mozRequestAnimationFrame || | |
| window.webkitRequestAnimationFrame || | |
| window.msRequestAnimationFrame || | |
| function() { console.log("WARNING: 'window.requestAnimationFrame()' not available in this browser."); }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // I have to create an entirely new Rectangle class from scratch, because 'Rect' doesn't actually have a | |
| // constructor or any other way of creating your own rectangles. | |
| // http://stackoverflow.com/questions/22953073/does-rect-have-a-constructor-function | |
| function Rectangle(x, y, width, height) { | |
| this.x = x; | |
| this.y = y; | |
| this.width = width; | |
| this.height = height; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MouseEvent.CLICK = 'click'; | |
| MouseEvent.CONTEXT_MENU = 'contextmenu'; | |
| MouseEvent.DOUBLE_CLICK = 'dblclick'; | |
| MouseEvent.MOUSE_DOWN = 'mousedown'; | |
| MouseEvent.MOUSE_ENTER = 'mouseenter'; | |
| MouseEvent.MOUSE_LEAVE = 'mouseleave'; | |
| MouseEvent.MOUSE_MOVE = 'mousemove'; | |
| MouseEvent.MOUSE_OUT = 'mouseout'; | |
| MouseEvent.MOUSE_OVER = 'mouseover'; | |
| MouseEvent.MOUSE_UP = 'mouseup'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try: | |
| state = "initializing" | |
| read_configs() | |
| state = "downloading" | |
| files = get_files() | |
| state = "importing" | |
| import_files(files) | |
| state = "complete" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var h = new Date().getHours(); | |
| if (h == 0) | |
| { | |
| period = am | |
| hours = 12 | |
| } | |
| else if (h > 0 && h < 12) | |
| { | |
| period = am |