Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7604461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:54:56+00:00 2026-05-30T23:54:56+00:00

I want to display HTML formatted content from various sources inside a Flash Flex

  • 0

I want to display HTML formatted content from various sources inside a Flash Flex application. Flash supports HTML formatting in its text fields, however it is very limited compared to a web browser. Are there any scripts out there that will convert common HTML formatted text into a format that Flash can handle? My particular use cases are:

  • Displaying HTML formatted emails inside Flash
  • Displaying RTF files inside Flash (after running an RTF2HTML conversion on the server)
  • Displaying random HTML content copied and pasted from other sources into Flash

I’m open to code that runs either on the client or the server, but server is probably preferable.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:54:57+00:00Added an answer on May 30, 2026 at 11:54 pm

    The subset of html tags supported is quite poor and has not changed in forever:

    <a>, <b>, <br>, <font>, <img>, <i>, <li>, <p>, <textformat>, <u>
    

    This means is that regardless of conversion quality, html cannot be rendered as fully intended; you could also be giving up a significant portion of css styling if you replace unsupported tags with more basic ones.

    That being said, http://simplehtmldom.sourceforge.net/ (PHP) would work with some tweaks and it’s competent enough to cope with invalid markup as well (seeing how you’re after processing content from various sources, I’d say this feature alone would save a lot of pain in the long run) – than replace

    <h1>,...,<h6> => <b>
    <strong>      => <b>
    <em>          => <i>
    

    and plaintext the rest of it into paragraphs you’d be surprised at how readable it would still be. You could be a bit fancy too like so:

    <h1> => <b class="header1">
    

    and add some css as appropriate (although flash css support is pretty limited too)

    I’ve been saving this one for desert – you’ll either love it or hate it but it would do the trick. Assuming your app is deployed in-browser (if not and I misread you, save me the embarrassment and stop reading right here) you could use an iframe to display your html, seriously.

    JS<->AS communication is fairly straightforward and you could have it positioned over a predetermined area of your app, giving the illusion that it’s part of it; just remember to set windowmode on the flash object/embed correctly so it does not render on top of other page elements, then increase the iframe z-index.

    I would not be surprised if this is seen as an “ugly” approach, but it’s beautiful on the inside – you’ll end up with verbatim html and real css support. As for user interactions, you could even intercept link clicks etc. in the iframe and request an action from the movieclip.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to display an HTML formatted content in my application preferably inside a
I have a .net (3.5) WinForms application and want to display some html on
I have a JLabel that needs to display some html-formatted text. However, I want
I have an html paragraph (inside a div) in which I want to display
I want to display text in html form(text field) that comes from DB so
I want to write an application that sends html formatted email. I have the
I want to display HTML in a JEditorPane or JTextPane, but I want the
I don't want PHP errors to display /html, but I want them to display
For the most part, when I want to display some HTML code to be
I want to display the ImageLink on my ASP.NET MVC Page. HTML. ImageLink is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.