Okai…
I jus learned how to create scrolling text via a .txt file
it works but it seems to b limited to a number of characters and words
did i do it wrong? n if it isnt wrong, can i change it so dat the length can b longer? how?:hangover:
Okai…
I jus learned how to create scrolling text via a .txt file
it works but it seems to b limited to a number of characters and words
did i do it wrong? n if it isnt wrong, can i change it so dat the length can b longer? how?:hangover:
Hmm, I have had no problems scrolling any lenght txt file. Post the source so I can take a look and see whats up…
Da text file is here
I think s/he meant to post an FLA file or code snippet…
Did you set your textbox to be multiline?
myTextfield_txt.multiline = true;
Or select your textfield on the stage and in the Property panel you should see a dropdown list that has three choices
Either way should work.
Dis woz da code dat i used…
loadText = new loadVars();
loadText.load(“profile.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.profiletext;
};
Yes the fla would help…you have scroller as the instance name on the textbox?
Give this a go…
loadText.onLoad = function() {
scroller.multiline = true;
scroller.wordWrap = true;
scroller.text = this.profiletext;
};
hmmz…
I gave da dynamic textbox an instance name…but not for the scroller
the code doesnt seem to b working…i tried with the old code with multiline, but it didnt work either
i’ve also attached the amount of text i really want
Also…now dat i hav put the old code bak in…it doesnt seem to either
scroll
or
is taking in less characters
THANZ DUDES…
:beam:
i kinda figured it out…i had some sort of character dat caused the scrolling to stop…but i got rid of it and it now works!!!
thank u so much…
ps. happy new year
*Originally posted by imxtremelybored *
**THANZ DUDES…
:beam:
i kinda figured it out…i had some sort of character dat caused the scrolling to stop…but i got rid of it and it now works!!!
thank u so much…
ps. happy new year **
yeah thanks to this thread , the same problem happen to me too…keep racking my brains why it wont scroll to the end…checked back my txt file and figure out that its the “&” char which prevents it from scrolling! :!:
:: Copyright KIRUPA 2024 //--