How to divide a text in a text box, length?

Hello and sorry for my English if a mistake make , I would like to cut a text with a length parameter and no special characters.

For example, I have this text:

Today, I deliver United Nations went.


And I would have this sentence (with the '13' (for 13 characters for example) setting), when I click on a button:

Today ' hu i j

e've been c

What United Nations li

VRE.

Peharps an actionscript3 as this logic:

Text1. Text = (line1.length = 13) + / n + line2.length = 13) + / n...

There is no special characters, just the length because the text is unknown...

Thanks for your help

I keep looking for a solution

Oops. Don't instantiate the string. FIX:

var s:String = ' today, I deliver United Nations went. "

var c:int = s.length;

var split: int = 13;

var n: String = "";

for (var i: int = 0; i

n += s.substr (i, split + 1) + "\n";

}

trace (n);

myText.text = n;

Tags: Adobe Animate

Similar Questions

  • Divide a text box

    Hi guys!

    I really need help here.

    Is it possible for me to share this vertical text box, without having to type all the text once more?

    Imagine you have to divide this text box in 2 pages instead of 1 large

    The colorful background is simple boxes, that is not a problem.

    I just want to know, if its possible to split the text vertical box, without all over again.

    Please see photo att...

    Thanks in advance.

    Indesign split.jpg

    Why not copy all in a new document.

    Save this document.

    Then use file > Place and place it as a link to inDesign.

    You can then place twice and use the framework to cut out the parts you don't need.

    If it works for you?

    Otherwise, you will need to tell us how you create the block of text, columns, tables, tabs, etc. ?

  • Hi, PDF form of the guru. How to make a text box become a required field IF a drop-down list is selected as the "Yes"?

    Hi, PDF form of the guru.

    How to make a text box becomes a "required field", IF a drop-down list is selected as the "Yes"?

    and 'not required' if the drop down menu selected as 'No' or left blank.

    Any help would be greatly appreciated

    see you soon

    Use this code in the custom drop-down list field validation script:

    this.getField("Text1").required = (event.value == "Yes");

    (Change "Text1" to the actual name of your text field, of course)

  • Trial has just started... There is no button text only a text on a path tool... How to make a text box?

    Trial has just started... There is no button text only a text on a path tool... How to make a text box?

    The text button is under the text on a path button. Click and hold and it should reveal the buttons.

  • How to change the text box in Acrobat XI, created by earlier versions of Acrobat

    Hi, I'm having a hard time trying to figure out how to change a text box that was created in an older version of Acrobat and used to fill in a form.

    In my case, I added text boxes on text pre-existing using an earlier version of Acrobat.

    When I try to click on the text box, however, it seems to be back on the existing text and not allow me to change the text box I created in the past.

    Try changing the text with the tool 'Add comment text' which is in the notes pane. The text used to complete the form may have been written as annotation, so when you try to change those with editing tools, the original text is being edited.

  • How to unlink a text box? Break in the menu icon does not seem to work.

    How to untie the two text boxes?  The break in the menu link icon does not seem to work.

    Hello

    We would like to know the following details from you to help you to come.

    (1) what application you want to use?

    (2) text box are what line you referring?

    (3) what version of the Windows operating system you have installed on your computer?

    (4) what happens when you click on the pause icon

    Your answers are important to us. Please write to us with more description of the issue so that we can understand the question better to help you.

  • Using paint and how to change the text box.

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium?  Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

    The painting is a very simple program and does not support the re - select a text box to change the content.

    "mikecvista" wrote in the new message: * e-mail address is removed from the privacy... *

    How can I select a text box that you want to modify in the paint - Windows 7 Home Premium? Once I leave the text box I can't select again a second time to change the text or grab it to move... I must be missing something very simple?  Is there a manual program somewhere?  Yes, the zoom is 100% and I am the administrator.  Thanks for any help!

  • How to add a text box gradient to an image

    Rather than try to explain it that I would get help... I will attach a photo instead (lower part). How I got above a text box while she slightly superimposed on the background of an image? Thanks in advance.

    screenshot open week.jpg

    Put the gradient (I used the first transparency plan) under the text layer.

    In order to clarify the procedure:

    1. Add a layer above the image.
    2. Choose the foreground color (I've tasted blue markers in the foreground).
    3. Select the gradient tool.
    4. Look in the foreground to the transparency of the Options bar.
    5. Place the tool gradient at the bottom of the image and move about a third of the way up.
    6. Add the text on top
  • How to add a text box to the pdf format, so that others can fill

    How can I insert text in PDF nightclubs as well as others can fill it when it is sent to them?

    Hi susansln123,

    Refer to this KB document for help Acrobat help. Forms.

    Kind regards
    Nicos

  • How to make a text box in the scroll bar custom FlashCC HTML5 Canvas?

    Hello

    I need to make a scroll for a long text box bar. I wonder how can I achieve this with HTML5 canvas in Flash CC2014?

    Thank you

    Rodrigo

    No, the code is exactly the same except instead of changing the property y of a textfield object, you change the property y of a movieclip (which contains an image of the text your want to display).

  • How to place a text box on an image in a specified location?

    Hi all!

    I am an intermediate user of Dreamweaver and try to learn the CSS I created my Web site.

    My problem is that no matter what position specified I returned to the text box using the implementation of style, the results are far from what I'm looking for.

    I built my website using tables and want to place the text box on an image that is embedded in a cell.

    So, here's what I've done so far:

    CSS stylesheet:

    #abouttext {do-family: Arial, Helvetica, without serif;}     do-size: 16px;     make-style: normal;     make-weight: normal;     color: #FFF;     text-decoration: none;     background-color: #D0DF4A;     padding: 5px;     height: 260px;     Width: 180px;     overflow: hidden;     visibility: visible;     border: 1px solid #D9E46B;     right: auto;     bottom: auto;     z-index: 1;     resize: none;     position: absolute;     left: 331px;     top: 289px; } //below is the assigned div.

    < div id = "abouttext" >

    < p align = "center" > this text is enclosed in an < /p > box.gdsgsfgzfdgfg

    < / div >

    I know I'm missing something, and it's probably something to do with the investment. I don't get how to assign the up, down, left and right values.

    Could someone please explain?

    Thanks in advance!

    ~ THE

    Hello, I'm newer than you if do not have a go if it is nonsense - I tried!

    But I discovered this week that to make the absolute position of the work the containg div must have the relative value.

    I have a #container defined, div.  The #content div is then positioned compared to this div container using an absoulte position.  Move it around to adjust the position absolute - in my case I used left = 0 top = 0 to put it at the top left of the div container I used Panel click CSS styles on the div #content and there standing in live mode view - I can not yet write code.

    ?????

  • How to remove the text box enclosing white

    Hello

    I am a student in multimedia and need to create a portfolio manager and would like to know how to remove the white text box when writing text? Already, I have a background and would like to have white on bakground or plain black writing, don't want the white bounding box. How can I remove that?

    Thank you

    This depends really on what type of Member of text that you used, but in general, you should select the sprite on the stage, then go to the Sprite of the property inspector tab.  Find the ink setting and change into Transparent or Matt.

  • How to make the text box with scrollbar

    I am just learning CSS and Dreamweaver CS4. I have a page that has a lot of text and go on a background image. I need to make one of these text boxes I've seen who can be put in the center of the page and has a slider for people bar can read all the text. I might look for it, but I have no idea what they are called. I tried Googling some names I thought it could be, but they turned out not to do.

    Could someone tell me what they are called and point me to a tutorial on how to make one in Dreamweaver?

    Thank you very much!

    Carole

    Scrolling CSS Division

    {#divName}

    Width: 500px;

    height: 400px; / * adjust the height as required * /.

    overflow: scroll;

    }

    More information about the overflow property

    http://www.w3schools.com/CSS/pr_pos_overflow.asp

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.com

  • How to make a text box in Acrobat 9 Pro, which does not print?

    I have a pdf file I created with text fields. My sales representative wants a text box that was inserted on the top of each of the 2 pages with instructions you can view, but will not be displayed after you fill out the form and print it. This has been done before by a colleague who works here and I don't know how she did it. Can someone help me?

    I use Acrobat 9.3.2 on a Mac. Thank you.

    Yes, it must be a form field.

  • the pages for iOS - how to resize a text box and forms manually

    I added text boxes to my sheet. However, I can't get close to the size I want, which is not noticeable to someone else, but I wish they were accurate.

    example: I want to 1inchx4inch. but now the box and adjusting the size I can get 1.02x3.98. 99x4.01, etc.

    I know it still looks the same as the sizes are extremely close, but if there was a way t adjust by entering the desired size that I would rather do.

    Thank you

    Hi aswad,.

    If it is a file that you edit on your Mac you can certainly do here in the Inspector.

    If you are only in iOS with this you can try zooming in - you can have more control over it.

    Quinn

Maybe you are looking for

  • How can I put it to delete messages on my server after download?

    How can I put it to delete messages on my server after download?

  • T61p wireless card update possible?

    Greetings all this; I have an Intel 4965 AGN (with work of N) and a double router Strip WD750N. I am currently getting 300Mbs speed but I was wondering if there is a Lenovo updated map that would get the Mbs 450 side 5 GHz? Is there a way to get thes

  • Upgrade to 4.0 - problem

    I have a s arc experia phone. When you try to upgrade to 4.0 companion pc application to close wininit.exe leading to blue screen on my lap top running windows 7 64 bit please guide me on how to level?

  • HP Deskjet 1512: configuration

    Oh no! I just bought the HP Deskjet 1512 and he says I have to install the printing software to set up the printer. It's on a drive and my laptop is not a hard drive. Did I download the credentials of printer so I can get this part of the printer sta

  • Why my ListView items cannot display on a single line?

    ListView { preferredHeight: ui.du(20) id: keyItemList dataModel: _nao.keyItemList leftPadding: 20 rightPadding: 20 // layout: StackListLayout { orientation: LayoutOrientation.LeftToRight headerMode: ListHeaderMode.None } listItemComponents: [ ListIte