Dynamic Text Boxes / Resizing text boxes

I have a site with a dynamic text box that I have initialized
(I'm not sure that that is the correct term) at the beginning with:
myText = new LoadVars();
myText.onLoad = function()
{ textBox_txt.htmlText = this.content;
myText.load("text/bio.txt");
stop();
Then I have just used a text box throughout with the same
instance name, although sometimes I have it on a new keyframe. I
assumed I could just keep loading text into it on different frames
with:
stop();
myText.load("text/performances.txt");
This appears to be working, except that sometimes it seems to
be confused and the text box on a certain frame has the wrong text
in it. Do I have to initialize one for each frame in order for them
to display the right code? What could be causing it to load another
text file if it's frame action is telling it to load something
else? It seems unnecessary to have to re-initialize it for a new
text box instance in every new frame, but is that the way it has to
be done?
Also, I'm not clear on resizing text boxes. It seems like if
I use the width and height numbers to resize this text box on
different pages then it changes the size of the text inside, and
the scroll bar (the UIScrollbar) is a little squishy looking
sometimes. How does this work?
Thanks for any help.

You will find it much better to create a new LoadVars object
for each of the frames, just call them myText1 myText2 etc.
The name of the text box instance in this case is irrelevant
but best practice would be to give them individual names.
As for the stretching effect use setSize() for UI
components.

Similar Messages

  • I'm having problems (1)selecting onscreen text, (2) having problems resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    I'm having problems (1) selecting onscreen text, (2) resizing menu boxes and selecting menues with the cursor. I'm not able to select menus and move them. I'm not sure how to correct this.

    1) This is because of software version 1.1. See this
    thread for some options as to how to go back to 1.0,
    which will correct the problem...
    http://discussions.apple.com/thread.jspa?threadID=3754
    59&tstart=0
    2) This tends to happen after videos. Give the iPod a
    minute or two to readjust. It should now be more
    accurate.
    3) This?
    iPod shows a folder icon with exclamation
    point
    4) Restore the iPod
    5) Try these...
    iPod Only Shows An Apple Logo and Will Not Start
    Up
    iPod Only Shows An Apple Logo
    I think 3,4, and 5 are related. Try the options I
    posted for each one.
    btabz
    I just noticed that one of the restore methods you posted was to put it into Disk Mode First rather than just use the resstore straight off, I Have tried that and seems to have solved the problem, If it has thank you. previously I have only tried just restoring it skipping this extra step. Hope my iPod stays healthy, if it doesnt its a warrenty job me thinks any way thanks again

  • Create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box

    HELP!!! Can anyone please provide some guidance on how to create a dynamic form where selected text boxes appears, based on options chosen in a drop-down box.
    I have a form which – based on the department that's selected from a drop-down box – will have different form fields/text boxes, etc, made available.
    Is this possible in LiveCycle, if so, can you please provide the script/info - as needed.
    Thanks,

    In the preOpen event of the second dropdown list you put something like (in formCalc):
    if (dropdown1 == 1) then
    $.clearItems()
    $.setItems("Year, 2 Year,  3 Year")
    elseif (dropdown1 == 2) then
    $.clearItems()
    $.setItems("3 Year,  4 Year")
    endif

  • Help on resizing text boxes and general image techniques

    Using CS2.
    I have two basic questions.  One has to do with getting the best vector images (with text) that I can for placement in InDesign documents.  The other has to do with the specifics of working with text boxes in FW.
    The easiest way for me to produce vector images has been by using PowerPoint.  I do all the graphics work and then save it as a gif.  I do cropping in a graphics tool (Irfanview, PS) and then insert or place the image.  As long as there is no resizing, things work well.  I'm not sure how things like DPI are controlled using this technique but I'm assuming that also would be done with the graphics tool.  I know Irfanview allows for the dpi to be specified during resizing.
    The problem starts to show up when the gif object is resized.  Things get distorted and I lose the crispness of the image contents.  I'm certainly not an expert on graphics however I've been thinking I either need to 1) make the actual size of graphics in PP the size of the final placed image so there is no resizing (just some cropping) or 2) to work in a tool like FW where (I'm assuming) there are better capabilities to resize vector graphics.  My sense (again, not an expert) is that the process I'm using converts to vector graphics in PP to a bitmap image in the gif and that resizing doesn't work as well for bitmaps as for vector objects.  Do I have that right?
    Moving on to question 2:
    Can text boxes be resized in FW without distorting the text?  Can their size be seen when originally drasing them?  Perhaps spoiled by PowerPoint, I like to set the width of vector objects (e.g. rectangle) and the width of the text that will fill it to the same size.  (I know PP has the ability to put borders on text boxes but when working in FW I need to work with 2 objects, the rectangle and the text box).  Say I have a rectangle that is 81px wide.  Can I set a text box to 81px wide without distorting the text?
    I tend to want to control actual object sizes so I can get good spacial alignment.  For example, I tend to set the width of a text object to an odd number of px so that any line coming out of the text object aligns well with the text.  I must admit that it may be time for me to use a different technique in FW (e.g. more alignment of multiple objects vs. knowing dimensions and seting locations).  Does my approach need improvement?
    Thanks for any advice
    Tom

    As I wean off of PP I've started looking at FW and Illustrator (I have both).  I've done a logo or two in FW and have used it to build some simple web graphics (e.g. buttons, menus).  It can, as I recall, be a little more complex than what I need in this case.
    Since PP is not a graphics program, its drawing capabilities are very limited. As a consequence, any graphics application will have many more features than you're used to seeing and more than you need for any one project.
    I did a little experimenting with Illustrator and my first impression is that it will work better for me for this work.  It seems a little more intuitive.
    Is a general guideline to use FW for web-destined graphics and Illustrator for what I used to do in PP?
    Your suggested guideline is good. Also, note that if you make a logo or vector graphic in Illustrator (saving as .ai format), you can import that into Fireworks and work with it as a vector object there. FW can import and use, just not create, .ai objectes and files.
    FW has some vector tools, they are tucked away under Window > Others > Path. Since FW is intended for producing Web graphics, it is a hybrid application, capable of both vector and photo/image editing. Given that it has some of both, it necessarily doesn't have everything that Illustrator has nor everything that Photoshop has. It has most the features of both of those programs, as long as the feature is useful for a Web graphics designer. For pure photo editing Photoshop has the edge; for pure illustration, Illustrator has the edge. Both Photoshop and Illustrator support color profiles and other features important for print that Fireworks does not. All are good programs, but there are reasons to prefer one over the other depending on what kind of graphics you need to create or work with and what your intended use of the work is. (But any of them will be superior to PowerPoint! )
    I'm not sure I can unravel the mystery with the text box resizing.  I suspect theres an option selected.  Knowing it can be done is enough for me to do some homework.
    Maybe...don't think of text boxes at all. You have text objects. The object has a bounding box that is determined by the underlying definition of the font, but it isn't in a text box. (Sometimes swooshs will extend beyond the defining box of a character in the font, but that is another issue). The bounding box for the text object is similar to the bounding box of a circle or a star or an irregular shape. There's a reference box for the dimensions, but the text is not inside some other independent container.
    To resize, select the text object and change the font size either using the Properties palette or using the scale tool to drag on a corner of the scaling outline (different from the bounding box, and I don't know why, sorry).
    I think that,with Illustrator, you can define text boxes (or other shapes) and fill them with text. *searches* Ah.. Like these: http://school.tatoland.com/illustrator/aitype.html
    cheers!
    Lorraine

  • Dynamic text box, HTML Text with Image

    Hello Everyone,
    I am using Flash version 8. I have used the text tool and
    created a dynamic text box and have attached the UIScrollBar
    component to it. This text box is configured to allow the use of
    html text to be inputted to it. I have code that reads a file which
    contains a list of text files that I then read and place them into
    the text box. The user can use the scroll bar to scroll through all
    the text.
    I have created an image that is a picture of the tab portion
    of a file folder. On the tab I have place some text. This was all
    done in Photoshop. This tab image is used to separate the different
    stories in the text box. The image is save as a jpeg file
    Everything you have just read works with out any problems.
    Now for the problem!
    This image is only 20 pixels tall and the text is not very
    readable. As we all know the HTML tags are very limited in Flash 8.
    Ideally I would like to put the text and image in to the text
    box as I would normally do. Then place text on top of the image and
    have it all scroll properly with in the text box.
    I have taken the tab image and converted it in to a graph
    symbol and then put the text on top of the image. This looks good;
    however I don’t know how (or if it is even possible) to place
    the graphic symbol in to the text box at the correct place within
    the text.
    Does anyone have ideas on what may work? Remember that the
    image I am working with is only 20 pixels tall which is why the
    text quality on the image is so poor.
    Thank you all for any help you may provide,
    Steve

    Yes Tim I am using the <img> tag and I know that I
    can’t place text over the image. I have set the height and
    width to be the exact size of the image. However When you go to the
    webpage it will open the movie to the maximum size based on the
    resolution of your display; however I do maintain the aspect ratio
    of the movie. For testing I did set a fix size to the size of the
    movie. Sometimes the fix size (1000x750) looks better and sometimes
    a larger size (example 1280x1024). I believe that the main problem
    is the fact the size of the image is 670 pixels wide by 25 pixels
    high and of the 25 pixels the text is only 18 pixels tall. In
    Photoshop this makes it about a 1.75 point font. As you can see the
    real problem is that I don’t have enough pixels to make up
    the text. This is why I am looking for an alterative way to create
    the text.
    I tried importing the image into flash as a graphic symbol
    and then using the text tool to create the text. The results looked
    real sharp, the text was nice and crisp (just what I wanted). The
    problem is that I could not find a way to place the graphic symbol
    into the dynamic text area like id did using the <img> tag.
    This symbol needs to scroll as you scroll the text in the text
    area.
    This is why I am asking for help. I am looking for some ideas
    that may work.
    Thank you,
    Steve

  • Auto Resize Text in a Text Box

    How do you make the text inside of a text box auto resize to fit the box I'm typing in?
    I have a text box with a list in it. I change this list everyday and like the text to fit the box. The size of the text doesn't matter. If I have a long list, I don't mind that the font is small. If I have a short list that day, I don't mind that the font size is then big. Hopefully I am making sense. I used to use text boxes like this in MS Publisher and am assuming I just need to find a setting change in Pages.
    I do this often enough that it would save time not having to keep guessing the correct font size until it fits properly.
    Thanks!
    Message was edited by: mnbinth

    mnbinth wrote:
    I used to use text boxes like this in MS Publisher and am assuming I just need to find a setting change in Pages.
    Assuming that application B will behave the same than application A is always a bad idea.
    There is no reason for such a guess.
    Happily, all engineers aren't thinking the same way and remember Apple's statement :
    *_Think different !_*
    Yvan KOENIG (VALLAURIS, France) samedi 25 septembre 2010 10:55:56

  • Selection Tool Won't Let Me Resize Text Boxes?

    Whenever I try to resize a text box with the selection tool, it won't allow me to resize. I tried the text tool as well, but it didn't work. I don't want to resize the text, just show text that is hidden. I'm crrently using CS4. Can someone help?

    If this is really an area text, then maybe you've just hidden the bounding box. See in View menu how to show it again.

  • I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it. help help help please - I have latest version of indesign - thanks

    I am pulling my hair out! I am using adobe indesign and just want to make a text box 'autofit text' as I change fonts a lot and want the font to automatically re-size as I change it.
    Is it not possible to create a text box, fill it with dynamic (data driven) text, but make the font size either scale up or down automatically, so that the entire text box is filled? This is a feature in PrintShop Mail Pro called COPY FIT. but no such feature in Indesign??
    help help help please - I have latest version of indesign - thanks, DJ

    lol... it seems to work, but I have another huge problem!
    Apparently .CSV files cannot contain page breaks in the data! The data I am trying to merge is a 'letter', with paragraphs, line breaks, etc.,
    But, after data merging, it ignores page breaks and only merges the first paragraph of each letter. (sigh)
    Solution? Hopefully, an EASY solution. lol as we have thousands of records.
    Is there a third party indesign plugin that will allow .xml, or .xls data merge import??
    Thx,
    DJ

  • Related to Free flow text in pdf text box

    Hi All,
    I have a requirement wherin i need auto-populate suggestive text in a text box, More specifically lets Assume i have a hard coded 5 Below values in a form
    1. India
    2. Indonesia
    3. Iran
    4. Iraq
    5. Ireland
    if user enters "In" in a text box it should suggest "India","Indonesia"
    Or if he enters "Ir" suggestion should be "Iran","Iraq","Ireland" subsequent sugestions will be more specific as he enters the charectors some what like a google search suggestions in a free flow text
    Is it possible to implement in PDF with javascript ?????
    Regards,
    Ali

    Hi Ali,
    There is a book "Creating dynamic forms with Adobe LiveCycle Designer" by J.P. Terry and there are some books on Acrobat that have a chapter on Designer forms but there is not a lot out there and J.P. Terry's book is a good few versions behind.
    I have learnt most from John Brinkmans blog, http://blogs.adobe.com/formfeed/
    Nialls blog http://www.assuredynamics.com/
    Radzmar blog http://thelivecycle.blogspot.com.au/
    Stefan's blog http://forms.stefcameron.com/
    and http://blogs.adobe.com/lcdesigner/
    I'm sure there are others, and the JavaScript engine is the FireFox one, https://developer.mozilla.org/en-US/docs/Web/JavaScript
    Maybe other people can add to the list
    Bruce

  • Wrapping and auto-shrinking text in a text box??

    Hi -I'm new to using Pages and have a question that I couldn't track down the answer to in the Pages manual. When I am using a text box, I want to automatically have the text wrap and shrink. I can't resize the text box larger because of the newsletter layout. I could do this easily in Word when I work with a text box but can't figure out to do it here. Any help would be great. Thanks!

    Welcome to Apple Discussions
    I can't picture what you're trying to do. I understand not resizing the text box, but what is it that you want to wrap & what to shrink?
    I think you might be asking how to make the text you've put in the text box to fit the space available. You can "play" with the various adjustments in the text inspector. I find adjusting the line spacing by 0.1 & the character spacing by 1-2% can really make a difference without affecting the readability. Also, you can turn hyphenation on & off in the document inspector. One more thing to try is a different font.
    Wrapping of text around the text box or any object is controlled in the wrap inspector. The object must be floating for text to wrap around it.

  • Creating boxes around text....

    Hi,
    I'm hoping there is a better solution to this problem then what I've using.
    I would like to be able to create a box around text that is able to resize when increasing/decreasing font.
    My working solution is to create a text box with text then use direct selection tool to select the anchors and convert that into a shape, either a rectangle or rounded rectangle. This isn't bad since it allows an equal amount of space around the text but it does have problems. If the font size increases or decreases, the box remains the same. I have to use the Area Type Option to resize the box. Also, if I wanted to do this for lots of boxes then I have to select all of the individual anchors which will be time consuming.
    Is there a simpler solution?
    Thanks.

    Use the Selection Tool (Black Arrow) to select the text and then add a new Fill via the Appearance Panel.
    Move the new fill below the Characters item in the Appearance Panel
    With that fill highlighted choose Effect > Convert to Shape > Rectangle

  • No text in form text boxes

    I have been sending out forms to be filled out in Adobe. So far, most of them come back with no issues. But recently, I have started to get them back where the text in the text boxes doesn't show up unless I click in the box. The text doesn't print when the form is printed, so that is a problem. I did some digging and it seems that the problem stems from people filling out the form in Preview mode as opposed to the regular Reader mode. So my question is two-fold.
    1. Is there a way to make it so that the form cannot be filled out in Preview mode, but will prompt the user to open it up in Reader?
    2. How can I fix the forms I already have? I read something about importing and exporting the form data, but I cannot see where to do that.
    I am using Adobe X Pro on a Mac, and I am NOT a power user, so please be very detailed in your answers about where I find commands.
    Thank you,
    Michele

    I figured that much out.
    My question was how do I prevent these problems? I saw another discussion (over a year old) that said something about importing and exporting the data, and another answer that mentioned turning off the ability to fill out the forms in Preview.
    So my questions were how to actually perform those "fixes" since I can't seem to find any sort of 'import/export/ command in Adobe Pro X nor can I find anything about locking the form from being filled out in Preview mode.
    Thank you.

  • How do I center align the text in my text boxes if they are currently right aligned?

    I created a client questionnaire in Word and then turn it into a PDF and created the text boxes necessary. The problem I am having in Adobe XI Pro is that I want all of the text in my text boxes to be centrally aligned rather than left aligned. However, when creating and editing the text boxes, I see no option to help me do so. When clients fill out the form it looks messy because the information that the fill in tables in not centrally aligned, so it makes my tables look poorly organised. Help would be much appreciated, thank you.

    In Form Edit mode, right-click the field(s) and select Properties - Options, and under Alignment select "Center".

  • Access 2010 - How to display data from a table into a text box upon combo box selection?

    Hi
    I have a a table with 5 columns: month, year, USD, SGD, BAHT.
    I created a form with a combo box for selection of the month and year, and I would like to set adjacent text boxes to show USD, SGD, BAHT information. How can i go about doing that?
    From the Q&A here, most of them uses the function similar to this "=[Combo0].[Column](1)" to show the data in the text box, but this would require the combo box to list a whole bunch of details if i were to add in more currency values to the
    table. Is it possible to not show this information in the combo box, but still populate data in the textboxes base on a selection on only the "month" and "year" in the combo box.

    Hi,
    According to your description, my understanding is that you want to show only the month/year in the combo box, we can choose the date, and it will display the value of USD/SGD/BAHT based on the month/year.
    If it is, I recommend you try the steps:
    Create a form based on your data source table>Add the combo box>combo box wizard>Find a record on my form based on the value I selected my combo box>Add mouth and year to selected fields
    http://office.microsoft.com/en-us/access-help/create-a-list-of-choices-by-using-a-list-box-or-combo-box-HA010113052.aspx
    If I misunderstand something, please let me know. We may upload some screenshots or a sample through OneDrive.
    Regards,
    George Zhao
    TechNet Community Support

  • How to recognize the text inside a text box

    we have a scenario where we are validating the text inside a text box. Actually, we are inserting a text matching test on a node.
    The scenario is like this:
    When we open the screen it contains 6 text boxes.
    We have to enter the text in the first 3 text boxes and save.
    Then based on the entry the values are populated on the other three text boxes.
    We have to validate the values in these text boxes , so we click and highlight the value.
    Openscript identfiy the text box ,but it did not identify or recorded the values we have highlighted.
    How to make the openscript recognize the values? Can we do it through menu options or else we need to write the code?
    Any help will be appreciated.

    I answer to myself:
    Put all inside a PanelGroupLayout and set the layout to SCROLL.
    Edited by: baol on Mar 15, 2010 9:09 AM

Maybe you are looking for