instructions2.htmld8" d*H zIX zN y |5x d zTEXTR*ch=\message=AutoScroller 2.0

Ever since coming out with AutoScroller, people have asked: "Can I use AutoScroller to control multiple text files?" And I'd explain in a lengthy e-mail how to do it.

I'll probably still get e-mails, but AutoScroller 2.0 takes care of the question once and for all.

The two buttons -- "Read Me" and "Read More" -- change the url variable that's used in the smart clip. So, just change this variable and you can keep reusing the smart clip for any text file.

One slight difference over version 1.0, you'll need to name the instance of the smart clip: this example calls it AutoScroller, so to change the url variable, I reference _root.AutoScroller.url

Another addition to AutoScroller is just a demonstration that you can easily change the width of the Message movie that's within the smart clip. But, changing the height is trickier. Flash insists on scaling the movie to the dimensions, instead of displaying additional lines in the message variable. Can you get around this? For a fully resizable message box, for instance. Well, you could make multiple frames in the Message movie clip (inside the smart clip), each frame has the message variable displaying an additional line. As the user dragged the smart clip larger, the Message movie advances to the frame with the correct number of lines showing. The width of the message variable would be controlled as shown here. A lot of work that I'm not doing.

AutoScroller 2.0 also shows a concrete example of updating the contents of the smart clip with a variable defined elsewhere in your .fla.

I've also retained AutoScroller 1.0 in this .fla.

Jennifer Petkus, February 2001 hhFH Monaco0~f334 ,6,6=R*chMonaco  Helvetica ConfidentialHhhFSORT&FBBSTMPSRL