Skip to main content
Known Participant
Oct 12, 2009 9:17 PM UTC
Question

Tab characters, and Tab Key, in RichEditableText

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 is closed to new replies. Start a new post to keep the conversation going.

3 replies

Inspiring
Oct 13, 2009 10:47 PM UTC

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

Translate
viatroposAuthor
Known Participant
Oct 14, 2009 6:51 AM UTC

Sick man, this looks like it.

Thanks so much,

Lance

Translate
Inspiring
Oct 19, 2009 5:49 PM UTC

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

Translate