Skip to main content
Inspiring
Mar 21, 2010 8:16 PM UTC
Answered

scrolling

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 is closed to new replies. Start a new post to keep the conversation going.
robin_briggsCorrect answer
Adobe Employee
Mar 22, 2010 5:13 AM UTC

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

2 replies

robin_briggsCorrect answer
Adobe Employee
Mar 22, 2010 5:13 AM UTC

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

Translate
john07_ruAuthor
Inspiring
Mar 22, 2010 5:20 AM UTC

thanx

Translate