Creating a auto-scroll text that was loaded from an external text file

:trout:I like to know an easy way to create a text autoscroll (vertical) that worked when the text was loaded from another text file. it can use for news/site update. see the attachment.:wink:

<embed src=ā€œhttp://www.geocities.com/lostoflove2000/newsscroller.swfā€ quality=high pluginspage=ā€œhttp://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlashā€ type=ā€œapplication/x-shockwave-flashā€ width=ā€œ300ā€ height=ā€œ300ā€]</embed>

this might be of some help:

http://www.kirupa.com/developer/mx/dynamic_scroller.htm

thanx liam, but i dun want the scrollbarā€¦the text scroll up automatically

Iā€™ve been looking for just a plain auto-scroller for text! Actually, djazz, what you showed as a sample would work for me. Would you mind sharing the .fla for that? I will need to load text from a MySQL database so we will be working on the same problem in the end. Thanks!

sorry gareal, i dun have .fla for this sampleā€¦iā€™ve just copy the swf file from the site that i found itā€¦to let u understand how it worksā€¦

most of the samples *.fla auto-scroller text that iā€™d found are moving on horizontal pathā€¦i need the text that moving up vertically

Found an answer in another siteā€™s forumā€¦ I think. Check here: http://www.flashkit.com/board/showthread.php?threadid=432845&highlight=scroll.

I think we need to use the Maxscroll function and modify the delay property to control the speed of the scroll. The above article also discusses loading from a text file. Let me know if it works for you. I also found someoneā€™s sample of a working autoscroll, but I canā€™t load it and look at it until later.

Hope this helps!

thanx garealā€¦i have joined the forum by flashkit.com.

A couple more thoughts on this Djazzā€¦

First, I did get a reply on another forum that is VERY promising: http://www.bit-101.com/forum/viewtopic.php?p=10523#10523. I canā€™t check it out until later. Let me know if that helped.

I played around with loading text into a text box from an external file and the advice going around works fine to load text into a variable that is defined in a text file. I tried another method of getting text to scroll by trying to get the whole box to scroll in a loop.

To make a whole box scroll I had to convert it to a movie clip. And you canā€™t convert a text box to a movie clip by itself; it has to be combined with something else, then you can convert both into a movie clip. (I laid out a rectangle shape and dragged the text box over it. I selected both and converted to Symbol.) Unfortunately, once the box was part of a movie clip it would no longer accept input from a variable.

Thereā€™s a tutorial on this site on how to create an infinite menu. This would be a good method to have a box scroll over and over. (http://www.kirupa.com/developer/mx/infinite.htM). I played with this and itā€™s promising but not exactly what we need. But take a look as the ideas are useful.

Do let me know what you come up with as this seems to be harder I would have thought!

Good luckā€¦ :slight_smile:

i played around the dinamic scroller movie that we found in kirupa tutorial.
wt i have done now isā€¦
first, i had convert the textscroller to a movie then, i deleted the scrollbar component and make the text scroller ā€¦moving up
now, i have done wt i want. The text was loaded from the .text file and it was moving up. but it cant add a hyperlink on the text.

i will attach you the that *.fla file laterā€¦okā€¦hope hear from u soonā€¦

here is some exampleā€¦

thanx gareal, u give me an idea to play the infinite menu movieā€¦i will try it whether it work or notā€¦but now, i try to learn more from the news flasher tutorial to fulfil my need