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




Text Scrolling Problem



Hi,I created a cell where all the media files are loading on different containers.I have SWF file which has scrolling the content. While loading the other media files (FLVS) this text scrolling is getting slow can anyone tell me what the solution is for this.When I am not loading the other media files then this text scroll is fast and smooth.Thanks & Regards,Sridhar B



Adobe > ActionScript 1 and 2
Posted on: 02/06/2007 11:11:18 PM


View Complete Forum Thread with Replies

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

Scrolling Text Field That Stays Scrolling On Rollover
on (rollOver) {
mytext.scroll--;
mytext.maxscroll = x;
}

Here is my code, you have to keep clicking the button to scroll the text field, how do I code it to just have the mouse rollover the button and the text field will continue to scroll automatically? Thanks.....

Fancy Scrolling, Need That Slidy Scrolling Effect For Text
Can anyone point me to a tutorial where the textbox speeds up and slows down the scrolling when u hit the arrows...kinda like www.jossstone.co.uk

Using Flash Scrolling Text Box To Create Scrolling Schedule
Hi All,

For work, I'm creating a PowerPoint presentation which needs to include a really long schedule. I wanted this schedule to crawl up the screen. I thought of doing this part in Flash and inserting it into the PPT. Has anyone had luck with this sort of thing using PPT and Flash? Is there a better strategy. I have CS3 Web and Production and will be doing this portion of the project this weekend and thought I'd ask some pros. Is there another CS3 product that might be better. I am more Familiar with After Effects but haven't used it for anything quite like this before.


Thanks!

Question: Text Scrolling Vs. Clip Scrolling
I'm working on a scrollbar right now, and have it working quite nicely for scrolling a movie clip. But I began to wonder, which is better, scrolling a clip with text or scrolling the text itself?

Any thoughts on this flash community?

Personally, I like the fact that you can implement easing and get a smooth scroll by scrolling the clip, but then again, with the scroll wheel now available for the text scrolling, that's cool too.

Anyway, just curious on everyone's thoughts on this. Which do you like to see when you visit a site?

Automatic Scrolling On Mouse Over For Text Scrolling
hi all, ive made a scrolling text box with an up and down button as listed in the tutorials. i know how to make it move 1,2,3,etc lines at a time when the mouse is over but what code/variable do i need to replace the number with to make the text scroll continously as long as the mouse is over it?

thanks
bast

Scrolling Text Stops Scrolling
i just finished a messing with a site somebody wanted me to update. Since i really am new at flash, i am still learning about action scripting. I entered the content into a text box that has some scrpiting to scroll down under a mask. It scrolls just fine, but it stops before the entire field is seen. No matter how long the text field gets, it always stops at the same place when viewing the movie.It does this with all the fields at the same point...here is what it says in the "positioning movie" what is this saying?...any help woud be great
*the problem is this isnt something i made, so it makes it that much more difficult.

y = getProperty("../movie", _y);
if (y<70) {
gotoAndStop(10);
} else {
setProperty("../movie", _y, y-6);
}

Instead Of Scrolling Text - Scrolling Image
Ive learned how to add a scroll bar to my text boxes - but since I cant make the text in the textboxes do actionscript - I was thinking I could replace the text with an image of the text - and then add buttons to the words.

Simply what im asking is - how can I make an image (it will be of text) scroll inside of a specified area so that it looks just like dynamically loaded text with a scrollbar?

Instead Of Scrolling Text - Scrolling Image
Ive learned how to add a scroll bar to my text boxes - but since I cant make the text in the textboxes do actionscript - I was thinking I could replace the text with an image of the text - and then add buttons to the words.

Simply what im asking is - how can I make an image (it will be of text) scroll inside of a specified area so that it looks just like dynamically loaded text with a scrollbar?

Loading Ext. Text Into Scrolling Text Box. Problem With Text? Help Please?
Hi,

I am hoping someone can help me. I am loading an external text file into a scrolling text box. I was able to get my box and buttons, scroll bar, etc to work correctly. However, I am having two other problems that I cannot figure out.

1) My text file that I am loading is several lines long (320 or so), however, when I test my movie only the first 20 lines of the text shows up. How can I make all of my text show up? I will be adding to this text file over time and adding updates to it. So the text will gradually have more lines added over time.

