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




Coding Text: Making Text Scrollable



This may seem like a "n00b" question, but either I keep on forgetting or I was never told. How do you make text scrollable?



General Flash
Posted on: Mon Aug 14, 2006 3:08 pm


View Complete Forum Thread with Replies

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

Making Scrollable Text In Flash 4?
Hi, I'm not a newbie, cuz I'v emade tons of simple flash movies before, but Now I want to throw myself at making a flash website.
I got all the basics down, and I'm using Flash 5. Anyway, I don't know how to make a scrollable text box, and since that's 80% of the site, I'm lost. I checked out some of the tutorials, but found two for Flash 5. What I'm looking for is a textbox with two buttons for scrolling up and down. I found one that did that, but it didn't explain how to make the actual text box. I found another turorial that dealt with a textbox that only uses a scrollbar, but the info on making the actual textbox in that tutorial doesn't seem to work.

My proplem is that I have made the textbox according to the tutorials, and made the buttons according to the tutorials, nut when I test the movie, the text doesn't load in the text box.
What actions should I put in the textbox to make it work?

I tried the


Code:
On ClipEvent (load) {
LoadVariablesNum ("text.txt",0);
}


what am I missing, or what should I do differently?

Could someone please help?

Custom Scrollable Text Area - Help Making One
I am making a custom made scrollable text area in my flash app. I have custom graphics for the up and down arrows and a handle and slide track for the scroller. However, I am unaware of how to get this thing working in Flash exactly. Can anyone recommend a tut on this subject for me please? i would greatly appreciate the help. I am using Flash MX 2004 AS 2.0 if that helps

Thanks

I'm Creating A Website But I Have One Problem: I Need A Scrollable Text Box That Can Hold Pictures And Text Please Help?
I creating a flash website but i need a text box or something else that can hold text and pictures. Please help?

Setting Text In Scrollable Dynamic Text Field
This is not really a question, though maybe someone can explain this behaviour.

1. Create a dynamic text field
(instance name: yadda_txt; variable: yadda)
2. Drag a scrollbar component on it
(target textfield: yadda_txt)
3. Set text

Method 1:
yadda_txt.text = "some very very long text... etc... etc...";

Method 2:
yadda = "some very very long text... etc... etc...";

If you use method 1, the scrollbar will become active.
If you use method 2, the scrollbar will NOT become active.

Is it because the target textfield is yadda_txt?
Perhaps the scrollbar is listening to events on yadda_txt?

I'm actually wondering if the scrollbar really is disabled, because I can't enable it with setEnabled(true);
Unless the scrollbar checks yadda_txt which is still quite empty.

Anyone know how any good Flash books?

Dynamically Loading Text & Graphis Into Scrollable Text Box - Possible?
Hi,

Somebody wants me to design into a site a feature that will enable them to upload text & graphics into an section of their site.

I know you can use Macromedia's “Contribute” for a similar sort of thing, but i did'nt want to go to the expense of employing that. I would be able to load in simple text file with no problem but is it possible to load in both text & graphics into a scrollable text field?

Any help or tuts much appreciated.

Help Fix My Flash Scrollable Text. It Does Not Stop At The Start Or End Of The Text.
I have my scrollable text with up and down buttons. When I press the Up or Down buttons, it will keep going until there is no more text displayed and is just a blank screen. Can you please help and modify the flash so it knows when to stop.

Help appreciated.

Created This Scrollable Text But The Text Doesn't Stop And Just Keeps Going
Theres this tutorial on this site about builign a scrollable text,
http://www.flashadvisor.com/tutorial/Beginners/Building_Easy_Text_or_Images_Scrolling_with_Flash_MX_2004-21-4.html

I've built it, but when I use the arrow scrollbars, the text keeps on going and it also does it in reverse. Can't seem to work it like on the example. Could it be that I am using the latest Flash or is this action 2 script incompatible?

Does anyone know how to make it stop at the end of the text and not to be able to go backwards either.

Cant Get My Up And Down Btn On My Scrollable Text To Move Text In Increments
Finally fixed it.





























Edited: 10/17/2007 at 09:03:57 AM by bulbflash

Scrollable Text From A Text File In Flash 5
Hello

I would like to make some scrollable text using text from a .txt file. I dont really need an actual scrollbar, i just need the up and down buttons. I have looked at various tutorials and looked at other posts but am still confused. Most of the tutorials i've seen have been for Flash MX and I need one for Flash 5. Could anyone please explain to me how i could accomplish this but could you please explain in basic terms as I am quite new to flash and am already getting confused. Any help would be very much appreciated

Thank You

Scrollable Text
Please does anyone know where I can find a good tutorial on how to make scrollable text in a text window?

Thanks

