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




How To Make Text Scroll Smoother



Can anyone help me make my dynamic text box scroll smoother? My Flash document is set at 30fps and I use the 'onEnterFrame' method so surely the text should scroll smoothly?! My movie is at http://www.joesmalley.com/news/news.html and the source is at http://www.joesmalley.com/news/news.flaOr is it because of the text length that's jerking the scrolling?



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 09-29-2005, 10:18 AM


View Complete Forum Thread with Replies

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

Text Scroller Download Can You Make Smoother Scrol
If I give you this text scroller download can you make it scroll smoother? Thats the challenge I havent seen one roll smoothe yet. Can you apply some code to make it scrol in small pixel amounts and speed as well? So that it rolls up or down the screen the same as movie words scrol on the TV screen?

http://www.geocities.com/jaffasoft2/texscroller.fla

Smoother, Slower Scroll
Howdy!

I have written a code which affects an image due to the position of the cursor.

It is working fine and has the effect I originally designed. However, after looking at it time and time again I now which to make me movement slower and smoother.

This is my code:


PHP Code:




var scaleFactorX:Number = pic._width/Stage.width;
var scaleFactory:Number = pic._height/Stage.height;
function handleMovement() {
    pic._x = (_xmouse*-(scaleFactorX-1));
    pic._y = (_ymouse*-(scaleFactory-1));
    updateAfterEvent();
}
onMouseMove = handleMovement







Does anyone have any ideas?

Many thanks

Smoother Scroll? See Attached File...
I am having trouble getting a smooth scroll using a draggable scroll bar. I am assuming that there is just too much text to do this smoothly, but any suggestions would be appreciated. Right now the effect is too choppy (at least on the Mac) to make it usable.

Here is my scroll code


Code:
storyload = new LoadVars();
storyload.load("menu2/12_dogs_story.txt");
storyload.onData = loadTextBox;

function loadTextBox(raw){
textscrollholder_mc.thetext_mc.textbox_txt.text = raw;
textscrollholder_mc.movie_slider_mc.dog_paw_mc._y = -125;
textscrollholder_mc.thetext_mc.textbox_txt.autoSize = "left";
_root.constantRatioH = (textscrollholder_mc.thetext_mc._height - textscrollholder_mc.textmask_mc._height)/330;
_root.offset = - (-125*_root.constantRatioH);
}

this.textscrollholder_mc.movie_slider_mc.dog_paw_mc.onPress = function(){
this.startDrag(false,this._x,-125,this._x,205);
}

this.textscrollholder_mc.movie_slider_mc.dog_paw_mc.onRelease = function(){
stopDrag();
}

//the scroll function
this.textscrollholder_mc.thetext_mc.onEnterFrame = function(){
this._y = -(_root.constantRatioH * this._parent.movie_slider_mc.dog_paw_mc._y) - _root.offset;
}
I have also attached a sample file of the the project.

I have yet to figure out the best offset calculation, but that is the least of my problems. Is there another way to do this to get a smoother result?

Thanks for the help.

Kevin

Advice To Make Smoother.
I just want to say that I know that the site isn't much to look at right now, basically put something up just to convey info for the time being untill I learn this program better. I wanted some opinions on how I could get the "transit" I have on the page to be smoother. Didn't know if there was a way that I could motion/shape tween a graphic symbol like this or not.

www.bndpa.com

Thanks for any help

Make The Browser Scroll Bar Scroll A Flash Text Box?
Is there anyway that javascript can detect when and which scroll bar button is clicked? I want to use javascript to make the browser scrollbar scroll a flash textbox.

Does A Pre-loader Make Your Site Run Smoother?
Does a pre-loader make your site run faster/smoother?

Make Flash Site Run Smoother?
I was just wondering is there a way to make my flash website run smoother. If you look at the demo here:
http://www.hazardforum.co.uk/test

You can see its a little jumpy.

Is there anyway I can make it run alot smoother?

Thanks ;)

