This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.

How to add TouchMove event?

  • 4 antwoorde
  • 8 hierdie probleem
  • 17 views
  • Laaste antwoord deur mahvish

more options

I am working on html5 game and now I want to implement MozTouchMove Event, but it doesn't work, the below is code,pls help me document.addEventListener("MozTouchMove", function(event) {

          //it does't work

}, false);

I am working on html5 game and now I want to implement MozTouchMove Event, but it doesn't work, the below is code,pls help me document.addEventListener("MozTouchMove", function(event) { //it does't work }, false);

All Replies (4)

more options

Sorry, MozTouchMove is only supported in Firefox 4 for Windows 7 tablets.

We're working on adding touch event support to mobile Firefox using the same touchstart/touchmove/touchend events as Safari and other mobile browsers. For details (and an early test version) see https://bugzilla.mozilla.org/show_bug.cgi?id=544614

We're currently hoping to include this feature in Firefox 6, which will be released in August 2011.

more options

I know that Firefox6 has support for touch and I see in the bug for iPhone and Android. Was aupport added for Windows 7? Specifically touch events are *not* working for me in Windows 7 with the new w3c specs but the old API is working. Any clarification I can get is appreciated. Thanks!

Gewysig op deur mahvish

more options

Firefox 6 for Windows 7 still uses the old "MozTouch" events, while Firefox 6 for Android uses the standard "touchstart"/"touchmove" events.

Sorry for the confusion! We will eventually move to the new standard events on all platforms, but I don't know when that will happen.

more options

Thanks! That clears up things. Is there a bug I can track for that? Else I'll just keep on the lookout for the change announcement. Thanks again!