ActionScript 1/2 :: 150% Line Spacing Between Text?
Sep 13, 2010how can I make the text to have 150% line space when it is HTML enabled? Currently I'm having <br><br> but that's a bit too much. I want it to be 150%.
View 3 Replieshow can I make the text to have 150% line space when it is HTML enabled? Currently I'm having <br><br> but that's a bit too much. I want it to be 150%.
View 3 RepliesI have a dynamic text box, displaying the text from XML file, which is created dynamically.My issue is that the text is shown in double spacing, instead of single spacing.I've been researching this for hours, and one website discussing this issue as "when a user insert value from windows platform, flash translates line brake as double space." So, when I look at the XML file, there is only one
Code:
<br />
tag, but displays as if there is 2
[code].....
how do you set the line height or line spacing in Flash using as3?example: myFormat.linespacing = 19;
View 1 Repliesin my Flash movie (CS3) I want all text to be selectable. When I select 'static' and 'selectable', I have the following issues: Some of the text does not fit into the available (scrolling required to see the end of text) This is larger than when in Flash.
[Code]...
I've got a dynamic html text field in flash which pulls content from an XML file, which is being generated by a CMS using CK Editor. I'm not sure if that has anything to do with it, but flash represents a <br/> tag with a space that seems more fitting for a <p> tag, and a <p> tag renders with about double that amount. How do I control this? I've tried specifying margins in the flash css file, but it has no effect. Is there something I can declare in the actual actionscript code?
View 3 RepliesThis component requires that you use Dynamic text, the Multiline behavior, and embed all fonts. There are 5 lines of copy on the banner. I need to make two of the lines of copy a larger font and also adjust line spacing on two of the lines. I can accomplish this using Static Text but cannot seem to get it to work in Dynamic Text. If I change the font size on selected text it changes ALL of the font sizes for everything within that text box.
View 4 Repliesi have a problem with the line space flash creates when a dynamic text is loaded in a dynamic text field on the stage i put a dynamic textFild with istance name "profile_text". then im loadin in it a text. my text is written in the Notepad like this
[Code]...
i already set a Textformat to my dynamic text with i tryied to play with the "Leading".. but i think it something dealing with paragraph. how i can decrease spacing between paragraphs??
I have at some point imported photoshop graphics into flash where some textfield have had quite a large linespacing.Now, when I create a new textfield it will inherit this linespacing and the properties box have no setting for cahnging itHow can I get rid of this!?Edit:Nevermind, I just copied around some other textfields without linespacing and it dissapeared. A bit strange though that there's no setting for it.
View 2 RepliesI created a simple TLF text field for read only. It is similar to this
Very
Simple
Text
The text is centered and say Arial black and font size = 40 pts.
The problem is there is to much spacing between each line.
How do I "scootch" it up so it looks like this
Very
Simple
Text
I'm having an annoying issue... I have some simple static text in a simple swf, but when I test the movie, the line spacing becomes much less than it looks like it should be on the stage. Here's a screenshot - the left one is the stage, the right one is the compiled swf:
View 2 RepliesHave I lost my mind, or is Flash CS4 incapable of handling line spacing? Some of my text boxes are unaffected, but as soon as I apply multiple line spacing values within one box, Flash reverts to just one of the values. How can that be? Isn't this a professional design application?
View 5 RepliesI've just switched over to Mac OS 10.6 and found that the line spacing has changed in my files. Basically it seems to have increased the line spacing so the static text fields take up more space. I've updated Flash and I'm now on 10.6.1 but the problem remains. It doesn't do this on 10.5.8 or in InDesign and SL (but it does do a similar thing in Quark 7.5). It doesn't seem to matter what font it is either. Does anyone have any suggestions?
View 3 Repliesi am using a UITextField with multilines and want to add line specing as i need how to do so in flex action script;
View 1 Repliesrun into an issue where the line spacing/leading for a Multiline Dynamic Text Field appears to place lines differently when you dynamically populate the text field at runtime than when you type the same text into the Text Field at authortime?Put two dynamic Multiline Text Fields on stage aligned horizontally with each other and each has a 9pt line spacing.In one Text Field type "Hello Cruel World", putting each word on a separate line.Leave the other Text Field blank and name it my_txt.Now when I try to populate the empty text field at runtime with:
PHP Code:
y_txt.text = "Hello
Cruel
[code].....
when I export a bin-release of my application, all my text fields have a different line spacing from that of the bin-debug version. How is this even possible?
Has anyone else come across something like this before?
I am looking for some sample fla files in AS2 where i can see a running example of dynamic text curve (bend) and spacing in between the text through their respective sliders.
View 0 RepliesI just upgraded to flash player 10.1 and there's an issue with a program that I've been working on. I'm copying text from a mysql table that is formatted with spaces and newlines (including spaces and newlines at the beginning of the text) into a textArea in Flex 3.5. Before the update,it worked fine. Now when AS retrieves the text from the table, it does not include the spaces and newlines at the beginning of the text.I'm using xml to retrieve the text.
View 2 RepliesI am currently designing a countdown clock and I would like to add some spacing between the text. But every time I add the spacing it does not work. I just want the days to show and I need them to go over boxes that require the numbers to be spaced out.
View 2 RepliesI am trying to fix an interesting issue with a site. I have xml docs loading text into a site however the text is double spaced and not single. I believe i have all the settings correct in the doc to be single spaced but i cant upload the doc at the moment.
View 1 RepliesIm 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.
View 3 RepliesI am new to the forum, I have used Flash MX 2004 for quite a while and had never had this problem, recently I gave my site a "facelift" in CS4 and I got it exactly how I wanted it, I exported the swf file and saved the flash file. That was a few days ago, Today I wanted to add a new piece to my portfolio so I opened the same exact file today and everything had shifted! SOOOO FRUSTRATING as I felt I had finally achieved what I wanted to. This is the one I was really happy with:
[Code]...
So if I want to imitate a link in as3, when I set
myFormat.underline = true;
the underline is directly underneath my text. Is there any way I can set the spacing of that underland?
character spacing on dynamic text is greyed out, is there any way to fix this with AS or is there any other workaround?
View 4 RepliesSo I have a project where there are 5 dynamic text fields, and I thought it would be quite simple. Create a dynamic text field, and then load in the .xml content, and I had it complete. However, it turns out that spacing is quite important, so my method will not work, and I'm kind of stumped how to proceed.So the things highlighted in red represent the .xml nodes, and as the width (character count) of TEAM1 and TEAM2 change, the spacing needs to remain consistant, and the static elements (the "vs." and "|" need to move accordingly, and the TEAMLOCATIONS need to stay lined up as well..Does anyone have a good idea how to handle this, or a good tutorial they could point out? I'm trying to build my own array structure, and calculate the width of "TEAM1", but it's slow going..
View 9 RepliesI would like to apply letter spacing on a dynamic text box, but it seems once I export the swf, the letter spacing defaults back to 0. How can this be done?
View 4 RepliesI'm importing some html text into a Dynamic Text Field(services_txt). Here's the code:
[Code]...
I'm building a dynamic menu and am struggling to give the same distance to the text fields with different widths. When I turn on the "autoSize TextFieldAutoSize.LEFT" some text fields are overlapped, and, aligned when I turn off, but, they all get the same size (100px by default - dont know why), which makes the distance between them unequal.
Here is the code:
Actionscript Code:
// main timeline objectvar index:Object=this;// New Xml Objectvar fileXml:XML;// check how many menu items we have.var totalMenuItems:Number;// Main Menu Propertiesvar spacing:int=5;var menuItem_txt:TextField;// New URL Requestvar xmlLoader:URLLoader=new URLLoader(new
[Code]....
I am working with classic (non-TLF) dynamic text in AS3. My problem is that there is spacing issues between the individual letters. Has anyone else ran into this? I'm using an embedded font with Arabic support
View 1 RepliesIs 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.
I have a multi-line dynamic text on the stage. When a large amount of text content (e.g 200 words) appear in the dynamic text (with newline/paragraph spacing), the space between the paragraphs are too large. How do I lessen the paragraph spacing?
View 0 Replies