Skip to main content
Participant
May 26, 2011
Question

Scroller with Paging function

  • May 26, 2011
  • 2 replies
  • 864 views

Hi,

I'm looking for a component or a way to create a scrollview with paging mode enabled.

Same component than the scroller on IOS photogalerie (swipe to go to the next image and move with finger position).

I find a FLEX example here http://www.adobe.com/devnet/flex/samples/fig_pagedlist.html

But the code is not optimised for mobile (it works with some tweak but very slow).

In IOS native dev, I used uiScrollView with pagedEnabled parameter. There is something like this in the Air SDK ?

http://i.imgur.com/mwq67.gif

Thank for your help

This topic has been closed for replies.

2 replies

Participant
November 1, 2011

Did you get anywhere with this?

I couldn't find a good mobile scroller, so I ported the ScrollView from PastryKit, which is Apple's (unreleased, partially obfuscated) JS library used in their web apps (iPhone User Guide, for instance). It supports paging - I'm pretty sure it has a similar API to the native one, although I'm guessing as my Objective C knowledge is only slightly better than zero.

I'll try to get it on my github at some point, if anyone will find it useful. Anyway, it runs off Sprite using scrollRect, so it's much faster than the Flex one.

Inspiring
October 12, 2011

this needs a bump. I'd love to know about this too.