How To Make Smoother Animations In Flash
I am noticing that some animations can get jaggedy in Flash. How do you make it smoother, is it increasing the frame rate setting for the movie or some other settings?

What Can I Do To Make My Site Load Quicker And Smoother?
heres my site made with FlashMX
http://www.prologicaudiovisual.com
thanks!
K.

Could Someone PLEASE Tell Me How To Make This Text Scroll?
i've tried a million different things on my own, and sought help here with no luck.... PLEASE, can someone tell me how to make this text pane scroll??.... and i can't use external txt files.

i pulled the nec. essential elements from my original file and created a new sample file that is attached. i just need the text that displays in the "info" panel to scroll so the user can read all info contained.

PLEASE help......this is driving me absolutely crazy!!

thanks in advance

Can't Make Text Scroll
I'm something of a beginner to Actionscript, so I followed EXACTLY the directions in Learning ActionScript 2.0 in Adobe Flash to create scrollling text areas in my Flash site. The text does not scroll at all, and, on one of the pages, only one line of the text is showing up. Can someone help, please?

How Do I Make Text Scroll
Hi,
I want to create scrolling text similar to this website: http://www.christianlouboutin.fr/
If you enter the english site and then click on 'biography' which is the photo frame you will see what I want to achieve.
There's a slider on the right hand side which you can move down or up to view the text. It seems realy smooth and just glides - if you get what I mean.

Can anyone point me in the right direction. Maybe a website with a tutorial for idiots or even book that I can go out and buy with really good examples on how to acheive this.

Any help/advice greatly appreciated.

Many thanks in advance

Michael

Make A Text Scroll Work...
how can i make a text scroll work in a swf file loaded in another swf file...for example i have the index.swf, and the text.swf , this last have a text scroll,and i want the text.swf loads into the index.swf.with all working well.

How D U Make Text Scroll Along The Footer?
eg. say the word "wrighteous"

first the "w" would appear then the "r", the "i" and so on.

Make Text Scroll In A Circle
how do you do this? Anyone know of a thread i can check out that explains how to use a circle as a guide for text to follow.

Here's what i'm trying to accomplish. I'd like to create a simple looking interface over a jpg.

to better illustrate this here's a link of what the interface would look like:

http://ianleelucero.com/sampleflash/followthecup.jpg

so according to the picture the text would come out in a switch blade kind of fashion.

sound simple enough? i will keep trying on my part to make this work. and thanks for any responses.

ian

Make Text Scroll Automatically?
I need to make this flash text scroll automatically. It calls on a txt file, but they want it to scroll automatically, and stop scrolling when the mouse is over it. can anyone help me?

viewable here at the left side

http://lakewood.teamcreate.com/dev/featuredhomes.htm

fla downloadable here

http://lakewood.teamcreate.com/dev/leftside_list.fla

[MX] How To Make Scroll Bar Text Fade In
Hello,

I'm trying to figure out how to make a text box with a scroll bar that fades in. I've figured out how to have text that fades in (I just converted it to a button...that might be cheating), and I've figured out how to make scrolling text (but I can't figure out how to make a scroll bar). But I can't get scrolling text with a scroll bar to fade in.

Here's what I've got so far:

www.carr-toons.net

I'm trying to do my bio section like my publications section, if you're not exactly sure what the heck I'm talking about.

Thanks in advance! I'm sure I'll be back when I finally get around to doing the gallery.

PS- I should probably mention that I'm on a mac.

Can't Seem To Make A Simple Scroll Text...
Hi,

I'm trying to do a simple scroll text in Flash, but with or without components it doesn't work. The idea is to have a scroll text that will change according to the menu item that is pressed. Ok, I made a movie clip that has a dinamic text and 2 buttons - I adapted this from a fla file. The text is to be imported from a txt file. So, in the main scene ( where the effects are, etc. ) I placed the movie in a new layer. In another layer, called actions, I wrote the code:


Code:
loadVariablesNum("intro.txt", 0);
I test the movie and although the text area has the ID name of the variable in the intro.txt, nothing happens.

