dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: rendering dynamic text as HTML

  1. #1
    I created a text field and set its properties.
    Every property worked except for the .html = true one.
    The very same text file is used by another flash movie, and it will render as HTML (but was not dynamically created).

    here is all the code:
    Code:
    	createTextField("wTextInst", wDep+20, 0, 0, wW, wH);
    	wTextInst.type = "dynamic";
    	wTextInst.multiline = true;
    	wTextInst.wordWrap = true;
    	wTextInst.selectable = false;
    	wTextInst.html = true; // < doesnt work?
    	wTextInst.text = wCont;
    thanks in advance

  2. #2
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    How can you say it doesn't work?

    What if you changed your last line...

    wTextInst.text = wCont;

    To...

    wTextInst.htmlText = wCont;

    Would it then magically work?

  3. #3
    yah, it did, where did u find that? i coudlnt find it didnt say anything about that in any of the help files...

    or has this just happend to you before?

  4. #4
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Check the second half of this:
    http://www.macromedia.com/support/fl...t_scrollmx.htm

    It's printed in <font color='#0000FF'> BLUE!
    <font color='#000000'>
    Old folks know all the old tricks!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center