News for hackers. Stuff that matters.
Re:An Adobe Flash developer on why the iPad can’t use Flash by tvon on Saturday February 20, 2010 @09:03PM (#1139929)
The problem seems to be that the only event that can be passed to the page is a click, and it's sent on touch-up. Touch-down does nothing (since it could be a click or a drag), and a drag scrolls the page. The only thing they currently send through is a mouse-up, which seems to be sent through as a click.

In pseudocode:

  on touch:
    # do nothing yet

    if drag:
      scroll page
    else: # was just a tap
      send click to page
Granted, this is just how Mobile Safari is handling things, but how else could Mobile Safari handle things?
Re:An Adobe Flash developer on why the iPad can’t use Flash by boucher on Saturday February 20, 2010 @09:29PM (#1139958)
MobileSafari provides the entire touch sequence to javascript, which means that same sequence can easily be passed to flash.

It isn't that difficult to do a reasonable mapping from touch sequences to mouse sequences.

Re:An Adobe Flash developer on why the iPad can’t use Flash by cpr on Saturday February 20, 2010 @10:16PM (#1140026)
Except that it would require re-thinking all those zillions of Flash apps.
Re:An Adobe Flash developer on why the iPad can’t use Flash by Zev on Saturday February 20, 2010 @11:24PM (#1140113)
I thought that the problem wasn't so much detecting mouse taps, but detecting mouse hoverings. Say you hover over an item and then click on it to select. How do you emulate that click, when your finger is already pressed to the screen to drag the "mouse" around?
Re:An Adobe Flash developer on why the iPad can’t use Flash by boucher on Sunday February 21, 2010 @01:33AM (#1140246)
Sure, but who cares? There are a billion websites which use hover events, and the hover just doesn't do anything on the iPhone. The author acts like this is some kind of NP complete problem or something. It's at most minor revisions.
Re:An Adobe Flash developer on why the iPad can’t use Flash by Zev on Sunday February 21, 2010 @02:10AM (#1140282)
I care. Personally, I would rather that something not work right off the bat, then think it will work, only to find out that it won't actually work, that by design, that if it was to be released right now, it would be impossible for it to work on the device that I'm on a decent portion of the time.

Don't get me wrong; I'm not saying that the problem can't be solved. I'm just questioning the wisdom of solving it, in the first place. Or maybe how well the solution will work. But, not the solvability of the problem itself - especially if a few smart people are thrown at the problem.

This might be the part of me that likes my nice and pretty Mac-specific software, but, I don't see anything wrong with software that targets one specific platform. And for Adobe, with Flash, that platform looks like it should be the desktop, not the mobile web.

Re:An Adobe Flash developer on why the iPad can’t use Flash by glhaynes on Sunday February 21, 2010 @03:25AM (#1140349)
Consider the embedded Flash people use on the web. Many Flash games (most?) critically rely on mouse position. Many Flash video players hide controls until the applet is hovered over.

In contrast, the usage of hover in HTML pages is almost always just to highlight something to show that it can be interacted with.

Re:An Adobe Flash developer on why the iPad can’t use Flash by tvon on Saturday February 20, 2010 @09:31PM (#1139962)
True, I guess there is a lot of dragging in Safari webapps...