2) The 20 lines of text that is showing up is all double-spaced, while the text in my text file is single spaced. How do I make my text show up single spaced? I checked the paragraph settings of my text box and everything is set to zero. What can I do fix this?

I am using Flash 5.0 and I created my text in Metapad.

Thanks in advance to anyone who can help me out.

URGENT Positioning Dynamic Text In Text Scrolling Window
Help!

I have a dynamic, scrolling text field, whose scroll is based on one of the tutorials on Flashkit. In the text I have some links which switch the content of the field via asfunction, but that's unimportant. I wanted to add a functionality similar to html "anchor", so when I switch the contents of the field (for example to read a CV of someone mentioned in the text), and remember windowTxt.scroll and windowTxt.maxscroll properties (where windowTxt is the variable name of the text field, after I finish reading the CV I click the special "back" button, and it loads the old text back and tries to set the windowTxt.scroll & windowTxt.maxscroll back to the state they were before entering the CV. I tried to do it like this:


Code:
_root.windowTxt.scroll = _root.pscroll; // pscroll => previous scroll
_root.windowTxt.maxscroll = _root.pmaxscroll; // previous max scroll
IT DOESN'T WORK! The variables ARE there in the path because trace shows the proper values for all of them, but! The scroll property won't even bother setting itself to the desired value... and the scroll using buttons and the syntax

_root.windowTxt.scroll--;
or
_root.windowTxt.scroll++;

WORKS...

Oh by the way - this is for the projector...

To sum it up - I need to push the dynamic text to a certain value after it's loaded - how to do that? I've no time for experimenting... I've deadline in a few hours and this is the last feature I've to implement, after that it's source merging with a source from a friend's work and betatesting... If I won't make it - I'm screwed. HEEEEEEEEEELP!!! THANKS IN ADVANCE...

Text Scrolling W/o Gap Afterwards- Making A Contstant Stream Of Text Scroll
How can I make some text scroll constantly without the whitespace gap afterwards e.g. if i was doing the string "Hello World ", it would scroll "Hello World Hello World Hello World", instead of waiting for "Hello World" to go completely off screen and then start again?

Thanks

Sam

Scrolling Large Text, Text Doesn't Display Completely...
I'm using this script for my scrollers, the main problem is when my movie have too much text content, it seems to stop displaying the text after a certain number of rows...

Anyone have an idea what could cause such limitation?


Quote:




// Jake Gelbman 11.14.01 slider script
// email: allforjake@yahoo.com
// site: allforjake.cjb.net

// ok here is the load event handler
// diff_y is the total amount that the scrollbar can movethe bound_box is a movie clip that surrounds everything. its just a clear box
// next line we set bounds to the bounding area of the bound_box clip getBounds() returns 4 variable yMin yMax xMin & xMax they are the bounding area that well use for a lot of stuff
// top is the highest amount the scrollbar can go
// bottom is the lowest
// updateScrollbar() is the function for setting the content clip to the right spot
// "scroller._y - top/diff_y" is a percent of the scroll bar's position we multiply it by the amount we can scroll of the content
// friction is how much the scrollbar should slow down by after throwing it
onClipEvent (load) {
diff_y = bound_box._height-scroller._height;
bounds = bound_box.getBounds(this);
top = bounds.yMin+(scroller._height/2);
bottom = bounds.yMax-(scroller._height/2);
function updateScrollbar () {
content._y = -(((scroller._y-top)/diff_y)*(content._height-bound_box._height));
}
friction = 0.10;
}
// this detects if you clicked on the scroller it starts a drag with the scroller to be from the "top" which we defined earlier to the "bottom"
// we then set scrolling to true
onClipEvent (mouseDown) {
if (scroller.hitTest(_root._xmouse, _root._ymouse)) {
startDrag ("scroller", false, scroller._x, top, scroller._x, bottom);
scrolling = true;
}
}
// here we stop the drag and set scrolling to false
onClipEvent (mouseUp) {
stopDrag ();
scrolling = false;
}
// every frame it sees if your scrolling then it updates the scrollbar to the right place based on the y position of the scroller
// it also calculates the speed of your scrolling
onClipEvent (enterFrame) {
if (scrolling) {
updateScrollbar();
newY = scroller._y;
yspeed = (newY-oldY)*0.50;
oldY = newY;
done = false;
} else if (!done) {
// here it adds the speed to the y position of the scroller
// then it asks if the speed is at a number that you can see it moving if it is then it decreases the speed by multiplying it by a decimal
oldypos = scroller._y;
newypos = oldypos+yspeed;
if (yspeed<-0.2 || yspeed>0.2) {
yspeed *= friction;
} else {
yspeed = 0;
done = true;
}
// the next two if statements test if it hit the top or bottom if it had it makes the speed negative to what it is so itll change its direction - neat bounce effect to it
if (newypos<top) {
yspeed = -1*yspeed*friction;
newypos = top;
}
if (newypos>bottom) {
yspeed = -1*yspeed*friction;
newypos = bottom;
}
// here we set the scrollers y position to newyposition (the variable we are adding the speed to)
// it then sets the mc to whereever the scroller is
// then its going to keep on doing this enterFrame business untill speed has reduced itself to 0
scroller._y = newypos;
updateScrollbar();
}
}