In another try, I used the ScrollBar component. That worked; only, when it reached the end of the timeline ( at least I think that's the reason ), the Scrollbar would return to the initial state as for the text...

I'm really a newbie in Flash - even if the effects I was able to create surprised myself. I think my problem is not understanding movie clips and timelines ( as for scenes ).

Please, can someone help me out?

Kind regards,

Kepler

How To Make A Scroll Bar That Not Only Holding Text ?
I know how to make a scroll Bar for a box of text, but now i want to make a scroll Bar that is for a big box of information, pictures and text (just like the window[screen] 's scroll Bar, the one always on your right hand side of your screen) Can somebody help me plz !!! (i m making it for a flash website !!!)

Thank you !!!!

by Ryan...

How Do You Make Dynamically Loaded Text Scroll?
How do you make dynamically loaded Text scrollable? I tried it to load text into a dynamic text box and add a scroll component but that don't work. Any Ideas?

Make Text Scroll While Mouse Pressed
Hi all,
I couldn't find anything in this issue,
I'm trying to get my text filed to scroll the text while the mouse button is pressed,
instead of pressing it one time after another.

I want it to be control like a normal scroll like in the system (Windows/OSX)

i did the part of reduce and increase the text.scroll to +1 and -1 and the text is moving good but like i just said i want it to scroll all the way up or down until the mouse button release.

I've tried if() and while() and i get errors all the time.
i hope someone can help me on this

Thanks!
Macpire

P.S I'm on MX2004

How Do You Make Text Change Color As You Scroll Over It?
For example on www.drakebell.com there they have his name and as you scroll over it, it changes. Does anyone know how to do that on FLASH?? if you can please email me at argh_imma_pirate@yahoo.com ASAP! thanks! =]

How Do You Make Text Change Color As You Scroll Over It?
For example on www.drakebell.com there they have his name and as you scroll over it, it changes. Does anyone know how to do that on FLASH?? if you can please email me at argh_imma_pirate@yahoo.com ASAP! thanks! =]

Smoother Text Movement
Hi everybody,

I have a small question. I made a site sometime ago - Sookerating. If you visit the site you will small phrases of text scrolling about on the top of the page. The entire sequence runs on AS. You will also notice that the text movement is choppy. Is there a way I could achieve the same effect...only in much smoother way. I thing the text is not anti-aliased too which is giving the letters a crude effect.

Any suggestions anyone?

Thanks in advance guys.

Make Text Auto Scroll + Blur In Same Top & Bottom
Dear all,

How can I make text field auto scroll and blur in top and bottom.

like thisclick here

it's in bottom right.

Thank.
Best regard,

Smoother Text For Datagrid Component
Is it possible to use smoother text, perhaps with the antiAliasType -> normal or advance feature for flash 8?
I tried to use this technique in several ways, i.e....

my_dg.setStyle("antiAliasType", "advanced");
or
my_dg.getColumnAt(0).setStyle("antiAliasType", "normal");
or
myTextField_txt.antiAliasType = "advanced";

and none of them work. please help - thanks :)

I Found A Great MC Scrollbar, Now Help Me Make It Scroll Dynamic Text Too.
I found this great draggable scrollbar that scrolled an MC. It works like a charm and is very snazzy. What I would like to do is have the same daggable scrollbar on my dynamic text fields. Is this possible, and if so, what in the script below would I have to change??

The way I have my dynamic text fields is a very simple:code: loadVariables("bla.txt", ""); Then have the texfield have a var. called 'text' and then have the actual .txt file start with text=blablabla

