Skip to main content
Known Participant
May 19, 2010
Question

TLF Markup from Flex to Flash

  • May 19, 2010
  • 1 reply
  • 1508 views

Hello,

I am encountering some difficulties getting markup that I created in a Flash Builder TextArea to look the same once it's imported into a Flash TLFTextField object.  The content and styling (most) makes it over, but there are leading issues and some styling information not being used. 

To get the markup into the TLFField I use:

tlfTextField.tlfMarkup = markupXML;

I've tried the following as well, but when I do nothing seems to happen.

tlfTextField.textFlow = TextFlowUtil.importFromXML(markupXML);

Any thoughts?

thanks,

jr

This topic has been closed for replies.

1 reply

Adobe Employee
May 19, 2010

Can you tell me what leading and styling issues you have? Could they be the result of CSS styles applied in Flex to the TextFlow's hostFormat?

Thanks,

- robin

jrbranaa2Author
Known Participant
May 19, 2010

Thanks Robin.  You may be onto something.

Please see the attached image for an example.

Left side is how it's "supposed to be" as created in Flash Builder.

thanks,

jr

Adobe Employee
May 19, 2010

Can you show me the markup for this? And are you using CSS styling? Thanks!

- robin