A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: spacing in text files

  1. #1
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146

    spacing in text files

    I am using the loadvariables to load an external text file into a dynamic text box that is set to except html. The text box name is [txt1var]. My notepad text file is named events.txt. The text loads fine but it has double spacing between the lines. How do I control that? I just want a single space. For example: Here is my text file structure:

    Code:
    &txt1var=<p><b>OUTREACH PROJECTS</b></p>
    <p>Ø  Scholarship Award</p> 
    <p>Ø  Adopted School</p>
    <p>Ø  Help the Homeless</p>
    <p>Ø  Pink Connection</p>
    <p>Ø  Breast Cancer Support Group</p> 
    <p>Ø  Adopt A-Road - Keeping our Communities Clean</p>
    <p>Ø  Manor Care Nursing Home</p>
    <p>Ø  Treats for Troops in Iraq</p>
    <p>Ø  Thanksgiving and Christmas Baskets</p>
    It displays like this:

    OUTREACH PROJECTS


    ֠ Scholarship Award


    ֠ Adopted School


    ֠ Help the Homeless


    ֠ Pink Connection


    ֠ Breast Cancer Support Group


    ֠ Adopt A-Road - Keeping our Communities Clean


    ֠ Manor Care Nursing Home


    ֠ Treats for Troops in Iraq


    ֠ Thanksgiving and Christmas Baskets

  2. #2
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    Set the condenseWhite property of the textfield to true

  3. #3
    Senior Member
    Join Date
    Mar 2004
    Location
    Upper Marlboro, MD
    Posts
    146
    where do I find that property? I don't see it in the list of properties of my dynamic text box.

  4. #4
    Senior Member
    Join Date
    Dec 2002
    Location
    Netherlands
    Posts
    1,632
    You can set it using actionscript

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