Skip to main content
Participant
May 18, 2012
Question

How to lock html page in stagewebview

  • May 18, 2012
  • 1 reply
  • 2507 views

Hi guys,

I want to remove scrolling/panning behavior with the stagewebview.

Approaches already used but didnt work for me:

1. Tried listening to TransformGestureEvent for pan and swipe, but unable to receive these events on stagewebview.

2. Tried touchInteractionStarting event as it is mentioned in some blogs as a workaround.

3.  Tried setting Multitouch.inputMode = MultitouchInputMode.GESTURE;

Thanks in advance,

Mamta

This topic has been closed for replies.

1 reply

Participant
October 24, 2013

Hey Ria,

I had the same issue a while ago. What i did was this:

                    //implement the scrollfix for StageWebView

                    $('body').bind('touchmove', function(e){e.preventDefault()});

You can ofcourse only use this when you controll the content.

Good luck,

Marc