TLF scrollPolicy
Hi Guys,
talking about the verticalScrollPolicy,
I had a movie where I used TLF component for Flash CS4, in this movie I used this code to enable vertical scroll:
---------------------------------------------------
tt=new TextLayout;
tt.verticalScrollPolicy="on";
this.addChild(tt);
---------------------------------------------------
Now I'm working with the textLayout.SWC from Flex SDK and I have problems to enable verticalScroll:
---------------------------------------------------
oTextFlow = new TextFlow();
oTextFlow = TextFilter.importToFlow(oXML, TextFilter.TEXT_LAYOUT_FORMAT);
oTextFlow.flowComposer.addController(new ContainerController(this, oWidth, oHeight));
oTextFlow.flowComposer.getControllerAt(0).verticalScrollPolicy = ScrollPolicy.ON;
oTextFlow.flowComposer.getControllerAt(0).setCompositionSize(oWidth, oHeight);
oTextFlow.flowComposer.compose();
oTextFlow.flowComposer.updateAllControllers();
--------------------------------------------------
When the height of textFlow is to small to contain the text the vertical scroll doesn't appear....
Can someone help me? thank you...