Auto Scrolling Dynamic Text From External Text File
Hi guys,

I'm loading a text file into a dynamic text box using LoadVars, and I've got it to scroll using this code:


Code:
var myInterval = setInterval(scrollUp, 500);
function scrollUp() {
_root.text_mc.textbox.scroll += 1;
}
...but there are two problems. One, the client says it's too jerky (as it's doing it a line at a time, rather than a smooth scroll), and two, the client would like it to be like a news scroller, meaning it automatically scrolls to the bottom of the text, and then the start of the text appears underneath and keeps scrolling continuously. I hope I've explained myself reasonably well!

If someone could help me out with these two things, I'd really appreciate it - cheers!

Boog

Scrolling Text Horizontal In A Dynamic Text. Single Line
hi,

im trying to scroll text when it is to big for a single line dynamic text box.

i have searched and searched and found nothing..

hopeing someone can help me please..

Auto Scrolling Dynamic Text From External Text File
Hi guys,

I'm loading a text file into a dynamic text box using LoadVars, and I've got it to scroll using this code:


Code:

var myInterval = setInterval(scrollUp, 500);
function scrollUp() {
_root.text_mc.textbox.scroll += 1;
}
...but there are two problems. One, the client says it's too jerky (as it's doing it a line at a time, rather than a smooth scroll), and two, the client would like it to be like a news scroller, meaning it automatically scrolls to the bottom of the text, and then the start of the text appears underneath and keeps scrolling continuously. I hope I've explained myself reasonably well!

If someone could help me out with these two things, I'd really appreciate it - cheers!

Boog

Full Justify Text Property In Scrolling Text Field
Does anyone know how to set the full justify property in a scrolling text field? I have everything formatted, but I just don't see any way to get the full justify formatting applied to the text...

Scrolling Text - Doesn't Scroll Using External Text
Okay, this is something I've got around using some fairly complex coding from these boards before, but I'm wondering if there's a much easier way.

I have a dynamic text box named "mainText", and am using buttons to scroll up or down with the following AS:

on (rollover, dragOver) {
_root.mainText.scroll -= 1; // change to += to go down
}

Now, this works fine if the txt is placed in the actual text box, but if I load external text it does not scroll.

Is there a simple way around this?

Cheers
Dave

Loading Text From Text File And Then Scrolling It Using Components?
Helloo.

Can anyone please help me.

I want to dynamicaly load text into flash, probably from a txt file. Then I want to be able to set up my file so the text field is scrolable using the 'scrollbar' component.

Can anyone please help? Everytime I do it my text field wont scroll, even though I'm sure there is more text than can be seen?

Can anyone help with a .fla?


Cheers SHACK.

p.shackleton@brahm.com

Adding Hyperlinks To Text Inside Scrolling Text Box
I'd like to add a few links to the text inside a scrolling text box. Any help would be greatly appreciated. Thanks!

[Edit Moved to Actionscript! -SJT ]