Scrollable Text
Please, please , please can someone help me. Go to http://www.spineshank.com and check out there scrollable buttons. I NEED TO KNOW HOW TO DO THIS. I know there are plenty of scripts like that on this site but none where you can make the buttons link to a differant frame or scene (Wich is what i'm trying to do) Can anyone help?

Scrollable Text
I'm new to Flash MX and Flash in General. I know enough to get by to do the basic stuff. Now I am working with a scollable text....it'll scroll no problem...but I want to insert a scroll bar Vertically that is so I can have it as a visual for my customers who are looking at the text. My scrollable txt is my resume so...it's a scrollable text field now......any ideas how I can attach the bar to work with the scrollable textbox?

Scrollable Text Box
Created swf file w/dynamic text box & 2 scroll buttons up/down. Control/Test Movie works fine. Convert same to MC and text does not appear in box. Text box & scroll buttons are present & buttons work. Get no message that the text file could not be found or loaded. Have checked action script - it looks good. Text file is in same directory as swf and fla file. Any help would be appreciated.

Regards, Ron

Scrollable Text Box
Can anyone out there explain to me in a simple way how to make a scrollable text box? I just want something simple like a outlined text box with an up and down arrow button to scroll through the text. If anyone can, just send me a simple explanation on how to make something like that work. I have Flash MX.

Thanks!

Scrollable Text Please Help
Hi all-

I am using Flash 5 and want to make a scrollable text window, but I cannot find any examples or tut's on the subject (at least for Flash 5). Is this possible in Flash 5? If so, how do I accomplish this?

Thanks in advance,
Hank

Help Me With Scrollable Text
Hi, I have done this before but I am having a weird problem right now. I am using flash mx and whenever i make a static textbox and i write in it, it works fine but if i make it a dynamic textbox and put the bouneries around hte text the preview shows it ok but when i test the scene all the text is going sideways. waht i mean is that when you make a static textbox you have an option for the text to go all in one line or you can set bounderies for it to go on a new line. well all my text goes into one line no matter what i set it to. but that only happens when i select dynamic text.


Please help me

Scrollable Text
I have set everything with actionscript, but it still doesnt work
Does anyone know my problems?
Here is attached file

Scrollable Text - Im New At This
Hello - im brand new.

I need to create a scrollable text window in a flash movie, i've tried both the textfield and scrollpane components but neither will let me use formated text. For example, if I want to Bold only a section of my text it bolds the whole thing.

If anybody knows of a straightforward way to do this please reply

it's much appreciated

Scrollable Text
I have text and a scroll bar for this text.

I want to add color behind SOME of the text and have it scroll in the scroll area....can this be done and HOW?




thanx for any help

Using Scrollable Text Box
hi guys,
Um im trying to create a scrollable textbox, with a dynamic text box and a scroll bar, but it doens't to be working...

I have attached the .fla? any suggestions.. thanks in advance...

Using Scrollable Text Box
hi guys,
Um im trying to create a scrollable textbox, with a dynamic text box and a scroll bar, but it doens't to be working...

I have attached the .fla? any suggestions.. thanks in advance...

Scrollable Text
I'm trying to create a scrollable text block that can be controled by a top and bottom button. I have seen several versions of this online already, however I need to have the top button grey out or dissapear when the viewer is at the top of the text box. The bottom button doing the same - when the viewer scrolls down to the bottom of the text, the bottom button would grey out or dissapear. Thank you for you help. An example of what I currently have is at http://www.pacificmrktg.com/work/cradle/web
Click on the main image to cycle through

Scrollable Text Box
Yes I know..... BUT ITS NOT WORKING. I've looked at all the tutorials tried different ways, my scrollpane just wont work. Please HELP!!! I'm getting a blank white square when i test my movie. I made a MC containing my text... what do i have to do?? Please help, thanks

Scrollable Text
Hi i'm creating a website

www.itsremarkable.co.uk

and the client has asked for some changes for the scrollable text on some of the pages. they want the body copy to stay regular and the headings to be bold/or a different colour, every time i change to style of a section of the copy, the whole amount of text changes. i found a way to do this without changing the rest of the text, but it then stops being scrollable text. the text at them moment is input text option. I'm completely new to flash and put this bit of text flash from a tutorial, so if anybody could help i would be really greatful!!!

best regards, neil

Scrollable Text
I've made a dynamically loaded text field. I've check the scrollable text and the text is still over flowing outside the text box. can any one help.

Scrollable Text
Guys,

How do you make static text scrollable? I've tried using the scroll pane component but no joy.

I'm really stuck on this one and would really appreciate any help.

Regards,

Al.

Scrollable Text
Im basically looking for help on how id be able to make a scrollable text box similar to the one on this site. www.kill100.com

This works with a gradient I have noticed but i'm not sure on how the whole thing is put together. I will probably have the text fade out from the top and bottom and have a movable scroller like on the site.

Any help would be great.

RR

