A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: textArea formatting

  1. #1

    textArea formatting

    Can anyone PLEAAAASE tell me how to format a textArea in 2004 pro??

    I'm pulling text in through an XML doc and the textArea is formatted for HTML text. What I really want to do is, create a different default color for the text besides black. So if I don't define the text Color in a tag in my xml, it will just always be that default color. Or if anyone knows how to change the textAreas default color with a stylesheet. Anyone??

    I've tried myTextArea.setStyle("color", 0xFFFFFF);
    and it only works for non-html text

    thanks,
    8-)

  2. #2
    Child Prodigy Fat_N_Furry's Avatar
    Join Date
    Oct 2002
    Posts
    551
    Hey dude I gotta run to class right now but I'll just throw this out there: search in the Flash help for CSSStyleDeclaration. I had the same problem. Let me know if you need any more help!



    Rick
    Code:
      hobby = webDesign; waitYears(3);
      job = webDesign; this.love(job);

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