fljot / Gestouch

Gestouch: multitouch gesture recognition library for Flash (ActionScript) development.
MIT License
356 stars 84 forks source link

problem with reactivating swipe event #29

Closed swwol closed 11 years ago

swwol commented 11 years ago

Hi there,

I am having an issue where if I have a swipe event added to an object on the stage, and then I addChild another MovieClip on top of the object that has the swipe event, when I remove the object on top, the swipe event no longer fires.

This is the case even if I remove and then replace the event listeners, or even remove and replace the entire object

Could you perhaps explain best way to add and remove the swipe event listener from the bottom layer object so that it can be activated/deactivated?

many thanks!

fljot commented 11 years ago

A simple project maybe?

swwol commented 11 years ago

Thanks Pavel, I've solved it now - the problem was caused by a line of code I'd forgotten about in the added object that changed the touchmode. Now thats gone its all working fine.

Many thanks for making this code available, its proving really useful!

Sam.

On 16 December 2012 10:54, Pavel Pevnitskiy notifications@github.comwrote:

A simple project maybe?

— Reply to this email directly or view it on GitHubhttps://github.com/fljot/Gestouch/issues/29#issuecomment-11416472.

Sam Woolf www.samwoolf.net 07753573585