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
Best way to get a gallery swipe?
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
-
- VIP Livecode Opensource Backer
- Posts: 2718
- Joined: Sat Dec 22, 2007 5:35 pm
- Location: Genève
- Contact:
Re: Best way to get a gallery swipe?
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
Best regards
Jean-Marc
I saw the video
I don't know if this example is the best way
but Im sure we can make it better
Best regards
Jean-Marc
- Attachments
-
- SwipeImage_670_002.livecode.zip
- (2.21 KiB) Downloaded 217 times
https://alternatic.ch