Scrollable Text...Help Me Create It
Hi everyone,
I know this is a rookie thing, but I don't know how to create buttons that will scroll text. Can anyone send me a sample? Or help me where i am stuck?

I know how to set the y property when a button is clicked, but I can't figure out how to make it so that when you keep clicking the button, the text keeps going upward. so far I can only get it to go up one time and after that, the button is useless. Any suggestions are appreciated. Thanks so much!

Scrollable Text In Flash MX
I'm trying to reuse a pair of scroll buttons in multiple places, so I'm using variables instead of just the particular instance name.

For example, on 1 button, I jump to a particular frame, and also have the action:
_root.currentepisode = _root.empty.season1.epi1
(_root.empty.season1.epi1 is the location of the scrollable text field)


Then, on the buttons that will control the scrolling, I have placed a movieclip in the Over state (so it will constantly scroll on the mouse over), with the actions
_root.currentepisode.scroll += 1 (currentepisode being the variable containing the text field I want to scroll.

This doesn't work. If I remove the variable on the button, and change it to
_root.empty.season1.epi1.scroll +=1
It works fine, but this would require me having 20 different scroll buttons (since I'm not placing the actions on the button, but on a movieclip WITHIN the button).

I have a feeling I'm making a simple mistake, possible with my syntax. I'd appreciate any help.

Thanks.

Scrollable Text With Button
i love the new scoll bar that comes with mx... its so easy question is there a way to make a button to link to an url inside the scrollable text? so the button scrolls with the text?

thanks in advance!

angel girl

Scrollable Text Problem
I'm using a scroller which scrolls text in a static text field. (works perfectly) The problem is that I need it to scroll dynamic text. - When I make the text box dynamic, the text dissapears.

Can anyone tell me what I need to do to the code to make it work?

Heres the code on the MC containing the text :


Code:

onClipEvent (enterFrame) {
var ypos = getProperty(_parent._parent.scroller.txtinfo, _y);
var txtht = getProperty(_parent._parent.scroller.txtinfo, _height);
var scrl = _parent._parent.scroller:txtboxy-txtht+100;
var totaldiff = _parent._parent.scroller:txtboxy-scrl;
// calculate value for the proportional movment of the sphere on the scrollbar
var promove = getProperty(_parent._parent.scroller.scrpath.pathsph, _height)*speed/totaldiff;
var ysph = _parent._parent.scroller.scrpath.sphere._y;
// Change the value of 'speed' to change the speed of scrolling.
var speed = 6;
// trace(ypos);
// trace (txtht);
// trace(scrl);
if (_parent._parent:move == 1 && ypos>=scrl) {
ypos = ypos-speed;
ysph = ysph+promove;
setProperty (_parent._parent.scroller.txtinfo, _y, ypos);
setProperty (_parent._parent.scroller.scrpath.sphere, _y, ysph);
}
if (_parent._parent:move == 2 && ypos<=_parent._parent.scroller:txtboxy) {
ypos = ypos+speed;
ysph = ysph-promove;
setProperty (_parent._parent.scroller.txtinfo, _y, ypos);
setProperty (_parent._parent.scroller.scrpath.sphere, _y, ysph);
}
}

{
heres the code on the timeline:


Code:
stop ();
var txtboxy = getProperty(_parent.scroller.txtinfo, _y);
var sphypos = getProperty(_parent.scroller.scrpath.sphere, _y);
//trace(sphypos);
and heres the code on the buttons to make it scroll up/down:


Code:
on (rollOver) {
_parent._parent.:move = 1;
}
on (rollOut) {
_parent._parent.:move = 0;
}
If anyone can help id be really grateful.

Scrollable Text & Mages...
I'm looking to make a scrollable window (I know how with text only) that has text and images (almost like a news paper page) but scrolls.

Can I use a .doc .html file (I've tried but can't seem to make it work)? It's just text with an image centered on the paragraph to the right, every so many paragraphs.

Thanks for any and all help,
Justin

Links On Scrollable Text
how can i make a part off a text to be a link, inside an scrollable textlike when u write a web page adrres or an e-mail adress
please helppppppppp!!!!!!!!!!!! lol

Scrollable Text Links
Hey Gang, I am trying to put together a reference that will be chock full O text. I will have the text scrolling and would like to add links where they are needed. I messed around briefly with htmlText and couldn't get it to do what I need. Any advice, code help or a point in the right direction would be greatly appreciated. The links will be URLs as well as calls internal to Flash.

Thanks in Advance
Adam

Scrollable Text Boxes?
okay, does anybody know how to make a scroll box in flash mx 6.0?

If somebody can help, please do.

Email me at: tylermoore@uneakclothing.com

or IM me at: Hazard2MyBody


Thanks.

Scrollable Text And Html
Hi, I have 2 questions;
I'm using the scrollbar component in Flash MX for a text field. Is there any way that I can have different colours or styles(eg bold text) for headings on certain lines, as when I do this, it changes the rest of the text as well.
Also, I have tried using an external HTML file to link to instead but it is not working.
I set the variable for the text field to "page1" in the text options and use this actionscript on the frame:
LoadVariablesNum ("page1.html", 0);
I then added "page1=" right before the HTML tag in the HTML document itself. ( I read this all in a book)
Apparently Flash should read the HTML file but I've only got a blank window. I'm not sure what's wrong.
They are probably stupid questions but I'm new to all this so any help would be greatly appreciated.

Scrollable Updateable Text
Hey guys,

Few days ago I posted about how to upload text into an already posted .swf. Well, I tried applying that idea (loadVariablesNum with Dynamic text) to a scroll bar component. I noticed it doesn't work. Is this possible? I can get the scroll bar to work fine on it's own with all kinds of text, but for some reason the uploadable text just isn't working with it. Any help is much appreciated.

-Gino

Scrollable Text Containing HTML?
Is there anyway I can make a textbox and scrollbar in flash that contains HTML?

When I make a text box, and I try to bold a word, the whole box 'bolds'.

any sugestions?

Scrollable Input Text
anyone know how to do this?
with multi line input text, i'll need to enable a scrollbar (vertical or horizontal) when the amount of text has reach the max..
do i need to develop this with my own function, or is there any predefined function?

thanx!

Scrollable Text - Externally
Looking to implement (successfully) a way to load text from a .txt file. THe problems Ive encountered previously are that flash places a white Text Box behind the text. Now this works great if youre using white backgrounds. Can someone point me to a helpful thread or link or just offer some passing advice on how to work around this with designed/colored backgrounds?
Thanks
Geoff

Scrollable Dynamic Text
hi guys, i neeed help.
I have a dynamic textfield where it read from from txt file.
the stage size has to be small so i would have to scroll the text
up slowly for the stage to show all the text.

The question is, how do i make it so that when the text is scrolling up, it will scroll in reference to the length of text i have in my txt.

Its like if i only have 3 lines of text, it will scroll till the third line and loop back to the first, and if i have 20 lines, it will scroll till the 20th line and loop back to the first.

Show me a sample file if possible ^_^
thanx guys!

Justified Scrollable Text?
i am using flashmx.

is there any way to full justify scrollable text?
when i export the text is always left justified eventhough i have selected full justtification in the paragraph options.

much thanks.

Scrollable Text With Load Var
my question is this.

i have a text file that i used the load var command on
and it populates the appropriate text box.

no problems..however..

even when i put a scroll bar on it ..

i cannot get it to scroll?

any suggestions?

Dynamic Scrollable Text
I have been searching the tutorials section on finding a good scrollbar to scroll dynamic text loaded from a .txt file. Does anyone know of a good one. I am looking for something similar to the one found at http://24-7media.de/ingram/

Thanks for your help

Fade In For Scrollable Text?
Hi all:

I'm wondering if there is a way to fade in scrollable text? I've tried several different ways and nothing seems to work. Any suggestions would be appreciated!

Thanks in advance,
Sarah

Linked Text In A Scrollable Box
Does anyone know how to add linked text (hyperlinks) into a scrollable text field in flash? I found how to add scrollable text to flash here:
http://www.macromedia.com/cfusion/kn...fm?id=tn_16142

but it wont let me add linked text. Any ideas

Scrollable Text You Control
I need some help with scrolling text. I don't know anything about actionscripting and I've found a lot of different versions for scrolling text scripts. However they aren't exactly what I'm looking for. I need to have text that I can control the scroll by a top button and a bottom button. I also need to have the ability to change the size and color of the text. I have found a few options that could work but here is the big catcher... when the viewer is at the top of the text - the top button fades back or gets grayed out. The same as when you scroll to the bottom - the bottom button gets grayed out. I've seen many different versions of this being used but not quite like this. An example of what I have thus far is on the home page link below click the main image and it will cycle through If there is anyone that can help me I would greatly appreciate it. Thanks!!!www.cradle.com

Scrollable Text In Flash MX
Howdy,

Anyone know what is the best and perhaps simplest way to do scrollable text in flash MX?
Alternately if you could point me in the direction of a tutorial

Looking to do something similiar to the gallery section of
http://www.designbynature.org

Cheers

Help With Creating Scrollable Text Box Like The One Here...
Hi thanks for looking,

I think its a componant but I'm not sure, see
http:www.mzl.com (quite nice little flash site) has many pages with text fields with the scroll up and down and bar grab thingy like all windows interfaces have for easy content scrolling...

is there a simple way to do this with a componant (instead of constructing it with miles of script)? Ideally I need it to be quick to make as I dont have much time to do this site I'm working on so if theres a simple tutorial on how to make this I'd be greatful if anyone could send a link or some advice thanks -
Alex

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