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) --> | |
<!-- notice that you need to sign multiple files inside the .app bundle, along with the .app bundle itself --> | |
<exec executable="/usr/bin/codesign" failonerror="true"> | |
<arg value="-f"/> | |
<arg value="-v"/> | |
<arg value="-s"/> | |
<arg value="Developer ID Application: My Company"/> | |
<arg value="--deep"/> | |
<arg value="--options"/> | |
<arg value="runtime"/> |
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
{ | |
"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
{ | |
"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
{ | |
"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
<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
<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
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
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
package | |
{ | |
import createjs.Event; | |
import createjs.Rectangle; | |
import createjs.Stage; | |
import createjs.Ticker; | |
import createjs.Touch; | |
import feathers.controls.ButtonState; | |
import feathers.controls.ScrollPolicy; |