Results 1 to 4 of 4

Thread: Space at the end of a text field?

  1. #1
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default Space at the end of a text field?

    Flash doesn't seem to render spaces unless there is a character following the space. Is there a a way to correct this?

    I have a dynamic text field with 200px italic Arial Black, and load 1-3 character strings into it. Because the letters are italicized, part of the edge of the last letter gets cut off. I tried to correct this with a simple space at the end of each string, but Flash doesn't show the space(s) unless there is a character following it.

    Please see the problem in action here:

    http://sbbmwredesign.autofusion.com/

    When the main Flash piece loads up, you can see the W in BMW being cut off.

    Is there any way I can correct this?

    Thanks for any responses!

  2. #2
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default

    P.S. - by "correct this", I mean is there any easy method, space or no space, to get these characters to avoid being cut off?

  3. #3
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    You could set the text field to autosize from the right.

    http://www.adobe.com/support/flash/a...ionary729.html

  4. #4
    Join Date
    Apr 2008
    Location
    San Diego, CA
    Posts
    352
    Thanks
    57
    Thanked 6 Times in 6 Posts

    Default

    Thanks for the tip. I ghetto-rigged it by concatenating a few spaces and a period to the end of each string, with the period falling off the stage.

Bookmarks

Posting Permissions

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