Forum Discussion
joetesta
8 years agoRoku Guru
A workaround is to add two additional offscreen elements, one on each end. to the targetRects. These offscreen elements suppress the blinking of the onscreen ones.
something like:
something like:
targetSet1.focusIndex = 1 ' <---- note this was bumped up to account for new element'
targetSet1.targetRects = [
{ x:-595 y:2 width:594, height:333 },
{ x:50, y:2, width:594, height:333 },
{ x:650, y:10, width:566, height:318 },
{ x:1940, y:2, width:594, height:333 }
]
targetSet2 = createObject("roSGNode", "TargetSet")
targetSet2.focusIndex = 2
targetSet2.targetRects = [
{ x:-595 y:2 width:594, height:333 },
{ x:64, y:10, width:566, height:318 },
{ x:636, y:2, width:594, height:333 },
{ x:1940, y:2, width:594, height:333 }
]