using html and css on external loading texts

Posted on 2006-05-11
Last Modified: 2010-04-03
i have text boxes which loads external text files. that works fine.
i pressed on the "render as html" button and then used html tags and css styles to format the text but flash write the tags as text.
can i force flash to accept the loaded text as html in a different way? actionscript?

best regards

Question by:derrida
    LVL 19

    Accepted Solution

    Yes. You can use .htmltext

    my_txt.html = true;
    my_txt.htmlText = "<b> this is bold text </b>";

    LVL 1

    Author Comment

    i managed to fix the problem



    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now