"Set the text of member" stutters scroll text...

Hi!
I have a presentation with some text members and a scroll
text.
The scroll text is scrolled like this:
if scrollMessageActive = "True" then
scrollPos = scrollPos + scrollSpeed
if scrollPos >= member ("TXT_ScrollMessage").height -
Sprite(52).height then
scrollpos = 0
end if
member ("TXT_ScrollMessage").scrollTop = scrollPos
end if
This is scrolling fluently as long as I don't change any of
the other
text members. If I do so, the scroll message starts to
stutter - looks
line the update of the texts takes too much time.
Is there a solution for this?
Thanks!
Martin

Changing the text of a member is a reasonable thing to do.
You could
also just change members. The problem is most likely in the
way that you
are doing the changing.
If you are running a repeat loop then the that will stop
everything else
that is going on in your movie. In Lingo, repeat loops don't
run
simultaneously, they take over and stop every other Lingo
action until
they have finished.
If you post your code, it might be possible to suggest an
alternative
method.
Rob
Rob Dillon
Adobe Community Expert
http://www.ddg-designs.com
412-243-9119
http://www.macromedia.com/software/trial/

Similar Messages

  • How do I set the value of a dynamic row text field

    I have a repeated row form which contains a button and multiple text fields.  There is a text field (Input Data Field) further up with some information I want to place in the table and multiple buttons that I want to read the value of and set to the table.  I apologize there are multiple questions I have and I am using pseudocode to describe it.
    Top form looks like
    InputField
    | ButtonX1 | ButtonY1 | DescriptionX1 (read only Text Field)
    | ButtonXn | ButtonY1 | DescriptionXn
    OutputRow looks like
    | ButtonOutput | OutputField1 | OutputField2 | OutputField3 |
    So I would like it to do
    ButtonX1.click
    OutputTable.OutputRow.addInstance(true)  //this works - everything else I have questions on
    OutputTable.OutputRow.OutputField1.rawValue = DescriptionX1.rawValue
    Question 1
    How do I address the location in each table to set a value
    Question 2
    How do I get the value of the description field in the same table and row as the button
    I would like to say something to the effect of  OutputTable.OutputRow[??].OutputField1.rawValue = this.parent.DescriptionX
    OutputTable.OutputRow.OutputField2 = InputField.rawValue
      Same question as above - how do I specify a dynamic row - is this the proper syntax for getting the value from the input field?
    OutputTable.OutputRow.OutputField3 = this.ButtonLabel
    Question 3
      How can I get the value of the button's label to set in the field
      There should be very many of these buttons and buttons will be added - I would prefer to set the value based on the button's label to make the value easier - not requiring changing the code
    Question 4 - unrelated to those above.
    Is it possible to build the first table
    | ButtonX | ButtonY | Description |
    from an XML File.  I have seen examples of how to build if it is just data, but can the XML be pushed into a form with code to do the above actions?

    Each object in a form must have a unique name. I doing so it is not neccessarily the name but the path or SomExpression associated with that object that must be unique. In your case you have a Table.Row.object configuration. The Row is the part that is repeating so to give each object a unique name an instance number is placed on the repeating part. So objects in the 1st row woudl be Table.Row[0].object...objects in the second row woudl be Table.Row[1].object etc .....You can see this by adding a debug instruction on the Enter event of the description field. Put the code app.alert(this.somExpression) and when you enter the field you will see what the somExpression is. Do this for a few rows and you will see the pattern (don't forget to remove the debug code from the enter event). Now you know what you have to use to address the fields. If no instance is given it is assumed to be 0 ..that is why only the 1st row is being affected.
    So now to answer your questions:
    Question1: The square bracket notation is an issue for javascript (this is the notation for an array) so we have to use a different means of addressing the field to include the instance number. So to address the Description in the 3rd row we woudl use:
    xfa.resolveNode("Table.Row[2].Description").rawValue = "This is my new description";
    Note that the instance number is 2 for the 3rd row because the instance numbers are 0 based.
    Question2. The resolveNode notation allows you to pass a string so you can also concatinate expressions to make the string. If you are writing code on a button in the same row you can get the instance that you are on by using the expression this.parent.index. The "this" portion refers to the current object (the button) and the parent.index gets you th eindex of the Buttons parent. If the button is embedded deeper in a hierarchy then you can continue to add parent indicators until you get back to the node that you want. So rewriting your expression from Q1 it woudl be:
    xfa.resolveNode("Table.Row[" + this.parent.index + "].Description").rawValue = "This is my new description";
    Question3: The buttons caption can be retrieved by using ButtonName.caption.value.text.value
    Question4: When you say build from an XML file. What are you expecting to come from the XML file? The caption that goes on the button? Typically the XML file carries data (not to say that it cannot carry other things). Just need a bit of clarification on this one first.
    Hope that helps
    Paul

  • Help: set the list item when scrollbar scrolls

    i need help regording how to set the listbox list item to be selected (i.e. item to be highlighted) when the vertical scrollbar scrolls.

    Hi Shreyas,
    You can insert the code below into the NewForm.aspx page of the list via a Script Editor web part:
    <script type="text/javascript">
    _spBodyOnLoadFunctionNames.push("ready");
    function ready()
    //12/04/2015 - 18/04/2015
    var sd = "";
    var ed = "";
    var d = new Date();
    //get start date of the week
    d.setDate(d.getDate() - d.getDay());
    sd = convertDate(d);
    //get end date of the week
    d.setDate(d.getDate() + (6 - d.getDay()));
    ed = convertDate(d);
    //populate the string into the Title field
    var title = document.querySelector("input[title='Title']");
    title.value = sd+" - "+ed;
    function convertDate(inputFormat) {
    function pad(s) { return (s < 10) ? '0' + s : s; }
    var d = new Date(inputFormat);
    return [pad(d.getDate()), pad(d.getMonth()+1), d.getFullYear()].join('/');
    </script>
    It will populate the “Title” field with the text like “12/04/2015 - 18/04/2015” based on current date when adding a new item in this list in the NewForm.aspx page:
    Here are two links about how to add code into page via Content Editor Web Part:
    http://blogs.msdn.com/b/sharepointdev/archive/2011/04/14/using-the-javascript-object-model-in-a-content-editor-web-part.aspx
    http://sharepointadam.com/2010/08/31/insert-javascript-into-a-content-editor-web-part-cewp/
    Thanks 
    Patrick Liang
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • What's the easiest way to make scrolling text?

    I'm creating a template to use for a site, and I put an
    editable region inside of a table cell. The problem is some of the
    text for certain pages is more than will fit in the cell. How can I
    make it so the text scrolls inside of the cell? Is there an
    extension or something that will add the scrollbars? Thanks, I
    really appreciate the help!

    You'll only get the scroll bar if the text height exceeds
    300px. Use
    overflow:scroll if you always want scroll bars.
    What browser did you test it in? Some older browsers do not
    support
    overflow.
    What element did you assign the maintext class to? It needs
    to be on a
    block-level element. I would not put it on the <td>.
    You can always add
    a <div> tag inside the <td> if there is no single
    containing tag.
    Yes, the height should match the table cell height.
    HTH,
    Randy
    > I tried it and it didn't work. What I did was I have the
    text assigned to a
    > style class called .maintext and I added those two lines
    to it. It looked like
    > this...
    >
    > .maintext {
    > font-family: Arial, Helvetica, sans-serif;
    > font-size: 12px;
    > font-style: normal;
    > line-height: 18px;
    > color: #FFFFFF;
    > overflow: auto;
    > height: 300px;
    > }
    >
    > Like I said, this didn't seem to work. I put the text
    into the editable
    > region and it broke the table, no scroll bars appeared
    when I viewed it in a
    > browser as well. Was I supposed to put the two lines of
    code somewhere else?
    > Like on the <td> tag?
    >
    > Also, should the height coincide with the pixel height
    of the cell I'm putting
    > the text into?

  • How to set the amount of lines to scroll by mousewheel?

    does anybody know how to do that ?

    lagagnon wrote:
    I think you need to add something like the line below to the "InputDevice" stanza of your /etc/X11/xorg.conf file:
    Option "VertScrollDelta" "6"
    -substituting "6" for however many lines you want. Then you have to reboot the X server of course.
    thank you for the hint lagagnon,
    my problem is that i do not have a xorg.conf file in /etc/X11/. Everything is working fine without it.
    Im using a "20-keyboard.conf" to define my keyboard is there a similar way to do it for the mouse?

  • N8 Internet Radio no scrolling text since Belle up...

    Since I have updated my N8 to Nokia Belle (v.111.030.0609) the scrolling information text no longer functions in Nokia Internet Radio v.3.05(0). It scrolled song titles etc on each station screen and within the widget. I have tried deleting and reinstalling the app but still no scrolling text. 
    Any advice of how to solve the problem of the missing text would be very much appreciated.
    Thanks.

    romatou18 wrote:
    Hi Guys,
    Funny AND very revealing of the current change of politics in Nokia:
    Yesterday I wanted to find a safe way, using small roads therefore,  to commute to work by bike, using NOKIA Maps on my N8 running Belle. I thought I’d use waypoints on the route to make it easy to choose small auxiliary roads. And oooooh surprise ! a bad surprise : the route points feature has disappeared ! then I look deeper and the useful weather, or Michelin, travel advisor widgets have disappeared too !
    So my question, more general than just specific points i.e route points in maps or Artists name in Internet Radio, Is Mr Nokia making a fool of their users by providing a shinny brand new system, Symbian Belle, but with a decreasing software quality ???!!!
    I will place an enquiry on that to the Dev team of Maps too, but I’m seriously upset, I just invested in a new Nokia not because they are sooo much better but because I believe in Made in Finland == made in Europe (minimum relocation) + free software politics unlike apple ie Nokia maps etc…
    But seriously now, Im just tempted to selle my Nokia and buy an Android phone on which I’ll buy a proper GPS or use a free one.
    Last but Not least I tried installing Google Maps (latest version 4.1.1) that crashed at every attempts after about 2 seconds running… Utterly upsetting !
    Is Symbian Belle so good then ???? 
    Route points did get removed (for whatever reason) in maps 3.08, but has been reintroduced in the current Beta version which is available at http://betalabs.nokia.com/apps/nokia-maps-suite, which also includes the guides. Also available is a homescreen weather widget at http://betalabs.nokia.com/apps/weather-widget (you would need maps suite 2 installed first). My experience of these Beta apps is that they are stable but it's up to you whether you choose to install or wait until they complete testing and get released.
    There does seem to be an issue with Google maps, in that WiFi must be enabled even if not connected in order for it to run. Hopefully Google will release an update.
    I'm also considering getting rid of my N8, but only because the 808 looks so good. Belle may not be perfect, but if there was a way to hack my android tablet in order to get belle running on it, I would do so
    N8-00 pc059C9F6 Belle
    808 PureView pc059P6W5

  • TDMS : How to set the background colour programatically for .tdms file

    Hello every one 
    is there any method to set the background colour of .tdms file programatically
    Thank you
    Raja

    Hi Raja,
    "TDMS" is a file on your harddisc. How should a file have a background color?
    Or the other way around:
    How do you set the background color of a simple text file?
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How to set the charset encoding dynamically in JSP

    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal

    Dear Saurabh,
    I guess it is possible. Here is an example I have made some time ago :
    In my html page :
    <form name="form1" METHOD=POST Action=Lang ENCTYPE="application/x-www-form-urlencoded" >
    <p>
    <select name="code" size="1">
    <option value="big5">Chinese</option>
    <option value="ISO-2022-KR">Korean</option>
    <option value="x-euc-jp">Japanese</option>
    <option value="ISO-8859-1">Spanish</option>
    <option value="ISO-8859-5">Russian</option>
    <option value="ISO-8859-7">Greek</option>
    <option value="ISO-8859-6">Arabic</option>
    <option value="ISO-8859-9">French</option>
    <option value="ISO-8559-1">German</option>
    <option value="ISO-8859-4">Swedish</option>
    <option value="ISO-8859-8">Hebrew</option>
    <option value="ISO-8859-9">Turkish</option>
    </select>
    </p>
    <p>
    <textarea name="entree_text"></textarea>
    <input type="submit" name="Submit" value="Submit" >
    </p></form>
    and in my jsp :
    // Must set the content type first
    res.setContentType("text/html");
    code = req.getParameter("code");
    example = req.getParameter("entree_text");
    PrintWriter out = res.getWriter();
    // The Servlet send to the Browser the informations to format the language type
    out.println("<html><head><title>Hello World!</title><meta http-equiv=\"Content-Type\" content=\"text/html; charset="+code+"\"></head>");
    // System recover the general Character encoding
    String reqchar = req.getCharacterEncoding();
    out.println("<body><h1>Hello MultiLingual World!</h1>");
    out.println("You have defined an ISO of : "+code);
    out.println("<BR>This is the code of the page that is displayed in this page<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("Character encoding of the page is : "+reqchar);
    out.println("<BR>This is the character code in the Servlet");
    out.println("<BR>");
    out.println("<BR>");
    out.println("<BR>");
    out.println("You have typed : "+example);
    out.println("<BR>");
    out.println("");
    out.println("</body></html>");
    I think starting from this example it is surely easy to modify dynamically the jsp.
    The other possibility would be to use the Weblogic Commerce and the LOCALIZE function, so that you'll have an automatic redirection to the right jsp-encoding depending on the customer's language.
    Feel free to reply on the forum for any related issue.
    Best regards
    Nohmenn BABAI
    BEA EMEA Technical Support Engineer
    "Saurabh" <[email protected]> a écrit dans le message de news: [email protected]...
    Is there any way to set the charset encoding dynamically in a JSP
    page?
    we are using weblogic 6.1 on HP unix.
    is there some way we can set the charset dynamically in the page directive
    <%@ page contentType="text/html;charset=Shift_JIS" %>
    and in MAET tag
    <meta http-equiv="Content-Type" content="text/html" charset="Shift_JIS">
    Saurabh Agarwal[att1.html]

  • Nokia 301 set the alarm tone

    Hi,
    is there a way to set different clock alarm tone? (I didn't manage to find it in the user guide)
    Thank you
    Solved!
    Go to Solution.

    farby is righ....
    When you are setting the alarm time, if you scroll down there is an option to set the Alarm tone - Standard, Radio, Open Files, Tone downloads.
    Use Open Files > Alert Tones and there are some different tones you can use there. 
    Edited to add: And while mucking about with it myself, up popped the message that you can switch your phone off at night and the alarm will still go off to wake you up. That's a nice feature.... though considering all the questions about battery life, how will that work!? Just checked the 206 does this too, is this a general feature of Nokia phones?

  • What's the best way to detect that text fits into ContainerControllers without scrolling?

    Hi.
    Question
    What's the best way to detect that text typed by user (or added programmatically) exceeds available container space and find out where starts truncated part? Is there available some other (than described bellow) easy way to detect it or disallow set of controllers to receive more characters that can be displayed in given composition area?
    My partialy failed attempt (simplified)
    For example lets say that I've got an editable textflow with attached two instances of ContainerController.
    var flow:TextFlow = createSomeFlowFromGivenString(sampleText),
        firstController = new ContainerController(firstSprite, 100, 30),
        lastController = new ContainerController(secondSprite, 600, 30);
    flow.interactionManager = new EditManager(new UndoManager());
    flow.flowComposer.addController(firstController);
    flow.flowComposer.addController(lastController);
    flow.flowComposer.updateAllControllers();
    With enabled vertical scroll policy I can compare height of the composition in last controller with height of the content:
    var bounds:Rectangle = lastController.getContentBounds(),
        overflow:Boolean =  lastController.compositionHeight < bounds.height;
    trace('Content does not fit into given area?', overflow)
    But when I switch vertical scroll policy off (lastController.verticalScrollPolicy = ScrollPolicy.OFF) - unfortunately this no longer works...(In my case scrolling should be dissabled, since text areas might have only one line with restricted width)
    Use case
    I want to create fillable form. Field might have a single or multiple lines. One field might start in the middle of the page, continue in the next line where it spreads through whole page and end in the - quarter of page width long  - third line. Text typed by the user can't exceed given area since it might cover some static text that sits right after/below field.
    Something like ascii image bellow:
    |                <PAGE>                    |
    |                                          |
    |                                          |
    |                                          |
    |               [Field starts here........ | 
    | ........................................ |
    | ........................................ |
    | Ends here..]                             |
    |                                          |
    |                                          |
    | [Another field] xxxx  xxxx xxxxxxxx x xx |
    | xxxxxxxxxxxxxxxxxxx                      |
    |                                          |
    |                              [One more.. |
    | .....]                                   |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    |                                          |
    Info:
    [......]  <-- form fields starts with '[' character, and ends with ']'
    xxx       <-- sample, static text
    | and _   <-- page borders

    I've tried something like that previously, but it didn't work because then I've got vertical scroll policy to set to 'auto'. After changing verticalScrollPolicy to ScrollPolicy.OFF  in the last container it worked like a charm.
    Thanks zhen bian

  • How to set the text in a jtextfield to align to the left

    A quick simple question. I'm populating a jtextfield with text pulled from a record. However the text is too long to fit in the jtextfield and the alignment is set to the right rather than the left. How do I set the alignment of the text in the jtextfield to be on the left, so that the first character of the string is shown?
    I've tried using
    setHorizontalAlignmnet(JTextField.LEFT),
    but my text still appears right justified in the jtextfield. It means that the user has to scroll the text to go to the beginning of the string, rather than the usual of scrolling the right to go the end of the string.
    This has really gotten me stumped!

    HI thanks for the help. Unfortunately it doesn't work if the text is longer than the actual textfield. The textfield would still show the end of the text, rather than showing the beginning of the text.
    For e.g.
    |est text|
    is show rather than
    |test tex|
    which is my desired result.
    Any further suggestions please.

  • How to set the desired font to the selected text in textframe?

    Hi,
    I want to change the font(let's say Times New Roman) of selected text in textframe when I click on  menu-item of my plug-in.
    I went through the Adobe Text Engine documentation and  tried some code for setting font but failed. I don't see any member function in IFont class to set desired font, so unable to move forward.
    plz see the code. I would like to know one more thing that how can we set a particular font for a textframe?
    TextRangesRef rangesRef = NULL;
    result = sAIDocument->GetTextSelection(&rangesRef);
    aisdk::check_ai_error(result);
    ITextRanges ranges(rangesRef);
    if (ranges.GetSize() > 0)
         ITextRange range = ranges.Item(0);
         ICharFeatures features = range.GetUniqueLocalCharFeatures();
         IFont  font;                     // I don't see any method to put desired font.
       // features.SetFont(); 
    Thanks.
    D.A

    First, get the font:
    AIFontKey fontKey = 0;
    AIErr error = sAIFont->FindFont("Times New Roman Regular", kAIAnyFontTechnology, kNativeAIScript, 0, &fontKey);
    // do something with error
    ATE::FontRef fontRef = 0;
    error = sAIFont->FontFromFontKey(fontKey, &fontRef);
    // do something with error
    ATE::IFont font(fontRef);
    Then, apply it like this:
    ATE::TextRangeRef textRangeRef = 0;
    AIErr error = sAITextFrame->GetATETextRange(handle_to_artwork, &textRangeRef);
    // check error
    ATE::ITextRange textRange(textRangeRef);
    ATE::ICharFeatures charFeatures = textRange.GetUniqueLocalCharFeatures();
    charFeatures.SetFont(font);
    textRange.ReplaceOrAddLocalCharFeatures(charFeatures);
    There are a few other ways to set the text, but you need to understand how character & paragraph styles interact with each other to understand the differneces. This is the most straight forward way to do it though.

  • How do you set the Text in an Accordion Interaction?

    When trying to set the text in the Accordion Interaction, it behaves very strange. You can't set it. It starts out at 13 and then changes to either 10 or 30.
    Can anyone give some advise on how to set this?
    Thanks.

    Hello,
    Logged that bug (as well, have a long list). Workaround depends on your hardware: for some scrolling the mouse wheel will allow to change font size (doesn't work for me). On my Lenovo Thinkpad I have to use the trackpad, that has a scrollbar, to change the font size. Very cumbersome, was promised that it would soon be patched, crossing my fingers.
    Lilybiri

  • Fade scrolling text in and out at the bottom and the top

    Hello,
    I'm new to Final Cut Pro X previously I have used Final Cut Express. Making the scrolling text fade out at the top of the page as it scrolls is easy in Final Cut Express. I've spent over 1 hr & cannot find how to make the scrolling text fade out in Final Cut Pro X, has anyone any ideas?.
    Thanks JohnH

    JohnHutchinson wrote:
    … However the scrolling text is across the whole screen width. When I add the Mask the text is cropped on both sides & I cannot expand it back to the width …
    you can drag the Mask-Handles to the very end of the screen:
    and I forgot to mention:
    You can set the Feather value BEYOND the sliders max. '100'
    here, in my example, 180 .......
    type the value, or 'drag'n slide' by clicking with the mouse onto the value … - as in most FCPX and Motion5 values.

  • Can I set the default save location in text edit to dropbox?

    I'm happy with dropbox for now and want to set the default save folder to a dropbox folder but I cannot see how to do this.
    Can it be done? Or do I need a 3 party text editor?
    Thanks
    Tom

    You cannot. Because this option both takes much longer and reduces the quality of files, it has to be chosen specifically.
    In any case, when you save a PDF file from Word. this process does not involve Acrobat or Adobe software in any way.

Maybe you are looking for

  • ORACLE ADF - Performing logical deletes in Oracle ADF

    [http://www.youtube.com/watch?v=zl5QjihrU0k] hi.. i am currently doing a system using oracle adf framework. i want to do a process of withdrawing a subject that have been registered by a student, but i don't want to permanently delete the data from t

  • Load Balancing Directory Servers with Access Manager - Simple questions

    Hi. We are in the process of configuring 2 Access Manager instances (servers) accessing the same logical LDAP repository (comprising physically of two Directory Servers working together with Multi-Master Replication configured and tested) For doing t

  • Difference caused by 2KES

    the difference caused by 2KES   Posted: Mar 6, 2009 6:53 AM     Edit          Reply  Dear ALL: I found a problem when we carry forward the retained earning account ( 140010)'s value from 2008 year to the 2009 year using tcode 2KES ( profit center acc

  • Optical audio but Analogue output

    Hi, I connected my AppleTV to my Bose audio system ONLY with optical audio cable. I figured out that sounds comes out with a movie in DD and ALSO with other sources (like youtube videos). The Audio & Video settings on ATV is setup to ON regarding DD.

  • Presentation is too dark on external monitor

    I have a 2.66 GHz Intel Core 2 Duo MBP 17" with 4GB of factory RAM running OS 10.6.3. At the last two meetings I've been at, my presentation on the external VGA monitor for the audience (large room, 1000 people) has been a bit too dark. The presentat