5 Replies Latest reply on Jul 25, 2006 8:16 AM by .:}x-=V!P=-x{:.

    Dynamic Text

    sbryner Level 1

      Is there a reason why my dynamic text loads in the .txt file but will only scroll the first few sentences? Could there be a problem with the .txt file itself or is there something I'm forgetting? I've done this numerous times and this has never happened. Has anybody else had a problem like this?

      My dynamic text box is set with <> and borders on. Is there a limit to how many returns (lines) are allowed inside the text box?

        • 1. Re: Dynamic Text
          Could you post some of your code?
          • 2. Re: Dynamic Text
            sbryner Level 1
            Here's what I have relating to it....

            (note:I have a text file from notepad named "twoSalmon.txt" in the same folder as the .swf. Plus,I don't know if this makes a difference but this .swf loads into the main .swf loader.)

            var mytableLV:LoadVars = new LoadVars();

            scrollBar.visible = false;

            mytableLV.onLoad = function(success) {
            if (success) {
            myMenu = mytableLV.myMenu;
            buffets = mytableLV.buffets;

            //* Button to place text from file into dynamic field \\

            menu_mc.onRelease = function () {
            infoBox_txt.htmlText = myMenu;
            if (infoBox_txt.textHeight>=infoBox_txt._height) {
            scrollBar._visible = true;
            } else if (infoBox_txt.textHeight<=infoBox_txt._height) {
            scrollBar._visible = false;

            • 3. Re: Dynamic Text
              .:}x-=V!P=-x{:. Level 3
              the error is most likely in your scroll function that you did not provide
              • 4. Re: Dynamic Text
                sbryner Level 1
                I don't have a scroll function. I guess I haven't looked in to that yet. I have a Scroll Bar component and linked it to the dynamic text box infoBox_txt. Then linked the infoBox_txt to a .txt file and in that file I have &header="text here". It just doesn't load it all.

                this has worked before... I don't know, I'm confused... I'll look into scroll functions.

                thanks for the heads up on a scroll function.


                • 5. Re: Dynamic Text
                  .:}x-=V!P=-x{:. Level 3
                  well if your using th compnent ...you wont need one...maybe its something else