Groups | Blog | Home
all groups > flash (macromedia) > july 2003 >

flash (macromedia) : text scrolling and linking


G.Schiebl
7/9/2003 6:42:20 PM
hello, i have a problem with a dynamic text field.

1. i have two buttons (one up, one down)
like on (press) {welcometext.scroll -= 1}
and on (press) {welcometext.scroll += 1}

the problem is, they don't scroll continously, you have to press them to get
one line down/up.
any suggestions to get this a smooth scrolling text?

2. into the text field i load a .txt file. i want some parts to be linkable.
so if you click on them, a new browser opens with the new site.


thanks in advance

// alles wird gut

Peter Lee
7/10/2003 10:29:48 AM
You can set something like:

on(press) {
scrollingUp = true;
}

and create a movie clip with this action:

onClipEvent(enterFrame) {
if(_root.scrollingUp) {
welcometext.scroll -= 1;
}
}

For the second question, you can use set the box to html and put html
links in the text file

Peter

--
Peter Lee

Novel Games - Free Game Downloads and Free Flash Games
Visit us at: http://www.novelgames.com



[quoted text, click to view]
AddThis Social Bookmark Button