# Interesting Flash Scrolling Problem

**URL:** <https://forum.kirupa.com/t/interesting-flash-scrolling-problem/189757>\
**Category:** flash\
**Created:** [June 6, 2006, 1:24am UTC](https://forum.kirupa.com/t/interesting-flash-scrolling-problem/189757 "2006-06-06T01:24:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sown](https://avatars.discourse-cdn.com/v4/letter/s/f4b2a3/32.png) [@Sown](https://forum.kirupa.com/u/Sown)\
**Post date:** [June 6, 2006, 1:24am UTC](https://forum.kirupa.com/t/interesting-flash-scrolling-problem/189757/1 "2006-06-06T01:24:11Z")

</div>

Hey all,

I have a simple Dynamic Text Window that contains a poem. When you click two different points in the dynamic text window it draws a curve between the two points (using onSetFocus and curveTo).

So, I have a dynamic text window, and can draw lines on the movie clip that is on top of the text window.

My problem is this:

Scrolling the text is easy with the built in scrollbars. But, when I scroll the text… the drawn lines on the movie clip above it do not move logically with the text!

What are some things I can look into to solve this problem? I know I can use a scrollpane component to move the drawn lines… However, how could I have just one scrollbar to move the text and the drawn lines simultaneously?
