Re: RE: mouseDown scrolling

2000-11-21 Thread Kurt Griffin
> Incidentally, following this thread, I built my first custom scroller and > I'm wondering how to slow down the scroll speed. I have it set to > ScrollByLine using +/- 1, but using the variable/ prepareframe method > (which, I agree, is the best) it scrolls like a mad thing. I set it to 0.5 > and

RE: mouseDown scrolling

2000-11-21 Thread Karina Steffens
Ok, I just tested the behaviour, and a couple of minor adjustments See the scrollText handler, the gpdl[#pmText] format, and an endSprite handler, (just in case): --a generic scroll bar property ptTime, pmText, pnScroll on mouseDown me timeOut ("scrollbar").new (ptTime, #scrollText, me) end o

RE: mouseDown scrolling

2000-11-21 Thread Karina Steffens
> be detected unless you specify it in an On MouseUpOutside handler. That's very true - the simplest thing would be: on mouseUpOutside me mouseUp me end > I'm wondering how to slow down the scroll speed. I have it set to > ScrollByLine using +/- 1, but using the variable/ prepareframe method

Re: mouseDown scrolling

2000-11-21 Thread Anil
20, 2000 10:27 PM Subject: RE: mouseDown scrolling > > Hi Anil, > > > The solution is in your mouse down handler..use "repeat while the > > stillDown" as shown below: > > > > on mouseDown > > repeat while the stillDown > > scrollByLi

RE: mouseDown scrolling

2000-11-20 Thread Leon McComish
One thing to cover for though when using variables set throught mouseDown & mouseUp is the user releasing the mouse outside of the sprite. This will not be detected unless you specify it in an On MouseUpOutside handler. Incidentally, following this thread, I built my first custom scroller and I'm

RE: mouseDown scrolling

2000-11-20 Thread Karina Steffens
Hi Anil, > The solution is in your mouse down handler..use "repeat while the > stillDown" as shown below: > > on mouseDown > repeat while the stillDown > scrollByLine member "txt2", +1 > end repeat > end > > This should solve your problem.. > > In the above case "on mouse down" the li

Re: mouseDown scrolling

2000-11-20 Thread Anil
uot; the line will scroll down 1 line by line till it reaches the end.. Only happy to help you.. Anil Menon - Original Message - From: stanly kadamala <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 10, 2000 1:28 PM Subject: mouseDown scrolling >

RE: mouseDown scrolling

2000-11-10 Thread Karina Steffens
> You can also customize the behaviour by adding a gpdl, which > will pop up > when you attach the sprite to the cast member. There you can What I MEANT to say was, attach the script to the sprite... [To remove yourself from this list, or to change to digest mode, go to http://www.penworks

RE: mouseDown scrolling

2000-11-10 Thread Karina Steffens
Hi Stanly, > Now I want it on the mouseDown. Means when I I keep my mouse > button pressed i want to scroll my text one line by line till > I reach the end of the text. I think I can help you with that one. (Oddly enough, I haven't actually done a text scroll bar in Director before, but I can h

mouseDown scrolling

2000-11-10 Thread stanly kadamala
Hi all I have a small problem, using d-8,windows 9x Now the problem is I got a text field and I want to scroll the text by using coustom button. No on mouse up I is working fine. Now I want it on the mouseDown. Means when I I keep my mouse button pressed i want to scroll my text one line by li