Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Dynamic Automatic News Scroller



Anyone know a good tutorial for making a dynamic automatic news scroller?Thanks,Raithe Davion



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 03-15-2007, 04:55 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Dynamic Automatic Text Scroll (like News Reader)
Hi all,

I know dynamic text scroll by clicking the button by adding this script


ActionScript Code:
up_btn.onPress=function(){
        mytext.sctoll+=1
}
down_btn.onPress=function(){
        mytext.sctoll-=1
}

but i dont know the following..

1) External text file load into flash and scroll automatically from bottom to top continously.

2) Whenever mouseOver on the text the animation should stop.

Can any one help ?
Thanks in advance.

Dynamic News Scroller... HELP
i made a littel news scroller and it works fine.. but now i need it to read text from a file.. so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong...

ok how did i do it:

frame 1 has a action called


PHP Code:



news_text = "blah blah "; 




This makes the text blah blah scroll, but how do i make it so this code


PHP Code:



var loadText = new loadVars();
    loadText.load("nieuws.txt"); //name of text ducument
    loadText.onLoad = function(success) {
        if (success) {
            // trace(success);
            newsBox.html = true;
            newsBox.htmlText = this.myNews;
        }
    }; 




Profides the same result?

check my attached file...

Dynamic News Scroller... HELP
i made a littel news scroller and it works fine.. but now i need it to read text from a file.. so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong...

ok how did i do it:

frame 1 has a action called


PHP Code:



news_text = "blah blah "; 




This makes the text blah blah scroll, but how do i make it so this code


PHP Code:



var loadText = new loadVars();
    loadText.load("nieuws.txt"); //name of text ducument
    loadText.onLoad = function(success) {
        if (success) {
            // trace(success);
            newsBox.html = true;
            newsBox.htmlText = this.myNews;
        }
    }; 




Profides the same result?

check my attached file...

Automatic Scrolling News
Anyone know where I can find a tutorial for an automatically (vertically) scrolling News Box?

Basically just a dynamic textbox that scrolls slowly from bottom to top

Automatic Scrolling Text - News Ticker
I want to create vertical scrolling text that has 3 different screens. For example, like the one that's here: http://www.scriptocean.com/flashscroll/index.html

I know how I can do this in HTML/Javascript, but how do I do this in Flash Professional 8? Any ideas would be extremely helpful! Also, I need to be able to hyperlink to external pages too.

Thanks!

Automatic Scroller
Does anyone please know how to make text scroll automatically like the cast list at the end of a film?

I wish to be able to stop the scrolling aon the click of a button and them be able to restart on clicking the button again.

I also want the be able to have the scrolling at a certain speed.

All help much appreciated

Automatic Scroller- Help, I'm Missing Something
I am trying to make a list of text scroll like the credits at the end of a film. I wrote the text and put it in a movieclip titled textMC. It works fine when I export the .swf, but when this .swf is loaded into the main page, it doesn't work. Can someone please tell me what I'm missing? The code I have is below. I have one button to scroll up, one to scroll down, and another to stop scrolling. The .swf with the resume, called "resume.swf", needs to play on the main page, "index.swf", when the "resume" button on index.swf is pressed. Thanks in advance for any help!

on textMC:
onClipEvent (enterFrame) {
if (_root.scrolling == 1) {
this._y -= 2;
}
if (_root.scrolling == 0) {
this._y += 2;
}
if (_root.scrolling == 2) {
this.stop();
}
}

on scroll up button:
on (press) {
scrolling=0;
}

on scroll stop button:
on (press) {
scrolling = 2;
}

on scroll down button:
on (press) {
scrolling = 1;
}

Vertical Scroller - Automatic
I have recently come across a vertical scroller on this web page:

http://shop.tokyocube.com/toys.htm

I would like something similar but i have searched the forums here and, of course, google but cannot find any tutorials that match my requirements.

Does anyone know of a method of how to do this (preferrably using actionscript) OR any tutorials that can help me with the development of this?

Thanks in advance

Evan

Automatic External Text Scroller
anyone know how to create an automatic text scroller that loads its text from an external txt file? exactly like the one found
here "http://www.amarasoftware.com/flash-news-ticker.htm"

