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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scroll text problem

Status
Not open for further replies.

frnani

Programmer
Jul 20, 2010
3
PT
Hello, I´m having some problems with scrolling a text sprite. I´ve recently updated the Director version to 11.5, and the scroll was working fine in Director 11.

When published, my text box begins all the way scrolled down or in the beginning, in an erratic way. I have a standard text box, with text in it, not editable and I was using a custom scrollbar.The behavior remains if I use de standard Director scrollbar…

I’ve tried to add the following script, but it didn´t work as expected, the problem remains.

property spriteNum, sp, mem
on beginSprite me

sp = sprite(spriteNum)
mem = sp.member
mem.scrollTop = 0
end

I want, when published, that it starts at the top of the text. Can anyone help me with this problem? or this is a bug in this version of Director?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top