Hi Dixie,
The issue found on Android.
The stack was originally built with LC 6.5.2. It was working fine back then but I found the scroller sluggish once the stack was deployed with the latest LC 6.7.8 (rc4).
the code is here.
Code: Select all
on preOpenStack
set the acceleratedRendering of this stack to true
end preOpenStack
on setScroller
if the environment is "mobile" then
put the rect of group "Scroll" of this card into tScrollerRect
put 0,0,400,2249 into tContentRect
mobileControlCreate "scroller", "GroupScroll"
put the result into sScrollerID
mobileControlSet "GroupScroll", "rect", tScrollerRect
mobileControlSet "GroupScroll", "contentRect", tContentRect
mobileControlSet "GroupScroll", "visible", true
mobileControlSet "GroupScroll", "vIndicator", true
mobileControlSet "GroupScroll", "vscroll", 0
end if
end setScroller
on scrollerDidScroll hOffset, vOffset
lock screen
set the vScroll of group "Scroll" to vOffset
unlock screen
end scrollerDidScroll