The closest ive come is a text box in flash that pulls its content from an ext txt and that movie clip is tweened to move upward, and then loop itself. the problem with this is that the text box that loads the external data is a fixed height, if i added more text to the ext file then it will not all fit in to the flash txt box.

thanks

Automatic Text Scroller With Scrollbar
Hi

I need to know how I can create a text field with scrollbar, but the text scrolls automatically, as does the scroll head ( showing the progress of the scrolling). This is for a presentation that I am doing where the people can only look and not scroll the text physically by pressing buttons etc.

I know I can do this with Motion Tweening, but I was hoping to find a more advanced feature for this. I am currently using Flash MX.

Thanks

News Scroller
OK, I've been racking my brain her with some actionscript.
http://www.gordonpape.com/flashhelpme.zip
contains the following:
Preview.cfm
test.cfm
test.fla
testa.swf

Here's my problem, I hope someone can help me

data is grabbed from preview.cfm
The counter is set to 1
test.cfm is coded to show the flas file and ( for troubleshooting) a copy of the data from preview.cfm which is:

vtext1=6 STEP TO $1 MILLION
cntr1=1
no_of_feeds1=3

vtext2=HEAD START
cntr2=2
no_of_feeds2=3

vtext3=Retiring Wealthy in the 21st Century
cntr3=3
no_of_feeds3=3

no_of_feeds=3
(formated this way only for visual appearances)

the scroller starts with a blank run, then shows vtext2 then vtext3, then vtext1 and repeats.

However this is only when the if statement in the actionscript has a hardcoded "if count == 3 then repeat" process. If I use "if count == no_of_feeds" , the file shows vtext2, vtext3 then continuous blanks.

Please help...this is driving me CRAZY!!!

News Scroller
Hey guys,

I need to recreate the Java Applet on this page in Flash
http://www.parity.net/resourcing/

it is on the far left.

I have done similar things like this before, but for some reason I cannot think straight, and I need some help with coding something like this.

dduck1934

News Scroller
Hello.

are there any tutorials on creating a kind of news scroller. I'd prefer to get the news from a text file or DB. I would use coldfusion but the host i'm using doesn't support it. Any ideas or tutorials?

thanks!

News Scroller Help...
Hi All,

I'm using a JAVA (eugh - swear word!) scroller on one of my sites, see: http://www.lymmhigh.co.uk/objects/6.cfm

It reads the news from an XML file like this:

<news>
<header>Computers For Schools</header>
<body>Tesco is giving away computers for Schools</body>
<link>http://www.lymmhigh.co.uk/</link>
</news>

<news>
<header>U15s Stoneyhurst Report</header>
<body>see here</body>
<link>http://www.lymmhigh.co.uk/test</link>
</news>

Now here's the big question, HOW do I convert this java beast into a sexy flash scroller?

I want it to use the same scrolling technique and allow several news items to scroll through it.

Any help greatly appeciated

James.

News Scroller
I need a VERTICAL news scroll that reads from a file formatted like so..

Yahoo! | Yahoo is really cool | http://www.yahoo.com | _self

i need the title to be bold, i have NO idea about flash but i am willing to learn! i just need a head start from you guys if you are willing!

Thanks!
Dean.

News Scroller
Help.

I am a new flash user and have not much of a clue (yet).
I have an image I have brought into flash. On a certain area of this image I want to place a news scroller.

Can anyone tell me step by step how to add a news scroller? I have read the Flash MX maunal and have looked at everything on the net I could find but nothing I try seems to work.

Thank you for any help you could give.

Ven

News Scroller?
Hi there,

Please could someone tell me hoe this effect was created?

http://www.truthtv.org

(If you let the flash site load, there is a news scroller on the left hand side)

I know how to create the dymanic scrolling text, but how I get the rollover effect that goes with it?


help appreciated!!

News Scroller Using Xml
Hi!!

I am trying to make news scroller in flash (want to get the data from xml) but i dont know how to go about doing it. Could amyone pls tell me the script for it.....i am very new to scripting .