Anyway, here's the script for the draggable scrollbar:
code: fscommand("allowscale", "false");
bar.useHandCursor = dragger.useHandCursor=true;
space = 50;
friction = 10;
speed = 10;
y = dragger._y;
top = main._y;
bottom = main._y+mask_mc._height-main._height-space;
dragger.onPress = function() {
drag = true;
this.startDrag(false, this._x, this._parent.y, this._x, this._parent.y+this._parent.bar._height-this._height);
dragger.scrollEase();
};
dragger.onMouseUp = function() {
this.stopDrag();
drag = false;
};
bar.onPress = function() {
drag = true;
if (this._parent._ymouse>this._y+this._height-this._parent.dragger._height) {
this._parent.dragger._y = this._parent._ymouse;
this._parent.dragger._y = this._y+this._height-this._parent.dragger._height;
} else {
this._parent.dragger._y = this._parent._ymouse;
}
dragger.scrollEase();
};
bar.onMouseUp = function() {
drag = false;
};
moveDragger = function (d) {
if ((dragger._y>=y+bar._height-dragger._height && d == 1) || (dragger._y<=y && d == -1)) {
clearInterval(myInterval);
} else {
dragger._y += d;
dragger.scrollEase();
updateAfterEvent();
}
};
up_btn.onPress = function() {
myInterval = setInterval(moveDragger, 5, -1);
};
down_btn.onPress = function() {
myInterval = setInterval(moveDragger, 5, 1);
};
up_btn.onMouseUp = down_btn.onMouseUp=function () {
clearInterval(myInterval);
};
MovieClip.prototype.scrollEase = function() {
this.onEnterFrame = function() {
if (Math.abs(dy) == 0 && drag == false) {
delete this.onEnterFrame;
}
r = (this._y-y)/(bar._height-this._height);
dy = Math.round((((top-(top-bottom)*r)-main._y)/speed)*friction);
main._y += dy;
};
};

There were up/down arrows, but I removed those just to have the dragger and the bar.

Many thanx in advance...

Make Scrollbar Componet Not Visible If Text Length Less Than Scroll Pane
Need help how can i count text rows/length to check if less than scroll pane(dynamic text area). If less set property of scrollbar to false visibility?

THANX ALL..........

Scroll Bar Show Up If Needed And Only Scroll To Dynamic Text Input Bottom... HOW
I have attached a copy of my scroll bar that i am currently using how can i make the scroll bar not show up unless needed (really not all that important but would be nice.)

The important thing is that i can setup a dynamic text box inside my item_holder movie clip but my scroller always scrolls to the bottom of the scroll box not matter if inside my scroll box i have on line of text loaded dynamicly or i have 100. So if i have 1 line of text and a large dynamic text box the scroll bar will scroll to the bottom of the scroll box even though it only has one line. See attachment and see if anyone can help. Thanks in advance. Brian

Make A Movie Scroll In When One Button Is Clkd N Scroll Out When Another Is Clkd
ok heres the thing...

im fairly new to the whole flash thing, i can do the really basic stuff...

but theres one thing i cant get my head around...

on the site i am creating, i have a menu (6 buttons vertical)

on each button click it loads a different page...

i have the pages set to scroll in from the right in a movie...

what im wanting is that so when u click a different button (for a different page) it will scroll the page in view out again...and then sequencially scroll the page in question in...

(am i making any sense)

ive looked all across the forum and cant find anythign remotely relating to what im after...and also tutorials/user uploaded movies etc on this site and still nothing...

i know its possible because ive seen it done else where...

if anyone has any sites...or any example movies of what im talking about please could i see them...im in serious desperation here :S

Thanks...

Goa

Scroll Text > Button > Load Txt File > Reset Scroll Bar...?
Hi i am looking for a tutorial or an explanation of how you can load an external text file into a text field and have...let's say 3 buttons that load the .txt files...when they are loaded...i want the scroll bar to be reset to the top of the text field/box....

any help...welcome...

ta...tiger...

Linking Text Buttons In Scroll To Image Outside Scroll Area
Hi,
I am desperately hitting my head against a brick wall - so please help me!

I have created a flash area that is divided up with an image on top and a scroll area under.

I am trying to get the text buttons in the scroll area to each change the image above and cant seem to get it to work because of the masking.

I have tried heaps and heaps of different ways and am going crazy!

PLEASE HELP ME!!!!


thanks,
kova

