Dynamic text with bookmark

I’m using a dynamic text box in my flash file which calls the text from an external .txt file.

Now i also use some buttons which scroll the text to the respective topic.

For example i have a text file called design.txt with matter like design basics.
design.txt has topics like photoshop…flash…dreamweaver etc.
Now on the swf file i have buttons next to the dynamic text box which scroll the dynamic text to the respective topic example when i click on photoshop the text scrolls to line where photoshop details start.

Till date I have been using this by manually putting the line number for the scroll value. Is their any other easy way to do it?

Please let me know.