Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scrollable text 1

Status
Not open for further replies.

MichelleButler

IS-IT--Management
Apr 5, 2002
73
GB
I know in Director you can change the text to make it scrollable. Is it possible to use graphics (such as arrows ) that will allow you to scroll through the text rather than use the director scroll bar.

Many thanks

Michelle
 
On your scroll down arrow write this in your behavoir:

on scd
member("a").scrollbyline(1)
end

on mouseWithin
mdt
end

on mdt
if the mouseDown=TRUE then scd
end

And on your up arrow write this in the behavoir:

on mouseWithin
mdt
end

on scu
member("a").scrollbyline(-1)
end

on mdt
if the mouseDown=TRUE then scu
end

a is your text member name

The end-user presses mouseDown and it continues to scroll 1 (up or down) line so long as the mouse button is kept down.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top