Skip to main content
Daniel 0_o
Known Participant
October 23, 2009
Question

how do i enable the scrollbar for dynamic text with TL component?

  • October 23, 2009
  • 2 replies
  • 585 views

I'm using flash text layout component and loading the content from XML.

how do i enable the scrollbar?

with static text scrollbar shows automatically.

thx,

This topic has been closed for replies.

2 replies

Daniel 0_o
Known Participant
October 23, 2009

as always all i need is a good night sleep....zzzzzzzzzzzzz

anyway that what did the trick for me:

import flashx.textLayout.container.*;

myTextLayout.verticalScrollPolicy = ScrollPolicy.AUTO;

there is another option to add it in the XML file:

verticalScrollPolicy="auto" horizontalScrollPolicy="auto"

Daniel 0_o
Known Participant
October 23, 2009

and yes i saw this article:

http://corlan.org/2009/02/12/how-to-add-a-scrollbar-to-text-layout-framework/

however I do not use Flex.

thx