Dynamic Text In Smooth Scrolling Text Field
here's links to the files.
http://www.anicespot.com/test/
http://www.anicespot.com/test/easing...roller-01.html
http://www.anicespot.com/test/easing...croller-01.swf
http://www.anicespot.com/test/easing...croller-01.fla

here's the problem:
1) when I have FlashMX open and select 'test movie' the text loads but is visible outside of the text field. (see .fla file)
2) when I publish and view locally the html or .swf file directly from the folder everything works fine.
3) when I place all files in the root folder and view from the web nothing works.

so can anyone help me out here?
this really has me puzzled.
james

Scrolling Text - Reset Position To Top Of Text Pane?
I need some help with this scrolling thing - can I make it so when you click on a button, it resets the text to be back at the top of the text-pane? I have tried EVERTHING, and it will seem to work, but if I press the up or down arrows, and THEN press the button to reset the position, it goes all wacko. Can someone help?

www.flashkit.com/jump.php?ID=4804&type=movies


Thank you so much!


Heather

Input Text To Scrolling Dynamic Text Field - Help
Greetings all:

I am attempting (with little success) to come up with a way to do the following:

1. Have user type input into an input field and have it display in another dynamic text field - Got that done.

2. I would like the display text field to scroll automatically across the screen (to the left). I can get it to scroll once user hits enter key, but no luck with the continuous scroll and still have the ability to add words to the field.

My code is below which works in so far as it goes, it scrolls up one word at a time. I am using Flash Mx and any help would be greatly appreciated.

Thanks in advance...




button_two.onPress = function() {
word();
rootup();
}




//show.text=_root.input.text

function word() {
show.text=_root.input.text
input.text=""
thing.gotoandstop(2);
example2.push(show.text);
preview2 = example2.join("<br>");
}
function rootup() {
_root.up = true;
scroll_words();
}
function scroll_words() {
if (_root.up) {
_root.preview2.scroll += 1;
}
else if (_root.down) {
_root.preview2.scroll -= 1;
}
}

How To Change Scrolling Text After A Few Seconds To Different Text And Then Back
Hi!

I have a scrolling text area in my flash app that needs to provide some user feedback when a person clicks or does something.

I'd like it to display the user feedback for say 5 seconds when a button is clicked and then go back to scrolling the original message. I'd like to do this directly in actionscript code.

Is there a good way to do this directly in actionscript? Conceptually, I'd like my function to change the text, then have actionscript wait/pause for 5 secs and then change it back to the original text.

I thought this would be easy, but OMFG! It's not. =) Any help is much appreciated. I've tried setInterval and setTimeout, but with no joy so far. In fact I tried them alot, being stubborn so I must be doing something wrong.

Thx ahead for any snippets or pointers,

-C

Scrolling Text Have A Limit On Amount Of Text It Can Scroll?
Hi all,

I've created a dynamic scrolling text field with two buttons up and down. It seems to work fine except that it won't scroll the entire document. It gets about half way and just stops and won't let you scroll any further. I can't figure this one out and I can't seem to find any info on any forum. The file was created in text edit and doesn't have any funky characters in it and the down button code is:
on (release) {
biosText.scroll+=5;
}

the text code is:
stop();
loadVariables("biosText.txt", this);

Thanks

Scrolling Text Have A Limit On Amount Of Text It Can Scroll?
Hi all,

I've created a dynamic scrolling text field with two buttons up and down. It seems to work fine except that it won't scroll the entire document. It gets about half way and just stops and won't let you scroll any further. I can't figure this one out and I can't seem to find any info on any forum. The file was created in text edit and doesn't have any funky characters in it and the down button code is:
on (release) {
biosText.scroll+=5;
}

the text code is:
stop();
loadVariables("biosText.txt", this);

Thanks

Scrolling Text Have A Limit On Amount Of Text It Can Scroll?
Hi all,

I've created a dynamic scrolling text field with two buttons up and down. It seems to work fine except that it won't scroll the entire document. It gets about half way and just stops and won't let you scroll any further. I can't figure this one out and I can't seem to find any info on any forum. The file was created in text edit and doesn't have any funky characters in it and the down button code is:
on (release) {
biosText.scroll+=5;
}

the text code is:
stop();
loadVariables("biosText.txt", this);

