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 createjs.Bitmap; | |
| import createjs.LoadQueue; | |
| import createjs.Shape; | |
| import createjs.Sprite; | |
| import createjs.SpriteSheet; | |
| import createjs.Stage; | |
| import createjs.Ticker; | |
| import createjs.TickerEvent; |
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 skin:ImageSkin = new ImageSkin(upTexture); | |
| skin.setTextureForState(ButtonState.DOWN, downTexture); | |
| skin.setTextureForState(ButtonState.DISABLED, disabledTexture); | |
| skin.scale9Grid = new Rectangle(2, 2, 1, 4); | |
| button.defaultSkin = skin; |
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
| <f:Panel headerFactory="{factoryFromInstance(myHeader)}"> | |
| <fx:Declarations> | |
| <f:Header id="myHeader"/> | |
| </fx:Declarations> | |
| </f:Panel> |
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
| <f:Panel headerFactory="{factoryFromInstance(myHeader)}"> | |
| <fx:Declarations> | |
| <f:Header id="myHeader"> | |
| <fx:leftItems> | |
| <fx:Vector type="starling.display.DisplayObject"> | |
| <f:Button/> | |
| </fx:Vector> | |
| </fx:leftItems> | |
| </f:Header> | |
| </fx:Declarations> |
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
| { | |
| "version": "0.1.0", | |
| "command": "asjsc", | |
| "isShellCommand": true, | |
| "args": ["src/Main.as"], | |
| "showOutput": "always", | |
| "problemMatcher": | |
| { | |
| "fileLocation": "absolute", | |
| "pattern": |
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
| { | |
| "schemes" : | |
| [ | |
| { | |
| "background" : "#fafafa", | |
| "black" : "#000000", | |
| "blue" : "#3199e1", | |
| "brightBlack" : "#686868", | |
| "brightBlue" : "#399ee6", | |
| "brightCyan" : "#4cbf99", |
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
| { | |
| "config": "air", | |
| "compilerOptions": { | |
| "source-path": "src" | |
| }, | |
| "application": "src/MyProjectDebug-app.xml", | |
| "mainClass": "MyProject" | |
| } |
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
| { | |
| "config": "flex", | |
| "compilerOptions": { | |
| "source-path": "src", | |
| "output": "bin/MyProject.swf" | |
| }, | |
| "mainClass": "MyProject", | |
| "modules": [ | |
| { | |
| "file": "src/MyModule.mxml", |
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
| # how to sign an Adobe AIR app with captive runtime on macOS for distribution outside of App Store (Developer ID application) | |
| # you should have already run adt from the AIR SDK | |
| # Entitlements.plist is included below in this Gist | |
| /usr/bin/codesign --force --verify --sign "Developer ID Application: My Company (XXXXXXXXXX)" --deep --options runtime --entitlements Entitlements.plist MyApp.app | |
| # verifies that the code signing of .app file is valid | |
| /usr/sbin/spctl --assess --verbose --type execute MyApp.app |
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
| { | |
| "config": "flex", | |
| "compilerOptions": { | |
| "source-path": "src", | |
| "output": "bin/MyProject.swf" | |
| }, | |
| "mainClass": "MyProject", | |
| "workers": [ | |
| { | |
| "file": "src/MyWorker.as", |