Skip to main content
Known Participant
October 12, 2009
Question

Tab characters, and Tab Key, in RichEditableText

  • October 12, 2009
  • 1 reply
  • 993 views

How do you insert a tab using the Tab key, assuming you still want the component to be focusable?  And how do you insert a tab?

This topic has been closed for replies.

1 reply

Adobe Employee
October 13, 2009

When you create your TextFlow pass it a custom Configuration with manageTabKey set to true.

In older builds this setting would also change the value of tabEnabled on any Sprite passed to a ContainerController in the TextFlow.  A recent modification is that TLF will no longer modify or set the value of tabEnabled on those Sprites.  You can work around TLF's setting in older builds by setting tabEnabled after the first compose.

Internet explorer has a seamless tabbing feature.  For TLF to treat the tab key as a key to enter seamless tabbing must be disabled.   Search for "seamlesstabbing flash" for more information.

Hope that helps,

Richard

viatroposAuthor
Known Participant
October 14, 2009

Sick man, this looks like it.

Thanks so much,

Lance

Adobe Employee
October 19, 2009

Here's the seamless tabbing example I was looking for:

http://ats.macromedia.com/Players/ATS/ATS9AS2/Staging/html/browserHTML/SeamlessTabbing/SeamlessTabbingFalse7.htm

View the source.

Note that if you use the standard html templates that Flex provides you have to modify any calls to AC_FL_RunContent as well as adding <param> elements to the object tags.

Hope that helps,

Richard