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 var keyBuffer:Array = []; | |
private var konami:Array = [Keyboard.UP, Keyboard.UP, Keyboard.DOWN, Keyboard.DOWN, Keyboard.LEFT, Keyboard.RIGHT, Keyboard.LEFT, Keyboard.RIGHT, "a".charCodeAt(), "b".charCodeAt() ]; | |
private var type_timeout:uint; | |
private function init_cheats_listener():void{ | |
stage.addEventListener(KeyboardEvent.KEY_UP, on_cheat_key_up); | |
} |
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 be.proximity.framework.Framework; | |
import be.proximity.framework.config.Config; | |
import be.proximity.framework.net.VarSources; | |
import flash.display.Sprite; | |
/** | |
* By extending from Framework the Config class is automatically set up correctly. | |
*/ |
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
<!-- vanilla swfobject --> | |
<script type="text/javascript" src="assets/js/swfobject.js"></script> | |
<!-- flash embedding and other tiny javascript --> | |
<script type="text/javascript"> | |
//<![CDATA[ | |
var flashvars = { config: "default", someParameter: "woot, it works!"}; | |
var params = { allowFullScreen : true }; | |
var attributes = { id: "flash" }; | |
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 be.proximity.framework.Framework; | |
import be.proximity.framework.config.Config; | |
import be.proximity.framework.net.VarSources; | |
/** | |
* By extending from Framework the Config class is automatically set up correctly. | |
*/ | |
public class QuerystringsDemos extends Framework |
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
@import "libs/reset.less"; | |
@import "mediaqueries/global.less"; | |
@import "mediaqueries/mobile.less"; | |
@import "mediaqueries/tablet.less"; | |
@import "mediaqueries/desktop.less"; | |
@import "mediaqueries/huge.less"; |
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
@media only screen and (min-width: 480px) {} | |
@media only screen and (min-width: 768px) {} | |
@media only screen and (min-width: 992px) {} | |
etc... |
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
.mqMobile(@param:"bogus"){ | |
/* CSS code goes here */ | |
} |
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
/* | |
style.less | |
*/ | |
@import "libs/reset.less"; | |
@import "mediaqueries/global.less"; | |
@import "mediaqueries/mobile.less"; | |
@import "mediaqueries/tablet.less"; | |
@import "mediaqueries/desktop.less"; |
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
/* | |
ie.less | |
*/ | |
@import "libs/reset.less"; | |
@import "mediaqueries/global.less"; | |
@import "mediaqueries/mobile.less"; | |
@import "mediaqueries/tablet.less"; | |
@import "mediaqueries/desktop.less"; |
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
<!-- Using conditional comments, we hide the mediaquery-laden styles from IE8 and below... --> | |
<!--[if ! lte IE 8]><!--> | |
<link rel="stylesheet" href="css/style.css"> | |
<![endif]--> | |
<!-- ... and instead serve them the 'collapsed' styles as a separate stylesheet... --> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="css/ie.css"> |
OlderNewer