Display HTML content in Flex screen
Posted on July 11, 2010 | No Comments
Problem
I have a application where i need to display HTML text in flex screen (using TextArea). Problem is HTML text contains
tag which is not supported in flex htmlText property. So all the information under
tag is being displayed in single row. Is there any component which understands
tag and display in a tablur format.
Solution
Use Iframes for Flex.
Detailed explanation
An IFrame is an entity which has the ability to load any external HTML in Flex.You can either go for giving a direct URL as to the soource of the IFrame or you could also give a HTML text which understands things like Table and all.
You can get IFrames for Flex from http://code.google.com/p/flex-iframe/
You can also refer for Table and HTML support in flex.
http://code.google.com/p/flex-htmlfilter/
http://code.google.com/p/flex-table/
By default, Flash only supports a small subset of HTML in htmlText fields Reference:
Anchor tag () Bold tag () Break tag () Font tag () Image tag () Italic tag () List item tag (
) Paragraph buy viagra online order | buy cialis tadalafil | buy levitra vardenafil 424 buy viagra | where to buy cialis without prescription | order online levitra tag () Text format tag () Underline tag () Flex-htmlFilter can be utilised to extend the HTML support of htmlText fields by enabling the use of: Unordered list tag (
- ) Ordered list tag (
) Table tag (
) Table header column ( | ) Table caption tag ( |
---|
Comments
Leave a Reply
You must be logged in to post a comment.