News Scroller
Could anyone help me with creating a news scroller with custom scrollbar in mx 04.

(Do I use the textArea component or a dynamic txt box?
Do I need to use themes to customise the scrollbar?)

Very confused

Please help!

SEb

News Scroller Help
There's the problem : I have a news scroller but wich loads external text , but i want to rotate it& scale it a bit in order that it has a perspective aspect. The thing is when i try 2 do that it stops showing the text .


I don't know what 2 do HELP please .

News Scroller
Just a quick queston does anyone know were i can find a tut for a vertical srolling news ticker? or were i can download a fully editable one?

cheers

News Scroller
Could anyone help me with creating a news scroller with custom scrollbar in mx 04.

(Do I use the textArea component or a dynamic txt box?
Do I need to use themes to customise the scrollbar?)

Very confused

Please help!

SEb

News Scroller
Ive seen the Kirpua news ticker but i was wondering is there one where you can use it vertically.

For example in the box below the text news moves upwards, and once you hover over it stops so you can read it

__________________
| .........................|
| ........................ |
| ........................ |
| ........................ |
| ........................ |
----------------------

Any ideas any one?

Help With My News Scroller
Hey -
I have a news scroller which is working apart from one thing:
The end of the text string does not quite scroll completely off the screen - it disappears into thin air near the end and THEN starts scrolling from right to left again.
How do I make it so the text scrolls completely off the screen before returning?


Code:
var loadText:LoadVars = new LoadVars();
loadText.load("news.txt");
loadText.onData = function(src:String):Void {
if (src != undefined) {
news_txt.htmlText = " "+src;
scrollText();
} else {
news_txt.htmlText = "could not load data";
}
};
function scrollText() {
onEnterFrame = function () {
if (news_txt.hscroll<news_txt.maxhscroll) {
news_txt.hscroll+=30;
} else {
news_txt.hscroll = 1;
}
};

}

News Scroller
Could anyone help me with creating a news scroller with custom scrollbar in mx 04.

(Do I use the textArea component or a dynamic txt box?
Do I need to use themes to customise the scrollbar?)

Very confused

Please help!

SEb

News Scroller
I guess this one is asked a lot, but I have had a look through the search and I can't find a solution. I want a news scroller that loads from an external .txt file, and each piece of news only moves on when you want it to (by clicking a button). Help, please?

Flash News Scroller
Hi! I've seen some of the tutorials out there, but I haven't been able to find the right one.
I'm using Flash 5.
I'd like a part of a flash page to have a "news" section, with a box that scrolls news automatically, from bottom to top.
I'd also like it if i could import the changing text from an html file.
any suggestions?
all the scrollers i've seen in flash require the up and down buttons.

Flash News Scroller
Hi! I've seen some of the tutorials out there, but I haven't been able to find the right one.
I'm using Flash 5.
I'd like a part of a flash page to have a "news" section, with a box that scrolls news automatically, from bottom to top.
I'd also like it if i could import the changing text from an html file.
any suggestions?
all the scrollers i've seen in flash require the up and down buttons.

Vertical News Scroller
Probably been asked time and time before, but how can I make an automatically vertical scrolling news ticker which accepts variable lenght news articles?

Get the variables etc is no problem I just don't know how to make something scorll without it being a movie which won't work as the text could change in size.

Any help would be great or examples as I have had problems finding those too.

Si

Problem With News Scroller
are there "safe fonts"? I have a news scroller with a mask, and a movieclip with the text in it. The text is the same color as the mask, so when it scrolls by the mask it is shown clearly. But no matter what background color I choose for the rest of the scene, you can still see the text ghosted moving up the screen, below the mask. How can I make it so you ONLY see the text where the mask is?

