Page 1 of 1

Best way to get a gallery swipe?

Posted: Wed Apr 22, 2015 7:42 am
by DevBoyLars
Hi there,
I just wanna give LiveCode another try to resolve the following issue:

I want to show a rectangle (in this case maybe a horizontal slider?) filled with pictures given from a folder (dynamically filled by the user) side by side, but the user can only see one at the same time and needs to swipe with the finger to see the next or the previous one.

What is the best way to realize that in LiveCode? Can anyone give an example of the rectangle/swipe/gallery? It would helps much. I know how to load images from a folder and I know how to calculate which images is shown in the rectangle at the moment, bit I don't know how to get the images into a rectangle, which should only shows one image at the same time until the user swipes.

Something like this (first seconds of the video), but with a flow from picture 1 to picture 2 and not full screen.
https://www.youtube.com/watch?v=XOTp3GiegxU

Thank you :)

Re: Best way to get a gallery swipe?

Posted: Wed Apr 22, 2015 9:43 am
by jmburnod
Hi DevBoyLars,
I saw the video
I don't know if this example is the best way
but Im sure we can make it better 8)
Best regards
Jean-Marc