Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi window issue #69

Open
projjwalsen opened this issue Apr 18, 2014 · 0 comments
Open

Multi window issue #69

projjwalsen opened this issue Apr 18, 2014 · 0 comments

Comments

@projjwalsen
Copy link

Gestouch works great for me . but recently got some issue related to multi window .
A application which i am working on has multiple window .
The application is creating a Window object after initialization. now i want to add a ZoomGesture for the new Window and separate gesture event (swipe/pan)for main application . But one of them failed .

Please check just a basic code block of that part .

public var win:Window=new Window();
public var swipe:SwipeGesture;
public var zoom:ZoomGesture;

protected function init(event:FlexEvent):void
{
swipe=new SwipeGesture(this)
swipe.addEventListener(org.gestouch.events.GestureEvent.GESTURE_RECOGNIZED,onSwipe);

win.open(false);

zoom=new ZoomGesture(win);
zoom.addEventListener(org.gestouch.events.GestureEvent.GESTURE_BEGAN,onZoomStart);
zoom.addEventListener(org.gestouch.events.GestureEvent.GESTURE_CHANGED,onZoomStart);

}

public function onSwipe(event:org.gestouch.events.GestureEvent):void
{
trace('on swipe')
}

public function onZoomStart(event:org.gestouch.events.GestureEvent):void
{
trace('on zoom')
}

The zoomGester is not working on the above state .
but if i removed the swipe gesture part the zoom is working fine .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant