fljot / GestouchExamples

Examples for Gestouch library.
https://github.com/fljot/Gestouch
MIT License
58 stars 13 forks source link

can´t compile in ASC 2.0 #6

Open Seb-AS opened 12 years ago

Seb-AS commented 12 years ago

hi Pavel

i´m using flash builder 4.7 and the last gestouch swc I have a problem with these line but in flash cs6 works fine. Gestouch.inputAdapter ||= new NativeInputAdapter(stage); TypeError: Error #1034: Error forced conversion: you can't convert in org.gestouch.core.IInputAdapter. thanks Sebas

fljot commented 12 years ago

Yup, ASC 2.0 doesn't seem smart enough with "mario mushroom operator" (http://www.tillschneidereit.de/2011/10/22/mario-mushroom-now-with-80-less-awesome/) Small discussion here http://forum.starling-framework.org/topic/gestouch-%E2%80%94-multitouch-gestures-for-starling-and-classic-displaylist/page/2

xpepermint commented 11 years ago
Gestouch.inputAdapter = new NativeInputAdapter(stage); 

will work.