Design Tutorials: Flash

How to make a dynamic text scrollbar in Flash (Design Tutorials - Flash)


Listen Later

How to make a dynamic text scrollbar in Flash



Author: Bill Trikojus



This tutorial will show you how to create a dynamic text scrollbar in Flash. The scrollbar contains arrows that the user can click and a dragger that can be dragged up and down to scroll the text. The scrollbar is dynamic and will automatically update to reflect the amount of text in the text box. The finished scrollbar will look something like this:





You can also download the finished dynamic text scrollbar.



Please note there is a small error in the code in the video that causes problems. This can be fixed by changing the relevant code to:



vis=my_txt.maxviewable()



//max needs to include the visible lines

max =vis+my_txt.maxscroll;

visPercent=(vis/max)*100;
...more
View all episodesView all episodes
Download on the App Store

Design Tutorials: FlashBy Swinburne University of Technology