Also, this is my first attempt at a scoller (I'm a newbie) and right not I'm typing text into the movieclip, however I would like to make this dynamic and load the text from a txt file. can someone point me in the right direction?

thanks very much!

Davey

Fading News Scroller
Hey,

I'm very inexperienced with Flash but I would like to learn how to build a fading scoreboard for one of my websites. What I'm looking for is like this site has at the top of the page:

http://www.thescore.ca

I want to pull the scores from a php page with the variables already defined (or if easier directly from the mysql db).

If someone could direct me to the relevant tutorial(s) I would be extemely grateful.

Thanks

Image With News Scroller
Does anyone know of a tutorial that can create an image - news gallery like the one used here: http://www.govolsxtra.com/

I am sure they bought the one they are using, I would like to create one for my own site, and see many types of image gallery's,
but none display with text below the image that is link-able.

Many thanks - Sky

Flash News Scroller
I'm looking for a (preferably free) flash news scroller kinda stuff that has an external xml or note pad file in which the data will be saved and the same gets updated dynamically when the flash file is compiled.
To say in short "A dynamic News scroller that has the content stored in the external xml or note pad file "

Also please suggest whether any News scroller sort of components are available for free..Cheers !

Flash News Scroller
I'm looking for a (preferably free) flash news scroller kinda stuff that has an external xml or note pad file in which the data will be saved and the same gets updated dynamically when the flash file is compiled.
To say in short "A dynamic News scroller that has the content stored in the external xml or note pad file "

Also please suggest whether any News scroller sort of components are available for free..Cheers !

RSS News Scroller / XML - Help Needed
Hi everyone,

I've got hold of this very funky scroller, which I've put up as an example here:

www.mattblank.com/test

The problem is, it only reads from the XML that I've uploaded called news_feed.xml (this template XML file came with the scroller www.mattblank.com/test/news_feed.xml).

What I would prefer though is if it could instead read from the file I've created and uploaded called rss.xml (www.mattblank.com/test/rss.xml), which I think is more RSS friendly, however the flash file can't read it for some reason, it will just show the title and description of the rss.xml file instead of all the items.

I will be eternally grateful if someone could help me on this one. I've attached all necessary files (you normally have to preview it live to see any content).

I don't want the flash file to read the links from rss.xml, but I want them to stay in the XML incase people want to use it as an RSS.

I hope this isn't too confusing

Please help me!

Many thanks,
Matt Blank

P.S. All files needed are in the attached zip file.

Add Images To A News Scroller
I found a script at on the web that emulates the news scroller found at www.Carldekeyser.com. I would like to add images to each news headline so it can replicate the effect found at carldekeyser.com. Can someone please give me assistance.

Code:
stop();
//
// for easing
import mx.transitions.*;
import mx.transitions.easing.*;
//
// set the stage to publish html at 100%
Stage.align = "TL";
Stage.scaleMode = "noScale";
//
// arrays and movie clips
var smItems:Array = new Array(); // array of small size news items
var origSmItems:Array = new Array(); // handy to have a copy that doesn't get sorted for button scrolling
var lgItems:Array = new Array(); // array of large size news items
var linkItems:Array = new Array(); // array of links
var smItems_mc:MovieClip = this.createEmptyMovieClip("si", this.getNextHighestDepth()); // holds small news items
smItems_mc.swapDepths(block_mc); // put the small items behind the box that displays the big items
var lgItems_mc:MovieClip = this.createEmptyMovieClip("li", this.getNextHighestDepth()); // holds large news items
//
// set the coordinates and mask the biggies
smItems_mc._x = 250;
smItems_mc._y = 270;
lgItems_mc._x = 225;
lgItems_mc._y = 250;
lgItems_mc.setMask(mask_mc);
//
// news item currently displayed in box and the last news item to be displayed to be displayed in box
var curNews:MovieClip;
var oldNews:MovieClip;
//
// some numbers
var numItems:Number = 0; // number of news items (will be reset after xml is loaded)
var curScrolled:Number = 0; // number to aid in easing scroll
var scrollAmt_big:Number = 150; // how much to scroll large news items (movie clips are 100 px high)
var scrollAmt_sm:Number = 80; // how much to scroll small news items (mc's are 60 px high - add a 20 px buffer)
var nowScrolling:Number = 0; // will be setInterval to scroll each item one at a time
//
// standard xml stuff to fill arrays and attach movie clips
var newsXml:XML = new XML();
newsXml.ignoreWhite = true;
newsXml.onLoad = function(good) {
if (good) {
var myNews:Array = this.firstChild.childNodes;
var len:Number = myNews.length;
for (var i = 0; i < len; i++) {
// "ni" == "news item" (large and small)
// the news item movie clips are simply movie clips containing dynamic text boxes and an
// invisible hit area (for ease of clicking)
// the large news items are 350x100 pixels
// the small news items are 250x60 pixels
var ni_l:MovieClip = lgItems_mc.attachMovie("newsItem_lg", "ni_l" + i, lgItems_mc.getNextHighestDepth(), {_y:i * scrollAmt_big});
var ni_s:MovieClip = smItems_mc.attachMovie("newsItem_sm", "ni_s" + i, smItems_mc.getNextHighestDepth());
ni_s._y = i * scrollAmt_sm;
if (i > 0) {
// add 50 pixels to get small item below display box - tricky math, man
ni_s._y += 50;
}
ni_s.id = i; // unique id number
// populate arrays
lgItems.push(ni_l);
smItems.push(ni_s);
origSmItems.push(ni_s);
linkItems.push(myNews[i].firstChild.nextSibling.nextSibling.firstChild);
// fill the text fields
ni_s.hl_txt.htmlText = ni_l.hl_txt.htmlText = myNews[i].firstChild.firstChild;
ni_s.info_txt.htmlText = ni_l.info_txt.htmlText = myNews[i].firstChild.nextSibling.firstChild;
}
initMenu();
} else {
trace("couldn't load");
}
};
//
// don't want the buttons clicked during the animation or bad things will happen
function setBtns(whichWay:Boolean):Void {
up_btn.enabled = whichWay;
down_btn.enabled = whichWay;
for (menItem in smItems){
smItems[menItem].enabled = whichWay;
}
}
//
// set up the on release actions for the recently attached movie clips
function initMenu():Void {
numItems = smItems.length;
curNews = smItems[0];
curNews.enabled = false;
for (var i = 0; i < numItems; i++) {
var menItem_sm:MovieClip = smItems[i];
var menItem_bg:MovieClip = lgItems[i];
menItem_sm.onRelease = function() {
// turn off the up/down scroll buttons so they're not clicked during the animation
setBtns(false);
// calculate distance between current item and selected item
// and sort the arrays to move in correct direction...
var m:Number = this.id - curNews.id;
if (m > 0) {
smItems = smItems.sort();
lgItems = lgItems.sort();
} else {
smItems = smItems.sort(2);
lgItems = lgItems.sort(2);
}
// swap out the curNews mc
curNews.enabled = true;
oldNews = curNews;
curNews = this;
curNews.enabled = false;
curScrolled = 0;
// set an interval to scroll each mc one at a time
nowScrolling = setInterval(moveMenuItems, 100, m);
};
}
// set up the "read more" button to open link according to curNews displayed
block_mc.go_btn.onRollOver = function() {
var tip:MovieClip = this._parent.attachMovie("tip", "t", 9999, {_x:this._parent._xmouse, _y:this._parent._ymouse});
tip.onMouseMove = function() {
this._x = this._parent._xmouse;
this._y = this._parent._ymouse;
updateAfterEvent();
};
};
// remove the tool tip on roll out
block_mc.go_btn.onRollOut = block_mc.go_btn.onDragOut = function () {
this._parent.t.removeMovieClip();
};
// open the news story in a new browser window
block_mc.go_btn.onRelease = function() {
getURL(linkItems[curNews.id], "_blank");
};
//
// set up the scroll buttons
up_btn.onRelease = function() {
if (curNews.id != 0) {
origSmItems[curNews.id - 1].onRelease();
}
};
down_btn.onRelease = function() {
if (curNews.id != numItems - 1) {
origSmItems[curNews.id + 1].onRelease();
}
};
// view the code and the xml file
code_btn.onRelease = function() {
getURL("scrollerAS.txt", "_blank");
};
xml_btn.onRelease = function() {
getURL("news.xml", "_blank");
};
}
//
// easing function to move the movieclips..
// b==big s==small (i.e. big movie clip, small end y value, etc)
function easeMenuItem(smc:MovieClip, bmc:MovieClip, sendy:Number, bendy:Number):Void {
var time:Number = 15;
var easeType:Function = Strong.easeOut;
var tweenListener:Object = new Object();
tweenListener.onMotionFinished = function() {
// i.e if the last item to animate is done moving - make the scroll buttons functional again
if (bmc == lgItems[lgItems.length - 1]) {
setBtns(true);
}
};
var yTween_lg:Tween = new Tween(bmc, "_y", easeType, bmc._y, bendy, time);
var yTween_sm:Tween = new Tween(smc, "_y", easeType, smc._y, sendy, time);
yTween_lg.addListener(tweenListener);
}
//
// the setInterval function which calls the easing function
function moveMenuItems(mult:Number):Void {
var bty:Number = lgItems[curScrolled]._y - (mult * scrollAmt_big);
var sty:Number = smItems[curScrolled]._y - (mult * scrollAmt_sm);
// these if statements account for the large box (that is it will add or subtract
// 50 from the target y value depending on the location of the scrolling movie clip
// yes, it's a pain
if (mult > 0) {
if (smItems[curScrolled].id > oldNews.id && smItems[curScrolled].id <= curNews.id) {
sty -= 50;
}
} else if (mult < 0) {
if (smItems[curScrolled].id > curNews.id && smItems[curScrolled].id <= oldNews.id) {
sty += 50;
}
}
easeMenuItem(smItems[curScrolled], lgItems[curScrolled], sty, bty);
if (curScrolled++ >= numItems) {
clearInterval(nowScrolling);
}
}
//
// start out by loading the xml file with your news...
newsXml.load("news.xml");
The XMl file structure is
Code:
<?xml version="1.0" encoding="UTF-8" ?>
- <news>
- <item>
<headline>Zombie Dogs</headline>
<teaser>US Scientists revive dogs three hours after clinical death...</teaser>
<link>http://www.news.com.au/story/0,10117,15739502-13762,00.html</link>
</item>
- <item>
<headline>Educational Sandwich</headline>
<teaser>16 year old student has threesome with 2 female teachers. He isn't complaining...</teaser>
<link>http://www.guardian.co.uk/uklatest/story/0,1271,-5112423,00.html</link>
</item>
- <item>
<headline>Black Box Predicts Future</headline>
<teaser>Scientists unwittingly discover how to predict the future...</teaser>
<link>http://www.rednova.com/news/display/?id=126649#121</link>
</item>
- <item>
<headline>Incomplete Manifesto</headline>
<teaser>A manifesto of growth by Bruce Mau...</teaser>
<link>http://www.brucemaudesign.com/manifesto.html</link>
</item>
</news>

Flash News Scroller
Hi

Could someone point me in the right direction or offer help in creating a flash news scroller similar to the one on this site : http://www.teleticket-flights.co.uk/ (under News & Special Offers)

I would like to create my own one that is easily updateable perhaps from just updating a text file.

Could this be done?

Thanks for any help

Flash News Scroller Using PHP Help?
i want to create a horizontal flash scroller which dynamically picks out 6 headlines from a database using php. Any ideas or any places where i can get some ideas? Cheers

CREATING LINKS In News Scroller?
I am creating a news scroller in flash and wanting to know the HTML/ACTIONscripting for creating links in a text box

eg.. 26/6/01
If you want the lowdown in actionscripting
go check out FLASHKIT.

..FLASHKIT is what i need to be the link

.................................................. ..........

In HTML it looks like this:

<br>
26/06/01<br>
If you want the lowdown in actionscripting go check out <a href="http://www.flashkit.com/" target="_blank">FLASHKIT</a><br>

i have tried this in the flash scroller(text box) but it dos'nt understand it...

any help would be GREAT!!

CHEERS
Mdesign....

Flash News Scroller Wizard
Hello,

I found this scroller at http://www.scriptocean.com
Does anyone knows how to import the final result into our flash movie (or site).

Thank´s a lot.


Guerreiro

News Scroller From Text File
Does anyone know how to make a text news scroller in Flash that is fed from a text file? I've been looking everywhere for a tutorial or a fla to show how to do it. I'm using Flash MX.

Thanks!
Chris Hunter

Vertical Scroller/News Ticker
I am looking for tutorial/instructions to create a Flash Vertical Scroller/News Ticker that reads a text file, where the news/headlines are updated frequently.

And, more importantly, is Flash (what version) capable of this?


Mike

News Scroller, Slowing Down My Site
hi all!
I have a little dynamic news scroller that
reads from and external text file. The scrolling of the text is done through a very-very long motion tween. Everything works pretty well except the tween is slowing down the rest of my site big time!
Does anyone know of a way to scroll the text differently, or a less proccesor intensive method.
Thanks
Librium

News Headlines Auto Scroller
Some of you must've seen this auto scroller thing that are mainly used in news sites. The text is read dynamically from a text file and can also read and display links. The scroller scrolls by default and pauses on mouse over. Usually ppl use java applets for implementation. Im trying to implement the same through flash...does anyone have any idea how?

Typewriter News Vertical Scroller?
I've been looking around and all I can find is javascript...
anyone have a good actionscript for typewriter text that then scrolls upwards automatically like a ticker?

Please help. I've managed to do the typewriter effect but I don't know how to make it scroll up automatically.

Creating A Simple News Box With Scroller
I've been searching the forums and found some related posts but still can't seem to get this working. What I am trying to do is have a text box that displays news and I want the news to be able to be updated from a text file. I would like the box to have a scroller.

I have found this tutorial http://www.flashkit.com/tutorials/In...-532/index.php

But it appears he was using a different version of flash because everything isn't the exact same. I am using Flash MX Professional 2004.

I got to page 6 in his profile and it says to test the movie and make sure the text is appearing, which it is not. I haven't tried to move on to creating the scroll bars until I can get this to work.

I have a file called scrolltext.txt and the text in the file is: scrolltext=11/2005 news test

I am using the text box "TextInput" from the Compenents menu. This type of text box doesn't give the options for selecting "wordwrap" and "multiline". I see how to input the code for it "my_txt.wordWrap = true;" but I get the error "Statement must appear within on/onClipEvent handler" I'm not sure which handler to use.


I figured out the basic differences in that tutorial like to load my text file so I can use it throughout my movie I need "loadVariablesNum("scrolltext.txt",0);"
and the go to and play is just "gotoAndPlay("load");"


If anyone has any suggestions please let me know or if you can recommend a different tutorial that would be nice. Let me know if you need more information, I understand what I wote may be a little choppy. Basically I just did exactly what that tutorial said, but stopped at the point where it says to test and make sure my text is showing up.

Thank you

[F8] Problem With External Swf And News Scroller
Hi,

I have downloaded a news scroller that uses a txt file to add news.
It has a dynamic text field called "newsText" and var name "news".

In the first frame it has this code:

loadVariablesNum("news.txt", 0);

newsText.autosize = "left";
var maxheight = newsText._height;
var maxpos = 0-maxheight;
gotoAndStop(2);


In the second frame this:

if (newsText._y < maxpos){
newsText._y = 110;
}
newsText._y -= 1;

gotoAndPlay(2);


I have tried tu put this swf news scroller file into another swf file using Loader component. But it doesn't show any letters.

I have all 3 files (scroller.swf, news.txt, main.swf) in one folder.

Can somebody help me to solve this problem?

Here I put my files.

Making A Vertical News Scroller
I am trying to make a vertical News scroller. I want to have it so it reads the news items into a Dynamic textbox. I thought it would be easy to do but once I started thinking about it, I cant figure it out.

Does anyone know of a good tutorial that shows how to do this?

Thanks
Adam

Anyone Seen Or Made An HTML News Scroller In Flash?
Hey there, I'm trying to figure out if it's possible to make a scrolling news ticker (horizontal) in Flash that pulls in from a text file and displays HTML still.

So far I can only figure out how to make a scroller that parses the text string letter by letter and then scrolls them, but this won't allow for links or HTML formatting. Anyone ever seen this done, or have done it yourself?

Thanks much!

Copyright © 2005-08 www.BigResource.com, All rights reserved