Groups | Blog | Home
all groups > flash (macromedia) > december 2003 >

flash (macromedia) : blank spaces in textfields


ritpas
12/30/2003 11:57:35 PM
Hi,

I create a text field whose dat are retrieved from a database through php.
As there are several columns, I programmed a little script setting the tab index of the next column and based on the number of the caracters of the previous column.
It looks fine and seems to work, but I observe that blank spaces don't take the same space as other caracters whatever the font used. So the items of the second column are slightly shifted, it depends of the number of space contanied in the item of the first column.
Is it possible to set up the white or blank space caracters under flash, so that the "space" caracter, takes exactly the same space as any other caracter?

Thanks,

Pascal


urami_
12/31/2003 10:50:21 AM

[quoted text, click to view]

do by space you mean carriage returns ?
IF so , I just wrote about it the following thread :

Subject: Re: Dynamic text files
Date: Wed, 31 Dec 2003 10:39:42 +0800
From: urami_ <noSpam@flashfugitive.com>


Regards


urami_*

<xmas>
http://flashfugitive.com/
ritpas
12/31/2003 3:05:13 PM
Where is thread you were talking about?

In fact, I think it is a kerning pb.
Example :
sdsdsdfsqfqsdf dfgd
sdsdsdfsqfqsdf****dfgd
=> the two lines above contain the same number of caracters but have a different length, it is exactly the pb I have; For my tabulation script to work, each font caracter should exactly take the same space.
Does any font exist or is there any other solution, the kerning should be set up individually for each caracter.

Happy new year

ritpas
12/31/2003 4:16:15 PM
Thanks for the reply.
which pixelfonts?

Laiverd.COM
12/31/2003 4:47:39 PM
Think in your case you'd have to use a monospace font; those, as far as I
know are the only types in which each character has the same width. Examples
of monospace: Courier, Andale Mono. You may also try one of those
pixelfonts; they may also work, but you'd have to check.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

Laiverd.COM
12/31/2003 6:13:09 PM
Any pixelfont that you can buy or get for free out there. But like I said,
you'd have to try. Your best bet I think still is a monospaced font.

John

--
----------------------------------------------------------------------------
-----------
RESOURCES
http://groups.google.com/advanced_group_search?hl=en&as_ugroup=*flash
----------------------------------------------------------------------------
-----------
TUTORIALS at
www.laiverd.com
Flash & PHP Emailform
Using textfiles in Flash
----------------------------------------------------------------------------
-----------

AddThis Social Bookmark Button