This file contains 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 org.gestouch.extensions.starling | |
{ | |
import flash.geom.Point; | |
import org.gestouch.core.ITouchHitTester; | |
import starling.core.Starling; | |
import starling.display.DisplayObject; | |
This file contains 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
#!/usr/bin/env bash | |
# Assuming OS X Yosemite 10.10.4 | |
# Install XCode and command line tools | |
# See https://itunes.apple.com/us/app/xcode/id497799835?mt=12# | |
# See https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man1/xcode-select.1.html | |
xcode-select --install | |
# Install the Homebrew package manager if you don't already use it; see source http://brew.sh |
This file contains 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
<!-- put this to IDEA keymaps config folder. For v13 it is <userdir>\.IntelliJIdea13\config\keymaps\ --> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<keymap version="1" name="Mac OS X 10.5+ Windows Ctrl" parent="Mac OS X 10.5+"> | |
<action id="$Copy"> | |
<keyboard-shortcut first-keystroke="meta C" /> | |
<keyboard-shortcut first-keystroke="meta INSERT" /> | |
<keyboard-shortcut first-keystroke="control C" /> | |
<keyboard-shortcut first-keystroke="control INSERT" /> | |
</action> | |
<action id="$Cut"> |
This file contains 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
http://flex.apache.org/download-utilities.html | |
https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+SDK+Mavenizer | |
http://anthonywhitford.blogspot.com/2013/09/mavenizing-flex-sdk-missing.html | |
#org.apache | |
java -cp flex-utilities/mavenizer/target/flex-sdk-converter-1.0.jar SDKGenerator sdkhome fdk true | |
#com.adobe | |
java -cp flex-utilities/mavenizer/target/flex-sdk-converter-1.0.jar SDKGenerator sdkhome fdk false |
This file contains 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 v:Vector.<Sprite> = new Vector.<Sprite>(); | |
trace(v is Vector.<*>);// true | |
var foo:Vector.<*>; | |
//foo = v;// Implicit coercion of a value of type __AS3__.vec:Vector.<flash.display:Sprite> to an unrelated type __AS3__.vec:Vector.<*>. | |
foo = v as Vector.<*>; // OK | |
var bar:Vector.<Sprite> = foo as Vector.<Sprite>;// OK | |
genericArgument(v);// true, 0, Hello from genericArgument() | |
//typedArgument(v);// Implicit coercion of a value of type __AS3__.vec:Vector.<flash.display:Sprite> to an unrelated type __AS3__.vec:Vector.<*>. | |