Skip to main content
Participant
November 4, 2010
Question

Multiple ContainerControllers with RichEditableText

  • November 4, 2010
  • 1 reply
  • 442 views

Hi, I wonder if someone could help with regard to the following issue.

Starting with a heavily modified version of the initial tlf actionscript Pagination example. I import a text flow of varying length, create seperate containercontrollers and containers ,compose and  place the resulting pages in an array for display, using a page fwd /backwards principle.

When I use a RichText container paging fwd or back works fine, and I get all the text displayed, but if I use a RichEditableText (required in the app for  insertion of links) the paging works fine but all I get displayed is  the first line of each page. I have tried to set various properties like, selectable and editable to false but to no avail.

What am i missing.

Regards

John

Ok i am still having major problems with getting my head around this, and whist trying to find a solution,I have found two or three posts suggesting that RichEditableText containers do not support linking. Can someone say definively whether or not this is the case. If it is the case can someone suggest a way of doing the following. Here is my scenario

Various different text flows will be created and formatted from imported xml dynamically, the resulting textflow will be of varying length, and in some instances so long that just using one container would mean scrolling forever. Hence i need someway of "paging" , which I have succesfully achieved using a RichText Container, ie compose to several different containers, and add and remove them from the display list.

The above would be fine apart from the fact that I need to be able insert hyperlinks into the textflow, and the only container able to support this is the ret. Any detailed sugestions would be much appreicated, as I am still a relative newbie with flex and as3 .

This topic has been closed for replies.

1 reply

Adobe Employee
November 5, 2010

Neither RichText nor RichEditableText support multiple ContainerControllers so what you are doing is neither supported nor tested.  The fact that it works in RichText is coincidental.  IMHO you'd be better off creating your own paginating widget.

Richard