Text Spacing On Variable Textfield
Is there a way to change the spacing in a variable textfield?
I put an example on http://www.maal2.nl/spacing.html
Thanks!
Ultrashock Forums > Flash > ActionScript
Posted on: 2004-08-04
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
HTML Textfield Spacing Between Bullet And Text
Is there any way to control the space between the bullet and the text in an HTML text field? When I use the <li></li> tags it causes the text to be about 40px from the bullet like:
•____bullet 1
•____bullet 2
but I want it to look like:
•_bullet 1
•_bullet 2
(ignore the underscorE)
I tried messing with indent, leftMargin and others but with no luck. I'm publishing for Flash 8.
Any help is appreciated.
Thx
Fish
Line Spacing In Dynamic Text Box From Php Variable/mySQL
I have a dynamic text box in flash that is accessing a body of text from a mySQL database through a php variable. It seems that the resulting line spacing is different when the text wraps versus when a "return" was used. The "return" seems to be creating a double-space rather than a single space.
example:
http://www.infectedeye.com/moore/test.swf
Any thoughts?
thanks. -jm
TextField Top Spacing
Does anyone know the equation to determine the spacing between the top border of a TextField and the top of the first line of text? It appears that as the font grows larger the space height also increases but not at a consistent ratio from what I can tell.
Spacing Problem In Multiline TextField
Hello, everybody! This is my problem: I have a dynamic multiline textField, and I use htmlText to add some simple text and an <a href=.. > link in it. Everything is ok, it works, but if I hover the mouse over the link, and the underline appears, some of the text is displaced with about 1 pixel
I tried to use instead of spaces, but It seems this doesn't work. The characters are recognized, but they're not shown and I am left with no spaces at all. Anyway, I don't think would be a solution to the initial problem even if it worked, because even the spacing INSIDE words changes on mouseOver.
I think it's because the textField is multiline and flash needs to calculate where to start a new line..
This moving text looks pretty bad, and it's annoying. Do you know any solution?
TextField And CSS: How To Control Spacing Between Paragraphs
I'm using an external CSS to format a textField that has some HTML text in it, let's say something similar to this:
myTextField.htmlText = "<p>paragraph one</p><p>paragraph two</p>";
How can I control the spacing between paragraphs when there is no support for margin-top or margin-bottom? I don't want to add empty <p> or <br /> elements to my text since they don't allow exact control and insert too much space. Is there any good solution?
Thanks
TextField And CSS: How To Control Spacing Between Paragraphs
I'm using an external CSS to format a textField that has some HTML text in it, let's say something similar to this:
myTextField.htmlText = "<p>paragraph one</p><p>paragraph two</p>";
How can I control the spacing between paragraphs when there is no support for margin-top or margin-bottom? I don't want to add empty <p> or <br /> elements to my text since they don't allow exact control and insert too much space. Is there any good solution?
Thanks
Fixing Spacing And Bolding Text When Loaded From Text File
Hi, on my current site www.dual-anime.com I use text files for the news section. However When I use the 'return' or 'enter' key anywhere in the text file, when loaded there is a 5 space gap between the lines. So for example if the text file reads:
&vInfo=Name: John Doe
Age: 24
Sport: Soccer
What I need it to look like is:
Name: John Doe
Age: 24
Sport: Soccer
But what it actually looks like is:
Name: John Doe
Age: 24
Sport: Soccer
How do I fix it so I can easily space the text to my liking. Also is there anyway to add Bolds and such to the variables inside the text file. For example having the headings (Name,Age,Sport) be bold.
Thanks~
Text Rendering Bugs W/dynamic/css Text - Overlaps, Spacing, Etc.
Hi There:
This is a problem I've been having for years but which came up again today. I've got a fairly complex quiz engine which builds question and answer screens from xml & stylesheets using embedded fonts. I've wrangled most of the basic issues with formatting - bold & italics, special characters, etc.
Unfortunately, I still have regular problems with Flash's rendering of the text - usually when using an inline style with italics. At small font sizes italic text will overlap the text that precedes it - and I know that it's a rendering bug, because if I zoom in to 200 or 400%, the letter spacing is correct. I end up adding non-breaking spaces to the file, which is bad form, but it works.
Today I have a problem with underline tags adding too much space between words - even when there are no spaces. Again, it displays correctly when zoomed in. Unfortunately, I can't fix this one by adding NBSPs. I've tried playing with the letterspacing with no success.
Does anybody have any insights or advice? I'm attaching an image that shows examples of what I'm talking about. I've experienced this problem for YEARS with dozens of different fonts, and I've tried every variation of kerning/letterspacing/font embedding etc. that I can think of.
Thanks in advance!
Patrick
Text Rendering Bugs W/dynamic/css Text - Overlaps, Spacing, Etc.
Hi There:
This is a problem I've been having for years but which came up again today. I've got a fairly complex quiz engine which builds question and answer screens from xml & stylesheets using embedded fonts. I've wrangled most of the basic issues with formatting - bold & italics, special characters, etc.
Unfortunately, I still have regular problems with Flash's rendering of the text - usually when using an inline style with italics. At small font sizes italic text will overlap the text that precedes it - and I know that it's a rendering bug, because if I zoom in to 200 or 400%, the letter spacing is correct. I end up adding non-breaking spaces to the file, which is bad form, but it works.
Today I have a problem with underline tags adding too much space between words - even when there are no spaces. Again, it displays correctly when zoomed in. Unfortunately, I can't fix this one by adding NBSPs. I've tried playing with the letterspacing with no success.
Does anybody have any insights or advice? Here's an image that shows examples of what I'm talking about. I've experienced this problem for YEARS with dozens of different fonts, and I've tried every variation of kerning/letterspacing/font embedding etc. that I can think of.
Thanks in advance!
Patrick
Create Textfield With New Textfield Variable?
flash MX 2004 professional
--------------------------
anyone know if it's possible to create a dynamic textfield AND specify not only an instance name but also a textfield variable?
thx
eve
Text Format Property: Leading (=text Spacing, BUT)
Hi!
In Flash it is possible to set the line spacing to a negative value - with the result of tighter lines.
It is also possible to define line spacing via ActionScript (.leading property of text format), but it is not possible to set negative values.
I really need those text lines with less spacing than 0pt.
Does anyone know how to fix this problem? Maybe a workaround?
Thank you!
Tensile
Changing Text Spacing On Input Text Fields
It appears to me that the text spacing tool ( AV ) in the properties inspector does not work on input text fields. All other tools do seem to work though.
I'm creating a form to be used by a classroom instructor to show students how each of the 200+ input text fields should be filled in. The months, days and years are individual cells. Currently, for the date cells, you must click on each cell, type in the number, click on the next cell, type in the number, etc. It would be nice to avoud the mouse click between theses inputs.
What I would like to do is spread out an input text field that will accept 4 characters (for the year). The character spacing is needed to align the characters up with the graphical input blocks.
Any ideas?
Thanks for helping.
Spacing Around Text
Hi, I'm basically doing a text effect from scratch and there is alot of space around it when I put it on the web page? It is all Flash space also. When I am in Flash There is no extra space, why is it there when I put it on the actual site? you can see what I mean at: http://www.geocities.com/xxsurfxx20/new.htm
Thanks for any help.
Text Spacing
This flash movie has a list of items and lists their prices.
I made the background change colors for each item so its easier to follow it over and look at the price in the next column.
However, I looked at the site on a friends computer and the text was spaced differently and no longer lined up.
www.murrayswineandspirits.com/test/
(click the picture, then "Monthly Specials" and then any of the four types (Wine, Beer, Wine Club, Liquor) to see the site I am talking about.
How can I make it so it always looks like it does on my computer?
If you want the .flas please let me know, thanks !
May God shower blessings upon you!
Text Spacing
Im using the little a/v button within the text field to modify some text, things look good on screen at the time, but when i go to publish it acts as if there is no "a/v" information. I dont want to break apart the text or any of those other options... why wouldnt it recognize the input? This happens with both publish and publish preview. Viewed though IE, Netscape, and flash player alone. Is it bugged or am i?
Thank you.
[F8] Text Spacing
Hi,
I have some script that makes my text animate, within the script you have to specify a number for the spacing of the text. My problem is that when i change the font or text size the spacing needs to change too but i want to know how to do this automatically so i don't need to change it within the script everytime?????
Any ideas? I have attached an example file if you do not understans my way of explaining it and have written the script here (the script is obviously also in the fla)
Thanks in advance.
Nic
My Script is:
1st frame
i=0;
max=length(text);
setProperty("txt0", _visible, 0);
second frame
i=Number(i)+1;
duplicateMovieClip ("txt" + (i-1), "txt" + i, i);
set ("txt" + i + ":txta", substring(text, i, 1));
setProperty ("txt" + i, _x, getProperty("txt" + (i-1), _x)+50);
last frame
if(Number(i)<=Number(max)){
gotoAndPlay(3);
}
else{stop();}
Text Spacing
Hello and thank You!
I have this problem where I have a meter where is kind of a counter. It is a scrolling number that grows a certain amount per second. I can change the font, color, size etc. but I haven't been able to set the character spacing for this counter. Is it possible and how?
~SamCamp~
Text Spacing
I am new to flash, but I would like to figure out to how to achieve this certain effect. If you have seen "Sixth Sense" you will remember the opening credits. The text would fade in while the spacing between letters increased until it faded out. I am only trying to do it for one line of text. I know how to do it using simple keyframe animating, but that is time consuming. Is there an easier way?
Thank you.
Xml Text Spacing Help
Does anyone know how to create a textField for navigation using xml. The textfield will have to create multiple fields reading an xml file. the fields have to be able to get as long as 30 charactors and each text field/node should be equally spaced from eachother (about 20px). I cannot seem to figure out how this is done. casn someone please help me out??
Spacing Xml Text
Hey im loading a list of clients in throught xml and they are separated into categories. they will be updated so I need to figure out a way to space them evenly. Here is a screen shot of how its setup and how it looks when loaded
so as you can see the spacing gets all messed up. I tried doing something like this
ActionScript Code:
fashionList._y = entertainmentList._y + entertainmentList._height;actionSportList._y = fashionList._y + fashionList._height;
Text Spacing When Using Actionscript For Text Effects
help please!
i am using action script to create some text effects for a variable string, the code is simple like below ... taking each character of the text string and attaching a text effect movieclip for that character.
the problem i that the letters appear with a wide range of spacing (from no spacing - to lots of space) between the letters of my text string after it is output.
i have set a kern value and simply multiply the character count * the kern value. shouldn't this keep a standard spacing between the letters?
Thanks in advance,
Shane
------------------------------
example:
------------------------------
should look like:
Hi computer user.
but instead the output has weird spacing:
Hi com put er us er .
-------------------------------
My actionscript code:
-------------------------------
account_name = "Hi computer user.";
count = 0;
kern = 16;
if (count<account_name.length) {
this.attachMovie("text_fx", "text_fx"+count, count);
this["text_fx"+count]._x = count*kern;
this["text_fx"+count].text_var = account_name.charAt(count);
count += 1;
}
Spacing In A Scrolling Text Box
what would be the best way to space a bunch of text like a resume in a scrolling text box.
i just spent about an hour spacing lining up my text. when i test the movie it looks great but if i double click on the .swf it's all out of line.
any suggestions?
scott
Text Line Spacing
When I import text from a txt file I have a problem with the linespacing.
the thing is, there is a different in spacing online and offline.
Offline I can set the spacing BUT I can't get it small enough.
online It all turns to a setting closer than I would like.
any suggestions ?
Dynamic Text Spacing
Hi
When I enter text into my html form and then pass the text to my dynamic text field in my flash program, all the text seems to be double spaced or has extra returns in them. Is there a setting that correct this?
Text, Rollover Spacing.
How can you change it when you have a piece of text.
that a rollover not only counts when you're on the actual text, but also in between it ?
[F8] Text Line Spacing
Whenever I load text into flash via a text file (.txt) into a dynamic text frame I always find (html or not) that the spacing between lines is huge. This account for very large text fields containing far too much white space. Can anyone recomend a way of reducing the white space between lines please?
The dynamic frame I'm currently using is set to render as HTML and I'm using the line:
code: loadVariablesNum("news.txt", 0);
...to load the text.
Any help on this would be very appreciated! THANKYOU!
Regards,
JAK
Dynamic Text Spacing?
is there a way to space dynamic text?
through actionscript?
the letters of my dynamic text are to dense and i would like to change this.
regards,
.dnd
Extra Spacing In Xml Text.
Hi, Im still relativly new to bringing in xml to flash, but i have read some tutorials and other pages on it. Everything is working fine except for the fact that all the text that isnt an attribute as lots of extra spacing infront of it. I made sure my i set ignoreWhite to true but it still is cuaseing those spaces. Does anyone have an idea how to get rid of it?
Text Spacing Query...
Hi guys - sorry if ive posted in the wrong section but couldnt see another bit for my question...
Im very new to flash and finding things ridiculously difficult coming from familiarity with Director MX.. Anyway, im digressing - my problem is related to the 'making random quotes' tutorial - which was excellent.
Basically, my file is fine but im having problems with fitting the text. Some text flew out off the text box (which ive fixed by spacing it in the text file) but id like to reduce the space between lines if possible so that i can fit more in?? How can i achieve this?
Many thanks in advance - some great stuff around here! Andy.
Text Crazy Spacing
hey, my question is, why, when I load an external text.txt into a dynamic text field, does the spacing appear all weird, being as if my external doc had double space between lines? my external text editor is word, i'm saving it as a .txt
thanks so much!
External Text Spacing
I have been looking through google and other forums on the answer but i cant seem to find my exact problem solved.
I create a LoadVariables and stuff in the first frame to load my txt
then i put the dynamic text box in the second frame and as the variable i put text
Then i publish it and create a new txt document and save it as text.txt, but inside the txt document, every time i hit Enter to start on a new line, in the flash it counts it as if it were double spaced. But I want it to stay single spaced.
It looks like this:
News:
The cat said meow.
Then the dog said woof.
--- When I type it like this and want it to look like this:
News:
The cat said meow.
Then the dog said woof.
Is there something special I need to do to make it appear the way i want it to? Any help would be greatly appreciated!
Text Box Vertical Spacing In 7
How can i accomodate vertical spacing fos a Flash 7 published movie? The text is spaced out too much and I want to compact it up a bit...
Spacing Between Characters (input Text)
Hi, does anyone knows how to set the kerning (or was it leading? or what was it called?) for input text? What I meant is the inbetween spacing of characters. It could be set if I'm using static text but not for input text and dynamic text. So is there other ways to set it??
Spacing With External Text File?
Hi i am having problems with a text field. Basically the text fields imports the text from an external .txt file. No problems here. However the line spacing when displayed in flash is almost double that it should be.
So to overcome this i changed the line spacing to -6points and it looks normal. However the actual line height is too small so that it is very hard to click on a hyperlink.
I have attached the file for you very nice people out there ;-)
Cheers for the help
Alex
Tweening The Spacing Between Text Letters
Hi,
How do I tween the space between letters of text? I'm trying to make them grow closer together, but when I do a motion tween (I presume this is correct), each time I set a keyframe, all keyframes on the timeline become whatever I set the one to be. Anyone know what the problem is, and how to go about solving it?
Thanks,
AC
Set Dynamic Text Letter Spacing ?
Hello I am wondering if there is any way to be able to set the letter spacing for dynamic text like you can with static text? I know I could break each word up into an array and insert spaces in between each letter and feed it back into a string, or something like that, but that seems like a lot of trouble... is there any other way?
thanks in advance for any ideas!
Dynamic Text Line Spacing
im loading text into a multiline text area from .txt file
why in text file if i start a new line does it show up in flash as a huge gap? (<p>)
how can i display text file "as is"????
Dynamic Text Line Spacing
Hello--
This is the code i use 2 upload my text file
Code:
loadVariablesNum("screen.txt", 0);
Inside the TXT file i wrote
Code:
screen=bla bla
so far so good
BUT!
When i write two sentences like:
Hello world,
How u doing?
In the SWF it shows like
Hello world,
How u doing?
I dont know y it makes an extra space?
How can i fix this?
Thanks allot,
Dynamic Text And Character Spacing
Hi there,
Is it all possible to reduce the character spacing in dynamic text? I have some dynamic text fields displaying the date etc and the letter spacing needs to be tighter. Any ideas?
Thanx
Equal Spacing Between Text Buttons
Hi
I am trying to create my navigation bar dynamically, I have created my navigation movie clip and now i want position my text which are also my buttons so that it is spaced evenly. That is so that there is 40 pixels say from the last letter of text to the next text button.
many thanks
greg
Spacing Text Within A Scroll Field
Good day to you
Question - I'm in the middle of creating a website. I would like to know how to increase the spacing of letters, is it called (tracking?, maybe leading?) to dynamic text to go on a scroll field
Is it possible?? the check box seems to be unavailable as soon as you make your text dynamic? uhmmm
Maybe you could have a look. The home page section. The text looks awfully sharp?
www.mtwenty5.co.uk
This site is in progress, so to get in you have to scroll over the screen on the splash page.
Im a little new to this area, I love any suggestions.
Many thanks
Dynamic Text Character Spacing
I am not sure how to control the character spacing when a text box is dynamic. Has anyone found how to make this work?
Thanks so much!
Brian.
Dynamic Text Character Spacing
I am not sure how to control the character spacing when a text box is dynamic. Has anyone found how to make this work?
Thanks so much!
Brian.
Character Spacing In Dynamic Text
Is there a way to use character spacing in dynamic text? You can use it with static text it's an option drop down on the properties dialog box, but I can't find a way to use it with dynamic text.
If there is for some very stupid reason you can't is there a way around it.
Thanks
Spacing Issues In Text Block
please help!
When I send my SWF to other people, they are reporting spacing issues, where certain words don't line up along the left margin and it looks like there are extra spaces in the text block. I can't figure out why it is doing this or how to fix it. The text box in question is dynamic text w/ a scrollbar attached to it.
Any advice?
THANK YOU!!
(The file is too big to attach, but i'd be happy to mail it to anyone who would like to try to help.)
Text Area <br> Spacing Problem
Good evening
Im using this code in a text area:
onClipEvent (load) {
this.color= 0x0000;
// this code does not work to change text color!
this.text = "Company name: gits
southern location, etc
do not proceed";
}
The problem is that in this.text flash wont understand the enter spaces and will say that there is an error. when I put everything together in this.text it works fine, I have tried <br> but I havent had any luck. My other question is is there any way I could bold that text?
thanks in advanced!
|