Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
FlashAsh99 #1
Scroll 2 text by one scroll bar?
Is there anyway to scroll 2 text fields at the same time by using one scroll bar?
FlashAsh99 Guest
-
Scroll text with scroll bar
I've created a chunk of text and I want it to scroll in a window. Managed to put a scroll bar on it, but cannot figure out how to size the window and... -
Text with scroll bar in Pub 2002
I have seen some web pages that have a box of text with a scroll bar that automatically resizes itself as you change the size of the window, so the... -
Static text w/scroll???
Hi, This is the issue: I am using dynamic text on my site but the problem is that the font (Portfolio) I am using isn't displaying properly... -
Scroll bars in text box
I want to add a vertical scroll bar to some text boxes on a form. Setting the scroll bars property in the text box property list to 'vertical'... -
scroll text and images together
Here's another article "Scrolling text with Graphics" http://director-online.com/buildArticle.php?id=465 Although it might be more about... -
Jack #2
Re: Scroll 2 text by one scroll bar?
"FlashAsh99" <flashash99@yahoo.com> wrote in message
news:c06g7k$e34$1@forums.macromedia.com...scroll bar?> Is there anyway to scroll 2 text fields at the same time by using one
you can try this approach -
this.createTextField("tf1",1,10,10,100,200);
for(var n=0;n!=35;n++){
tf1.text += "Test1 "+n+newline;
}
this.createTextField("tf2",2,200,10,100,200);
for(var n=0;n!=35;n++){
tf2.text += "Test2 "+n+newline;
}
this.attachMovie("FScrollBarSymbol","scr1",3);
this.attachMovie("FScrollBarSymbol","scr2",4);
scr2._visible = false;
scr1._x = tf1._x+tf1._width;
scr1._y = tf1._y;
scr1.setSize(tf1._height);
scr1.setScrollTarget(tf1);
scr2.setScrollTarget(tf2);
this.onEnterFrame = function(){
scr2.setScrollPosition(scr1.getScrollPosition());
}
regards,
Jack
Jack Guest



Reply With Quote

