Skip to main content
Inspiring
March 21, 2010
Answered

scrolling

  • March 21, 2010
  • 1 reply
  • 516 views

I don't want tlf scrolling.

i have set

cc=new ContainerController(container,rect.width, NaN);

cc.verticalScrollPolicy=ScrollPolicy.OFF;

i have own scroll via tween container.scrollRect of container sprite.

But when I select text and move mouse down, tlf  reset my scrollRect and all text became visible.

How i can prevent this situation?

This topic has been closed for replies.
Correct answer robin_briggs

You need to also set cc.horizontalScrollPolicy = ScrollPolicy.OFF. Vertical & horizontal are set separately, and they both need to be turned off.

1 reply

robin_briggsCorrect answer
Adobe Employee
March 22, 2010

You need to also set cc.horizontalScrollPolicy = ScrollPolicy.OFF. Vertical & horizontal are set separately, and they both need to be turned off.

john07_ruAuthor
Inspiring
March 22, 2010

thanx