Skip to main content
Known Participant
May 19, 2010 12:25 AM UTC
Question

TLF Markup from Flex to Flash

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

7 replies

Adobe Employee
May 19, 2010 3:58 AM UTC

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

Translate
jrbranaa2Author
Known Participant
May 19, 2010 4:52 PM UTC

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

Translate
Adobe Employee
May 19, 2010 9:20 PM UTC

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

- robin

Translate