Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8995015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:33:19+00:00 2026-06-15T23:33:19+00:00

So in Actionscript 3 and Javascript, to get touch events working for mobile devices

  • 0

So in Actionscript 3 and Javascript, to get touch events working for mobile devices I have to listen for ontouch events… However, touch events not fired on desktop.
However, mouse events are triggered on both mobile AND desktop.

My quesion is this: why does w3 have this spec

Wouldn’t it make sense to have just to use the onmouseevent? In order to have things work on mobile and desktop I always have to listen for both events – obviously this causes issue on mobile devices because two events are fired when i press the screen (meaning that I have to do a bunch of conditional checking to add/remove event)

My initial thoughts were that multi-touch would be the main reason… But couldn’t the design just have some parameter of the event like .touches? That could go along with the .pressure, .finger width, etc… maybe a .type = “touch” or .type=”mouse”

I’m sure a lot of thought went into having touch events, so I’d bet there are some valid reasons.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T23:33:21+00:00Added an answer on June 15, 2026 at 11:33 pm

    The W3C has published an initial draft of a specification that combines mouse and touch events into a single family of Pointer Events.

    Windows 8 and IE10 currently ship with support for this unified event style.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Most JavaScript code is also syntactically valid ActionScript 3.0 code. However, there are some
I'm working with the Facebook Actionscript API (no PHP or Javascript), and I'm having
I have an array that has been built and passed into actionscript from javascript.
I am very new to both JavaScript and ActionScript. I am trying to get
how can I get file size at client side using actionscript and javascript Thanks
I have a javascript function that is being called from an actionscript component with
I recently realised that Actionscript and Javascript are both implementations of ECMA script. Now
Is there a ActionScript-version of JavaScript's Canvas.clearRect()? I only know graphics.drawRect(...) which allows me
All i want is to pass a HTML (DOM object) from javascript to Actionscript.
In ActionScript, how do you get the day number at the end of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.