Thanks

Scrolling Text Have A Limit On Amount Of Text It Can Scroll?
Hi all,

I've created a dynamic scrolling text field with two buttons up and down. It seems to work fine except that it won't scroll the entire document. It gets about half way and just stops and won't let you scroll any further. I can't figure this one out and I can't seem to find any info on any forum. The file was created in text edit and doesn't have any funky characters in it and the down button code is:
on (release) {
biosText.scroll+=5;
}

the text code is:
stop();
loadVariables("biosText.txt", this);

Thanks

Load External Text Into Scrolling Text Frame?
Hi, it's my first post! I just did the Kirupa tutorials on using css styles in flash - perfect! I am having trouble applying it to my flash file though. Probably because I'm using a scrolling text layer to fit a thousand words or so.

This is based on actionscript.org script for scrolling text layers (I believe it was this one I used.
The button calls an .as file

#include "about.as"

which contains all the script for scrolling the chosen text file in your assigned text box. All I want to do is tell the chosen text file to use my actionscript

<http://www.magma.ie/client/flashprospectus/flash.css>

So do I have to add something in the .as file, or in my flash doc itself? What and where do I put it?

Many thanks

ps. Here are the related files:
flash moviekirupa load css

Multiple Scrolling Text Boxes From Text Files
Hello!
I have been trying to solve this problem long enough and need some help.
I am creating this in Flash 8.
I want to have a text area that has scrolling text. The text is brought in from a text file (one ending in .txt). Yes, there are a zillion tutorials that detail the steps. In fact, I have it working. The example that worked for me was one in which the scroll component was used and some action scripting. Works perfectly.
But not one that gives me a clue what to do if I want multiple text boxes using various external text files.
I have the timeline with the cells set-up so each cell is a new page (there is a script stop; to accomplish this along with keyframes).The idea is to navigate to a keyframe and it appears as if it is a new page. A box with a graphic in it changes, and a box for dynamic scrolling text exists. I got the first “page” with perfect scrolling text from an external text file.
Here’s the action script:
myVars = new LoadVars();
myVars.onLoad = function(){
textbox.text=this.Grun01;
};
myVars.load("scroll01.txt");

Now, if I do this same thing for the next page, all the pages stop working. The text files are different as are their first lines before the = signs. They are as such (in part):
File called scroll01.tx has a first line Grun01=
No html was used.
The text box’s properties were set to Dynamic, multipleline and an instance of textbox. The UIscrollBar instance was with parameters set to textbox.
I did the second text box (in the next cell) to load scroll02.txt, a first line of Grun02= and changed the action script to:
myVars = new LoadVars();
myVars.onLoad = function(){
textbox.text=this.Grun02;
};
myVars.load("scroll02.txt");
I also varied the text box’s properties to an instance of textbox02. The UIscrollBar instance was with parameters set to textbox02.
What do I need to do to be able to have each page with scrolling text loaded from an external file?
Thanks in advance,
Bill H.

Scrolling Text With Scrolling MC
Hey Guys,

I wonder if someone could give me some help with this problem as it's hurting my head!

I have some thumbnails set up which are pulled in by XML. I have up and down buttons which allows the users to scroll through the thumbs. I have just added a dynamic text box to the side which again uses xml to pull in the content. I now want it so that as well as the thumbs scrolling the text also scrolls at the same time. Here's the code I have:

function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
image = [];
description = [];
thumbnails = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
image[i] = xmlNode.childNodes[i].childNodes[0].firstChild.nodeValue;
description[i] = xmlNode.childNodes[i].childNodes[1].firstChild.nodeValue;
thumbnails[i] = xmlNode.childNodes[i].childNodes[2].firstChild.nodeValue;
thumbnails_fn(i);
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
/////////////////////////////////////
listen = new Object();
listen.onKeyDown = function() {
if (Key.getCode() == Key.UP) {
prevImage();
} else if (Key.getCode() == Key.DOWN) {
nextImage();
}
};
Key.addListener(listen);
previous_btn.onRelease = function() {
prevImage();
};
next_btn.onRelease = function() {
nextImage();
};
/////////////////////////////////////
p = 0;
this.onEnterFrame = function() {
filesize = picture.getBytesTotal();
loaded = picture.getBytesLoaded();
preloader._visible = true;
if (loaded != filesize) {
preloader.preload_bar._xscale = 100*loaded/filesize;
} else {
preloader._visible = false;
if (picture._alpha<100) {
picture._alpha += 10;
}
}
};
function nextImage() {
if (p<(total-1)) {
p++;
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
}
function prevImage() {
if (p>0) {
p--;
picture._alpha = 0;
picture.loadMovie(image[p], 1);
desc_txt.text = description[p];
picture_num();
}
}
function firstImage() {
if (loaded == filesize) {
picture._alpha = 0;
picture.loadMovie(image[0], 1);
desc_txt.text = description[0];
picture_num();
}
}
function picture_num() {
current_pos = p+1;
pos_txt.text = current_pos+" / "+total;
}
function thumbNailScroller() {
// thumbnail code!
this.createEmptyMovieClip("tscroller", 1000);
scroll_speed = 10;
tscroller.onEnterFrame = function() {
if ((_root._xmouse>=thumbnail_mc._x) && (_root._xmouse<=thumbnail_mc._x+thumbnail_mc._widt h)) {
if ((_root._ymouse>=(hit_right._y-40)) && (thumbnail_mc.hitTest(hit_right))) {
thumbnail_mc._y -= scroll_speed;
} else if ((_root._ymouse<=(hit_left._y+40)) && (thumbnail_mc.hitTest(hit_left))) {
thumbnail_mc._y += scroll_speed;
}
} else {
delete tscroller.onEnterFrame;
}
};
}
function thumbnails_fn(k) {
thumbnail_mc.createEmptyMovieClip("t"+k, thumbnail_mc.getNextHighestDepth());
tlistener = new Object();
tlistener.onLoadInit = function(target_mc) {
target_mc._y =(target_mc._height+5)*k;
//trace(target_mc._width+" "+target_mc._parent._rotation)
target_mc.pictureValue = k;
target_mc.onRelease = function() {
p = this.pictureValue-1;
nextImage();
};
target_mc.onRollOver = function() {
this._alpha = 50;
thumbNailScroller();
};
target_mc.onRollOut = function() {
this._alpha = 100;
};
};
image_mcl = new MovieClipLoader();
image_mcl.addListener(tlistener);
image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);
}


//init TextArea component
myText.html = true;
myText.wordWrap = true;
myText.multiline = true;
myText.label.condenseWhite=true;
/******************************/
//load css
kungFuStyle = new TextField.StyleSheet();
kungFuStyle.load("kungfu.css");
myText.styleSheet = kungFuStyle;
/******************************/
//load in XML
kungFuContent = new XML();
kungFuContent.ignoreWhite = true;
kungFuContent.load("kungfu.xml");
kungFuContent.onLoad = function(success)
{
if(success)
{
myText.text = kungFuContent;
}
}


Thanks

Shell

HOW?-- Text Link In A Scrolling Text Field
If you go to http://www.geneed.com, you can see an example of what I'm talking about. From the homepage, click the link "Molecular Biology" on the right side of the screen. In the movie, I'd like to replicate what is being done in the box called "CONTENTS"--I have the scrolling down, but how do I turn the text into links? Anyone? Anyone? Help? [I have Flash 4]
[Edited by meepmeep on 06-15-2001 at 09:42 AM]

HOW?-- Text Link In A Scrolling Text Field
If you go to http://www.geneed.com, you can see an example of what I'm talking about. From the homepage, click the link "Molecular Biology" on the right side of the screen. In the movie, I'd like to replicate what is being done in the box called "CONTENTS"--I have the scrolling down, but how do I turn the text into links? Anyone? I recently downloaded Flash 5, so the specific steps to walk through this would be extremely helpful, as I'm not quite sure what-the-world I'm doing when it comes to the new Flash format.

Scrolling Text Box Scales Text (Flash 5)
We have created a scrolling text box that pulls text from an external .txt document. I have been through many detailed tutorials (which have helped out greatly) and have everything working properly except that when the text box is at the size we want it (W:318, H:221) the text is scaled down (to microscopic levels) to fit within that text box. If I scale the text box to a much smaller height (like W:318, H:36) then the text holds on to the attributes set to it (_sans font, size: 10) and the scrolling variables are applied and everything works like a charm. Tried everyhting I can think of and a project deadline is creeping fast. Any ideas as to how we can make that text box hold the font size while at the larger deminsion would be greatly appreciated.

Icky Jaggy Text In My Scrolling Text Box... Help Me Fix?
In my scrolling text box, I've called information from an external text file. Everything works fine but the text inside of the box is all jaggy and nasty compared to the text I made specifically in Flash. Is there anyway to fix this or am I just gonna have to bust my copy of Flash 5 in the eye?

Thanks

Mitch

Scrolling Text Over Dynamic Text Field?
hi everyone.

i have created a dynamic text field and it is getting data from the server. every 5 seconds or so that data gets updated and more and more data gets displayed onto the dynamic text field until it doesn't fit. can anyone tell me of a way to make my text (data) scroll vertically up my dynamic text field? in a loop format i mean.

it should be something like stock symbol.

thankx alot.

Dynamic Text Boxes And Scrolling Text....
Ive been trying to get my brians around sorting this out and im getting there really slowly but im still stuck with two problems. Im using this code to link with text to another web site from a dynamic text box. Heres the code:

<a href="http://www.henrymiller.org/"><font color="#999999">(www.henrymiller.org)</font></a>

Now what i cant seem to work out is how can i have it so that just that text in a paragraph is underlined. Now the second problem is i want it to open the link in a new window so it doesnt lead u away from the main site is this possible also and if so how would i go about doing that ?? I need to work this out as the site im doing is late due to lack off contact with my client and i just wanna get it sorted and out off my way. Any help would be mostly appreciated.

Thanks
Mental

Formating Text In Scrolling Text Field
I'm using a basic scrolling text box, in Flash MX, not using the scrolling component. I'm loading the text through a variable. Below is my code. I'm looking for a way to format the text in the text box. Eg. paragraph breaks, line breaks, and am having trouble getting the trademark symbol (TM) to show up in the text even though it is in the code. I've chosen to embed all fonts (need to use Gill Sans). I don't want to fomat it in html. Any direction on how to accomplish this?

onClipEvent (load) {
logoTextBox = ("This is the location of the text I'm trying to format");
}

onClipEvent (enterFrame) {
if (scrolling == "up") {
logoTextBox.scroll--;
}
if (scrolling == "down") {
logoTextBox.scroll++;
}
}

External Text Loaded Into A Scrolling Text Box?
hi,

I am working on a way to load text from an external txt file into a dynamic text box. The text box holds about 30 lines of text. At times I may change the txt file's content to included several more lines of text.


I plan to apply a scrolling effect to the text box. Is there a way to tell flash to stop scrolling once the last line of text is visible? (to avoid allowing the user to scroll to infinity)

Also, Is there a way to tell flash to show scroll buttons I create only if the number of characters extend beyond the capacity of the text box?

cheers!
jen

Scrolling Text: From Text File With HREFs
Greetings,

I have a script that will let me import a plain-ole text file into a window within an swf. The text file then scrolls. For my next trick, I should like to attach URL's to some of the text so when it scrolls, the user can click on a link and go the URL.

RESTRICTIONS:
1. It needs to be a ".txt" file becuase I would like it in it's easiest form for editing. So someone who knows nothing about html editors can make simple edits.

2. Although I'm a senior member on this site, I'm a neophyte when it comes to Actionscripting so assume I know nothing. I tell you that now so I hopefully save you time having to explain things to me 5 times when I'm trying to understand what you're writing when if I had told you from the beginning, you'd be able to focus your writing a different way. Does that make sense?

SAMPLE:
You can see the scroll I'm trying to add the hypertext links to at:
http://www.edpead.com go through the intro movie page and you'll see it on the next page that opens on the right side next to the word "HEADLINES".

Mark

Dynamic Text Scrolling With Text Field
Hello,
I've created a textbox that's getting dynamic text, I've got a font size set, but I notice if I change the dimensions of the field, the font size scales as well.
I'd like to be able to change the dimensions of the field in the prop. inspector without scaling the actual text size. What am I missing here?

Thanks,
Z

Several Text Styles In One Scrolling Text Clip.
Alright...

Question. Why is it that when I create a dynamic scrolling text box, I'm not allowed to use more than one font style? I tried applying a different font in one part of the body of text i was working on and when I preview the file, the part I changed remains in the same font as the rest of the clip.

So...basically...is there any way to have more than one text style in a dynamic scrolling text box?

Scrolling Text And Text Field Width
hi, i'm using flash 8 and one of the aspects in a project that i am working on now is scrolling text like what you would see at the bottom of a news broadcast. i have no problems getting the the text to scroll and repeat properly, my only problem is that i need to do this a number of times per project which i do once a month and because each bit of scrolling text is a different length i need to recalculate the math in order for the text to loop properly. what i would like to do is be able to input the text into the dynamic text field via...
textfield_txt.text = "blah blah blah";
and have flash size the text field for me. than i could do all my calculations based on the width of the field without manually inputing the text, sizing the field and doing the math myself.

so is it possible for flash to create a text field and size it automatically? sorry for the long question but i thought it would help if i explained what i was doing.

thanks
jeremy boyd

Scrolling Text Box References Wrong Text
I've created two scrolling text boxes on two different layers in MX, using the pre-fab scrolling text box/code that came in the assets library. The boxes are the same, except for the text in them.

The box works great on layer one. Scroll bar works fine. In the authoring environment, the box on layer 2 looks fine, but when I go into "test movie" mode to test its functionality, it is referencing the text from the box on layer 1. In the .fla, the text is correct, but in the .swf, it references the text from the original box.

Can anyone tell me why this is happening and/or how to correct it to reference the right text? Thanks-

Text Is Scrolling Down 1 Line Even Though The Text Is Showing
Hello, This problem occur all the time when I'm working in flex and got a selectable text.

Lets say I make a 10 line text and make it selectable, if I now select line 10 and press the down key the text will jump down one line and the first line will be hidden. The same thing will happen when I select the text and pull the mouse down below the text..
I remember having the same problem in actionscript 2 like half a year ago but I cant remember how I solved it.

Anyone got an idea?

Scrolling Text Inside Text Fields?
Hi, i work in a technology company and require if it possible to have scrolling text animate within a text field. So you would'nt actualy animate the field itself only the text would scroll up like movie credits then repeat itself on a loop inside. Also the text that will be going in will be external and is dynamic, so you could get 1 result going in, but then 4 at another time depending on the results.

So idealy it would all be in one frame and be much like a component?

Thanks

A Question About Html Text In A Scrolling Text Box
I have a scrolling text box im inserting some html into

problem is some of the links require a js popup window to launch.

IE: onClick="return openWin('/privacy/privacy.jsp', 'privacy_policy', 550, 450, 'yes');">


So i have a js file referenced in my main page that holds the flash app with the openWin function, but can i call it through html embedded in a scrolling text box? Can i include a <head> tag and src the js in it?

thanks
mcm

Loaded Text Anyway Of Text Scrolling Without Using Scroll Bar?
Hi All
Im only new-Was onto the tute about scrolling dynamically loaded text-
Its great got it working!I was wondering if there is any way of allowing the text to scroll automatically upwards as the info in the news box will be small so the clients want it to be constant eg"Dont forget halloween...Dont forget "etc scrolling upwards
they want to update the news box themselves
Thanks in advance!
L

Changing Text Properties Of Scrolling Text Box
Hi,

I need some help.  I have a scrolling text box, however when i scroll down i want the last line of text in the box to change color to make an cool effect.  However, I can't think of how to do this in actionscript.  does anybody know how i might do this?
thanks for your help

jim

Load External Text Into Scrolling Text Box?
I'm wanting to have a text box that loads text from a .txt file I have on my website and once that's loaded, be able to scroll without having to use the filename.scroll += 1; I'm wanting it to glide and this creates that jumpy every time you press, release, rollon.. etc.
         any help would be much appreciated.
            dfmsguitar

Scrolling Text, Editing The Text Variable
I've downloaded a scrolling text example from Moock.org. I've attached it. Does anyone know how you edit the text variable (this is the text that is influenced by the scrollbar?

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