A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: textboxes and scrollers in MX...???

  1. #1
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778
    Hi All,

    Why cant i have differently formatted text in a dynamic text box with a scroller???? (I dont know if the scroller component has abything to do with it??)

    i try to make the text in a dynamic text box have various formats...but it just gets overridden by the first format encounetered from top-down..

    why is this so???

    cheers all

  2. #2
    Senior Member
    Join Date
    Oct 2001
    Posts
    164

    one way

    The easiest thing I've found to do to accomplish this is to load the dynamic text field's content from an outside .txt file using the loadVariables command. If you put a check in the HTML box on the dynamic text box, you can use HTML tags to format your text however you like.

    This method can cause problems with special characters (like the ampersand '&'). For these characters you might have to rely on unicode values ('%26' for '&').

    I hope this helps.

  3. #3
    TheForceIsStrongWithThisOne dvdvault's Avatar
    Join Date
    Apr 2002
    Location
    Sydney, Australia
    Posts
    778
    thanks gazo,

    ive never used the loadvariables command before...but ill duck into the help file and give her a go

    thanks for your help!!!

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