Page 1 of 1

Scrolling group problem

Posted: Wed Mar 26, 2014 1:22 pm
by thatkeith
I have a set of image objects that are generated, filled with image content and arranged by script. They're generated into a named group and the group is resized at the end to fit the card's height. It has a vertical scroll bar set.

The group scrolls in the IDE (only when I grab the scroller BTW, not when I try dragging or swiping the content), but when I test in iOS Simulator the scroll bar thumb is the full height of the group and I can't scroll it at all.

Is there some trick to getting groups to scroll in iOS?
Should I normally be able to scroll a group with swipe/scrollwheel actions as well as by dragging the thumb directly?

Re: Scrolling group problem

Posted: Wed Mar 26, 2014 5:39 pm
by James Little
hi thatkeith,

Scroller groups are tricky. Have you taken a look at the scroller example stack? http://lessons.runrev.com/s/lessons/m/4 ... chitecture

Make sure to look at the Property Inspector as well as the script on the example stack of the group. It's been more than six months since I was playing around with scrolling groups, so I don't quite remember which properties to change (Lock/Unlock group and layer mode comes to mind).

-Todd

Re: Scrolling group problem

Posted: Wed Mar 26, 2014 5:46 pm
by thatkeith
Whoosh! That looks great, thanks Todd. It also looks a little tricky as you say, although definitely not as tricky as some things I've tried. :D
I'll give it a shot.

Re: Scrolling group problem

Posted: Thu Mar 27, 2014 3:48 pm
by Klaus
Hi Keith,

yes, the cool "swiping" stuff needs to be scripted :D

But I made a quick test with 3 images in a group and the thumb and scrollbar
of the group were ugly but worked as exspected in the simulator?


Best

Klaus