Text + Image Scroll Function With Scroll Bar. Help
Hi, tring to create a scrollable text window that can also include different text colours, styles, links and images. I have tried a few tutorials but they only seem to work with dynamic text without different colours, styles, links and images. is there an easier solution i can use..

Please help

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

Scroll Text With Image In Scroll Panel ? Help
Hi,

I m trying scroll pannnel to show image and dynamic text both in scroll panne but when i select dymanic text in text option it comes outer from scroll pannel but static text is coming.

I need help to show dynamic text also in scroll pannel.

Thanks

How Do You Make A Scroll Bar?
you know where website have text and to the right of the text box it has a scroll bar to scroll through it, how do you make those in flash? I'm sure it's easy but i cant figure it out!

Anyone Know How To Make A Scroll Box
ok

Does anyone know how to make a scroll box that is similar to an HTML scroll box which displays info. What is the actionscript that is needed to be inputted for it to appear.

Thanks in advance

How To Make A Scroll Bar
i need to know how to make a scroll bar in flash cs3! can anyone help me with this??

How Do I Make A Scroll Bar?
how do i make a scroll bar that can scroll images?

thnx for any help

Can Anybody Help Me To Make This Scroll..
i need a set of movieclips scrollable at a time..and they needs to keep up the padding b/w those movieclips..
can nybody help me with a nice solution?
thanx in advance..

im attaching the fla with this post...

How Do I Make A Scroll Bar?
how do i make a scroll bar that can scroll images?

thnx for any help

How Do I Make A Scroll Bar?
ie i have writin in a box but i got too much writing!

so i want to creat a scroll!!

helpp please

How Do I Make A Custom Scroll Bar
i want to be able to have a scroll bar (of my design and response) that scrolls through body text within a MC. is it as simple as embeding another MC with in my current (primary) movie-clip?
any suggestions would help.
\thanks
drew

HOW TO MAKE A SCROLL BAR IN FLASH?
Hi all!
I want to make a scroll bar in my flash screen. How can I do that??? Can any body help with the Code Snippet??? Its urgent
mAINA

Make Scroll Bar W/o Flash's
how would i do such a thing? and is there any way i can have a button and traget them to that scroll bar window..kinda liek i frames?

How To Make Movie Scroll
Hi,

How can i make my movie scroll, like we are doing it in our browser.
My movie makes a dublicateMovie command and run from _y=50
the next _y position is _y+=20; and so on until user press the button stop.
How can i make the scroll effect.

Thank you.

Eldar52

Can I Make The Right Scroll Bar Disappear?
I want ot get rid of the right scroll bar.
I found a lovely smooth scroller in the open source movies.
I use it and love it so publish my movies just under the size of the browser window so i do not need the browser's right or bottom scroll bars.
The bottom scroll bar disappears when not needed but the right scroll bar does not disappear. It stays there, only its blue bar disappears. This doesn't look that bad but it ruins the overall effect of my site. Can you help?

I Use flash mx and dreamweaver iv

N.B.
Maybe i could link to a swf from my index? This is the effect I want. i am left with only the top part of the browser but i have a problem with this.
If i link to it then try my flash link a window pops up asking me if i want to download the swf i am linking to.
I just want to go from page to page and back again using the back but if i use only swfs and load movie in actions the browser stays in the same movie.
Yours faithfully,
Christopher.

Can You Make Buttons Scroll?
Im trying to look for the most easiest way to scroll a list of pressable buttons. I cant figure out most of the UI compnents. I see the scrollbar, scrolls dynamic text and thats all I could see.

Check out my BGMP at my site...

http://www.geocities.com/royalrw

basically, when I get too much loops (buttons) to add, Im gonna have to either do something like "a next page" or a scroller...

hit me back with some ideas

Cheers

Want Help To Make Filmstrip Scroll
Dear Sir(s),

I would be much thankful to you if you could plzzzzzzzzzzz help me to make image scroller in a vertical filmstrip.

Thanks and have a good day.
Sajid

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