Scrollbar for XML text area

HI,
A newbie here and on Flash,
Sorry for my poor englih too, I'm French.
My pb :
I the attach file you will find forfaits.fla which is connected to xml/forfaits.xml. The pb is the UI Component SROLL BAR for the textarea for the img description doesn't work .
Can you help me?
Thx a lot

I think you should connect it to a text area.
Just create a multiline dynamic text area, connect the text area to the xml file and use the toXMLString();
for example: myTxt.text = myXML.toXMLString();
and then attach the scroll bar to the dynamic multiline text area.
hope it helped

Similar Messages

  • How can set direction right to left for horizontal text area

    I want set direction right to left for horizontal text area
    to view right to left String Type

    I don't know that there is such a thing as right to left
    String Type (I can't find one at least). I am assuming this
    involves some language where printed materials are read from right
    to left.
    Before I try to offer a solution though, it will be helpful
    to know more about that text area. Is the intention to type into
    the text area or to load a string into it?
    And if you are loading a string into it, is the string
    already right to left?

  • SetText() works for one text area but not for another

    I am student new to java so forgive me if I'm making an obvious mistake. I have a GUI with 3 tabs. Two tabs have a text area in each in them and an action listener tells the textarea what to print. The problem is one text area works and the other doesn't. they are declared in the same way so I can't see why the problem occurs.

    If you have copied and pasted code for the second one, it is possible that you are setting text for the first text area at both the places. Check if you are calling the setText method on both the text areas and not the same one twice.

  • Ideas for huge text area

    Our Document Control person catalogs documents in a form I've created. We are a spice manufacturer (ahhhh, but alas, I can't smell them anymore while here! )  In one text area on the form she lists associated items, for example PL-1234 is a pallet layout for all of our jars, so that text area for document PL-1234 might have eighty item numbers, each five or six chars listed in the field. In addition, there are verification sheets, assembly instructions, work instructions, all catalogued, and all with that associated items field holding many many many item numbers.  Production workers on the floor then will enter the item number that they are making for the day and a list of all the documents they need for producing the item will display in an interactive report, where they will then call up those they need (touch screens to boot!!).
    I've never liked this solution but she wanted to be able to copy and paste into the list from another source [WARNING WARNING DATA CONSISTENCY NIGHTMARE!! - spaces, dashes, commas, yeah yeah, I know].  Recently, when we did a version upgrade, I realized I had truncated the field when I exported to Excel and the text area got chopped (thankfully less than ten and easily fixable), not at exactly 1024 chars, but something in that random neighborhood.  Before you fall off your chair laughing or roll your eyes at my naiveté-learn-as-I-go education, I'm looking for another way to handle this clump of data.
    I have collections on the form, which was how I wanted to handle this a few years ago when I created it, then she'd have to enter those items manually, and the potential of inaccuracies is huge.  So I'm thinking I should just continue to let her enter those items in the same manner, then reformat it and plunk it into a table that joins to the document table.
    I apologize for not having the jargon.  I hope this makes sense.  Thanks in advance for any suggestions you see fit.
    Alexandra
    Application Express 4.2.2.00.11
    Edit 1
    Not only the above, but in the interactive report, as far as I've always known, that associated items field must be visible on the interactive report with allllllllllllll those items listed for it to be searched by the production floor. Please advise.
    Edit 2
    Just an example of the bald spots on my head: 430922 42181 <- 42182 <- 42183 <- 42184 <- 42186 <- 42188 <- 42190 <- 42192 <- 42194 <-

    4000 characters is the limit you should be seeing, not 1024 (unless that is the size of the column in your table)
    There is a DB Parameter for 12c that should jump that up to 32k
    If it really is a 4000 character limit, there is a plugin that can help out: - Dynamic Action Plugin - Enkitec CLOB Load
    I can't advise you on the 1st edit.  not enough info (a 'sample' on apex.oracle.com would be nice)
    For processing, you'll need to read a lot of fantastically written manuals:
    use (??does apex have something)/UTL_URL  to change HTML code like "&lt;" into "<"
    you may need to use DBMS_LOB and LOOP over the CLOB in 4000 byte chunks.
    use REGEXP_REPLACE to add hair back to your head (ie convert commas and spaces to single tab, remove nonsense characters, etc.)
    use APEX_UTIL.string_to_table() to convert the entries in a table-like format.
    make sure that the above is reusable as you'll want to use it once for Validation and once for Processing
    use FORALL to professionally bulk-insert the results into a child table
    use LISTAGG in your SELECT statements to convert the Relational version of the data back into something that looks like what was entered.
    use CREATE PACKAGE so you don't go insane in the future.  This is a lot of code to write.
    use SQL Developer to actually develop the PL/SQL code
    use a code repository like SVN so you can 'rollback' your new-and-imporved-but-buggy versions.
    and, most importantly, use sufficient comments and APEX_DEBUG.MESSAGE() in your code so that future developers can pickup where you stopped.

  • Italic and bold fonts for Hoefler Text are no longer available to MS Word

    Apple provides regular, italic, black, and black italic styles for the Hoefler Text font. I've used them before but since I installed Snow Leopard, I cannot creat italic or bold (black) in MS Word. When I make text italic or bold (black), the characters disappear--the sentence shortens as if I had deleted the phrase, but if I change it back to regular, it reappears.
    Font Book shows that I have all of these styles of Hoefler Text in the Library. I tried disabling and then enabling, but that didn't work. Has anyone else encountered this problem? If so, have you discovered a solution? Thank you.

    Thanks for the file. It obviously helped, but I am not sure how. I probably should have taken careful notes about what I did by way of disabling and removing the .ttf fonts and then dragging in the .dfont variety. At one stage when I brought up a Hoefler document in Word, the regular Hoefler text had disappeared. I panicked and removed the .dfont version. Later, after trying something else, the text came back but (judging by the numerals) it was not Hoefler. To make a long story short, all styles of Hoefler (including italic and black) are now working. There are no duplicate font files—I used Remove Duplicates—but I have no Hoefler file in either of the two Fonts folders, even though I can see Hoefler Text in Font Book! To be safe, I used Font Book to export the Hoefler Text to a back-up folder, and the version it exported is the .ttf version. In Get Info I confirmed that it’s the 6.1d7e1 variety. I restarted the computer twice, and determined that this situation is stable. Go figure.
    In any event, you set me on the right road. Hoefler Text is now working as it should. I appreciate your help.

  • Can a script manually insert a delete (or backspace) into a text area?

    I'm new to action script, so this may have a simple answer, sorry if that's the case.
    I have a little movie created with a simple purpose of trying to mimic a system like cell phones have for character input.
    There are two text areas, one hidden off the screen that accepts the input from the user; a second text area in on screen and displays what the user had entered after some basic processing on the input.
    The hidden text area is pretty basic with listener that is responsible for grabbing the input keys and then mangling them to be inserted into the displayed text area based on the cell phone text entry multi-tap rules. Example user press 2-2-2  and the hidden input accepts 222 and then appends 'C' to the display text area. That's working great, but I have a problem if the user wants to delete from the display text area. I can't find a way to insert a delete or backspace key into the display text area. I've tried using StringFromCharCode (8) // Key.BACKSPACE, but that doesn't work. That just displays one of those undefined glyphs. I figure that things like clear, and delete are handled somewhere higher in the input chain and that's where I'm having a problem.
    I've looked, but I can't find a way to delete a single character from the text area. I was thinking if I could find the cursor location that I could just use some delete character method to get the job done, but I couldn't find how to do that.
    Any ideas on how to pull off manual delete function in a text area?

    Ned, I do really want to manually (by method of code) trigger a delete in a text area. The delete (or backspace) that I want added to the text area isn't directly entered by the user, it's the result of several key presses by the user. That's why I called it "manual" because it's done by the code, not by the user's direct input.
    Think about how text entry works on most phones... if you want to enter a letter you have to cycle through all the letters on a single key until you get to the character desired. As I stated before, if you want a 'c' you need to press 2 button 3 times. This is basically what I'm trying to do, but I want to add the ability to delete a character too if the correct sequence in entered, for example a sequence of ### would equal a backspace.
    Rothrock, I think you were thinking the same thing that a single key is used to do a backspace.
    I was thinking that I could possibly insert key event into the event queue for the text area to process, but I wasn't sure about that.
    Sorry, if this is confusing, I know it's not a straight forward design. I need onscreen and offscreen text areas with the onscreen one acting as a slave of the offscreen one.
    The way the code currently works is hidden text area had a listner that responds to changes, and that handler processes the key entered and deletes that character from the hidden text area. After the full sequence of characters (say 2 button has been pressed 3 times) the handler then sends the resulting character into the display text area. This part of the code works great. I can add any character including some specials like tab and newline. However if I want the text area to delete a character I don't have a way to do that. That's why I tried to insert the backspace key (0x08 or ^H, for other oldschoolers), but using that as a char code or string from char code doesn't work.
    I had also tried to create to set the focus to the display text area then create and dispatch a backspace keydown and keyup events to the visible text area and then return the focus back to the hidden textarea, but... no luck.

  • Pages '09: Can't use AppleScript for selected text inside tables?

    When I run get selection on selected text in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of body text of document id 9943974 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in a table in a Pages document, I get something like this:
    <pre>text from character 1 to character 4 of some table of document id 3539679 of application "Pages"</pre>
    When I run get selection on selected text inside a table cell in ANOTHER table in the same Pages document, I get the exact same thing. It still says "some" table. So there is no way to distinguish between tables if there are more than one table in the same Pages document.
    Am I correct in understanding that this means that most AppleScript commands for manipulating text are unusable inside table cells?
    For example, it seems impossible to get the properties of the selection when the selection is selected text inside "some" table. So it's impossible do anything about text styles, etc.
    Is AppleScript support in Pages ’09 really that limited, or am I missing something?

    The first script below should return the character style of any selection made in Pages ’09, whereas the second script should apply the "XXX" character style to any selection:
    --BEGINNING OF SCRIPT 1
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    -- Get the row index (although it is not a property) of the character style:
    tell menu button 2 -- “Choose a character style.” menu button
    click
    set k to 0
    repeat
    set k to k + 1
    if value of attribute "AXMenuItemMarkChar" of menu item k of menu 1 exists then exit repeat
    end repeat
    keystroke return -- hide the menu
    end tell
    -- Get the character style name:
    if k > 1 then set k to k + 1
    value of static text 1 of row k of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    end tell
    end tell
    end tell
    --END OF SCRIPT 1
    --BEGINNING OF SCRIPT 2
    set myStyle to "XXX" -- the name of the character style you want to apply
    tell application "Pages"
    activate
    tell application "System Events" to tell process "Pages"
    -- Show the format bar:
    if not (pop up button 1 of window 1 exists) then
    click menu item "Show Format Bar" of menu 1 of menu bar item "View" of menu bar 1
    end if
    -- Show the styles drawer and character styles:
    if menu item "Show Styles Drawer" of menu 1 of menu bar item "View" of menu bar 1 exists then
    keystroke "t" using {shift down, command down}
    end if
    tell front window
    tell checkbox 1 of group 1 of drawer 1 -- “Show or hide character styles.” checkbox
    repeat until it exists
    delay 0.1 -- wait until the styles drawer is open
    end repeat
    if description is "show character style" then click
    end tell
    set characterStyles to value of static text 1 of rows of outline 1 of scroll area 2 of splitter group 1 of group 1 of drawer 1
    set k to 0
    repeat with thisStyle in the characterStyles
    set k to k + 1
    if thisStyle as text is myStyle then exit repeat
    end repeat
    -- Apply the character style:
    if k > 1 then set k to k - 1
    click menu button 2 -- “Choose a character style.” menu button
    click menu item k of menu 1 of menu button 2
    end tell
    end tell
    end tell
    --END OF SCRIPT 2
    I suppose that +paragraph styles+ should work the same.
    I'm beginning to know Pages ’09 a little better now.
    Message was edited by: Pierre L. (show format bar)

  • Controlled scrolling in Text area

    Hi
    Given a particular offset in Textarea.text, I want to scroll
    the Textarea instance to a vPosition where the word will be
    displayed. The height, width, fontsize, fonttype for the text area
    is fixed and it has only plain text associated with it.
    e.g. I want to make sure that word "WORDTOSHOW" is displayed
    in the visible area of textarea.
    "The quick brown fox jumps over the little lazy dog.
    WORDTOSHOW. This is a sample text".
    I have tried several heuristics e.g. assuming fixed number of
    characters in a line but they fail in several test cases.
    HB

    Sure? Please, can you try this?
    Go to this webpage:
    http://web.me.com/choprats/ONLINE
    You can try to view and scroll an iFRAME and an OBJECT. With Safari, Firefox or Chrome on my Mac there is no problem, but I can't view correctly the iFRAME height on Safari mobile, and is not possible to scroll the Object inserted.

  • How can I disable resizeable text areas?

    In the beta version, I noticed you added a resize option for multiline text areas. How can I disable this for all the users on my website? Is there something I can write in my CSS to disable it?

    See:
    *http://dev.l-c-n.com/form-controls/resize_textarea.html
    <pre><nowiki>textarea {resize:none}</nowiki></pre>

  • Error for fetching long text in xml tag for xml publisher report

    My requirement is to fetch a large document which is in text format in XML output which can be printed in PDF format by using RTF method to generate PDF.But during XML ouput i got the following error-
    The XML page cannot be displayed
    Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh
    button, or try again later.
    The following tags were not closed: XXBG_EAMWRREP_V1, LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1,
    G_MEDIA...
    XXBG_EAMWRREP_V1 is the rdf and LIST_G_WO_ACTIVITY_CODE, G_WO_ACTIVITY_CODE, LIST_G_MEDIA_ID1, G_MEDIA are the groups name. In the group
    G_MEDIA i am fetching long_text from attahcment in application. In Database table the datatype of the text attachment is 'long' and there is a huge text
    data loaded in large data editor of that column. If the text data volume is small enough then there is no problem for fetching the xml output.
    If we change the output format as HTMl then there is no problem for fetching the output for long text but for xml output format we are unable to fetch the data
    in xml tag.
    One thing to mention the oracle report is the copy of Maintenance Work Order Detail Report. The seeded report is HTML format in 11i. The requirement is to make it in xml report.
    Please help.

    Hi,
    Actually clob datatype is not available in oracle report builder datatype lov. Could you pls tell the other ways of converting that to clob in oracle report...

  • Display text area for printing

    Hi,
    I know here are many threads about displaying a textarea as read-only. but no solution fits my requirements.
    I have a page with many fields among other things 3 textareas. This textareas a normally display as autoheight. for printing this page I have created a new one, where all items are read-only, because of the nasty brackets, if page is displayed in printer-friendly mode.
    If my textareas hve more lines then declared for height, they are displayed with a scrollbar. That's not acceptable for me , because I must have printed all the text, not only the one in the scrollable area. In printer-friendly mode, the textarea is automatically set to a height, so that the text is completly shown.
    When I print this page, the textareas are set to a width of 17 lines (declared in height: 4 lines), equal if there is 1 line entered or 20. But I like to have shown / printed all entered lines, so if 1 line is entered I like to see / have printed a textarea with 1 line (max 3) and if 20 lines are entered I like to see / have printed a textarea with 20 lines (max 22). How can I do this???
    Thanks
    chrissy

    Chrissy,
    There might be a way to get this functionallity through the css and template for 'Printer Friendly'.
    However, what I'd do is write a PL/SQL routine to create a HTML page and get all the formatting done the way you like there. I have mine pop up in a new window with the menu bar, so the print option is available if the user wants.
    Through PL/SQL you're dealing just with the column data, not also having to deal with the various elements to display the data, such as a textarea. I simply create HTML tables to hold the data, and place the data in the various <td> elements of the table. The table then controls the layout, and multi-line fields get automatically wrapped.
    Bill Ferguson

  • How do I make a custom Scrollbar Text area in FlashCC HTML5 Canvas?

    Hello,
    I need to make a scrollbar for a long text area. I wonder how can I achieve this with HTML5 canvas in Flash CC2014?
    Thanks,
    Rodrigo

    the text looks ok to me, http://www.kglad.com/Files/forums/test2.html
    but yes, you can scroll a movieclip too.

  • How to set html bullet effect for text in text area

    Hi All,
    How can i set html bullet effect for my text in text area.
    i need like      hello world
    Can any help me.
    thanks
    Raghu

    Use the htmltext property of TextArea. For example...
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
        <mx:Script>
            <![CDATA[
                [Bindable] private var theHTML:String = "<ul><li>First</li><li>Second</li><li>Third</li></ul>";
            ]]>
        </mx:Script>
        <mx:TextArea htmlText="{theHTML}" width="400" height="400"/>
    </mx:Application>

  • Dynamic Text Area with no scrollbars question

    Hello All,
    I have an application that has a dynamic text area that pulls in XML content and i would like to have the text area grow, rather than use a scrollbar and i am wondering if anyone has done this or can point me in the right direction? I have dont quite a few searches and only find examples on how to do this in AS3, and i am using AS2 and CS3.
    Thanks in advance!

    If you are using AS2, then if you manually stretch the width of the textfield to what you want it to be, you can use the following to have it automatically rezise itself height-wise to fit whatever text you assign to it, where tfield is whatever instance name you assign to the textfield in the example code...
    tfield.autoSize = "left";
    tfield.text = "whatever your xml file text is";

  • Text wrap for a paragraph: How to define the width of a Text box /  active text area? I simply need a longish text to wrap within the frame!

    Hello, I've been searching for a good while in the forums now, but have found no solution or real mention of the problem – I hope some of you can help.
    I want to very simply layout a text between scenes, a slightly longer text that wraps within the frame margins. Here's an example of how I want it to look:
    Now, I couldn't for the life of me get the Custom Text to behave like that, as there are no parameters to set for the width of the text area. The Text Size, yes, along with the Tracking, Baseline and all that, but the width of the text box, no. The above was created by customizing one of the other Text Generator presets that happened to be left aligned.
    However, this preset has a fade in/fade out transition, which I do not want. There's no way to remove this transition as it seems integrated into the Text Generator (meaning they are not really presets, but separate kinds of Text objects? Very silly.)
    So I am asking you: Is there any way to get the Custom Text generator to behave like that? Just a text paragraph as above. Below you'll see all I can manage with the diffferent Custom Text parameters. Any kind of repositioning and resizing of the text just changes the position and size of the frame – but the actual text items are just cropped off where they extend out of that frame. Apparently the bounding box for the text is just some default length, and I can't find any way to adjust the width. See below my different attempts.
    The same text pasted into a Custom Text generator clearly extends outside the frame:
    Here Transform just moves – or resizes – the video frame that the Text Box exists inside:
    The Crop gives similar results, and of course Distort doesn't get me closer to what I need, either. There should be simply a Text Box Width parameter to set somewhere, but if it exists they have hidden it very well. How do you do it?
    Thanks for any help, this is a silly problem, but one of now many trivial problems that amount to me growing quite dissatisfied with FCPX. Hopefully I've just overlooked something.
    All the best,
    Thomas

    Thomas...same kind of crap here.
    I used Custom Text - entered a sentence, hit return, entered another.
    Set to 72 pt.
    The default alignment is centred - I want left aligned text...the text start point stays at the centre of frame and the sentence runs off the edge of the bounding box.
    There is no settings in the Text or Title inspector dialog to correct that!
    Using Transform will not sort it!

Maybe you are looking for

  • Birthday Calendar in iCal Alarm

    Hi, I created a birthday calendar in iCal. Now I don't know how to get recognition of these data by a ringing tone.

  • User Exit or Badi for CN22

    Hi All Can anyone tell me an user exit or badi for Tcode CN22 which gets triggered when i save a network. whenever i make changes in the WBS assignment of the network in the activity level then the i need to copy dates to other networks whenever a ch

  • Virtual PC 7 installation freeze

    I am trying to install Virtual PC 7 with Windows XP Home on a G5 iMac running 10.4.11 in order to use a medical program that is only available for Windows. After entering my username and the Virtual PC product key, the "Continue" button stays dimmed

  • How to display keywords of a picture ?

    I am a complete beginner with LR. I am trying to work with keywords. I am able to assign various keywords to a picture. I know that made several mistakes when assigning keywords. When I select a picture to control which keywords have been assigned I

  • Macbook air running too slow

    My Macbook air is runnning too slow.  I thought it was my internet service at home, but it is everywhere.  Can someone help me clean out old or unneeded files?  Thanks!