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

Jumpy Scrollbar 1

Status
Not open for further replies.

wuzzle

Programmer
Dec 20, 2000
75
CA
I have my scrollbar working the way I want it to, except for one thing: When you click the draggable ball, the text jumps and if you scroll down and then scroll back up, you can't see the top few lines of the text.

My file is located here:
If someone could take a look at it and let me know how to fix it, I'd be forever greatful! It seem slike it should just be a simple setting that I'm missing.

Thanks :)
 
having a look wuzzle

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
hi again Wuzzle

I've reshuffled with the following working results:


You'll find changes in the following areas:
>>the action frames in the main timeline.
>>the actions on the 3 buttons.
>>the actions in frame2 of the 3 control clips.

Two points to note:

1>>I've removed the mask for editing purposes so you'll have to add that back in.
2>>If you want to add to the text in the text box, the calculations are such that you do not need to alter any of the actionscripting in the control clips. Any changes made are detected by the scripting.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Thank you VERY much!

One problem: I can't access that address, the server can't find the file!
 
ok hold on davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
I can't even explain what a huge help you've been, thanks so much!

One thing, when I place text in the content area that is shorter than the text we've got in the test file, the scrolling acts strange if you drag the ball down to the bottom, then scroll up. What setting do I change to fix that?

Here's another test file in case I don't make sense:


Thanks :D
 
frame2 of mc mission_scrolling_logic has a comment in it which tells you that the value 220 is related to the height of your mask. Your new mask is only 210.8, so if you change 220 to 210.8 it works perfect again.

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
I see now that I should be changing that as I change the length of the text...But it didn't work for my problem, if you drag the ball down a bit it still isn't scrolling all the way to the top by use of the arrow button. You can see the top of the text, but the ball isn't in place.

 

seems all too long-winded for my liking but it's been a real pain and it's driven me mad! ;-)

Fixed for your new version and tested thouroughly for the following:

1>>changing the mask size
2>>adding/deleting text
3>>increasing/decreasing the length of the slider

Just be wary of the mask/textpx/slider variables in the action layer on the main timeline if you change any of the list above. (ie: if you increase the size of the viewer and hence the mask, remember to reenter the value of /:mask in the action layer). You shouldn't have to alter any other variables/scripting other than those which are assigned integer values in the action layer.

Can I get on with some work now? ;-)

dave davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
mornin wee man!;-) I've spent the past 4 hours on that thing, all but pulled my hair out with it, and I still don't think it's up to my liking.

You in for the duration now? davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
duration: Virt's intrepid journey! ;-) davdesign@pinkzeppelin.com

^^^^^^^^^^^^^^^^^^^^^
 
Well... either his site is already up and running smootly, or he's still caught up in the installation of his CDROM or whatever.
As for me... still have a few problems with your proposal!

Should remove every "fade in" on mcs, since now the transition is doing all the work. What is happening now (on movie 1 & 3 - movie 2 doesn't have a fade in)... Is that you're going through the sunset (or the background, or whatever that will be...) before you get to next movie.

Second problem to be solved on buttons... Is that if you re-click on a channel before you past the middle point of the transition, the transition restart from the beginning.

Lastly, if I can agree that your "if... else" script on buttons is much more efficient than mine, I feel you haven't really answered my question: what would be the proper syntax to set movie2 visibility to false within the playing movie3... as I was trying to do?

;-)

PS: Don't spend to much time on this if you have other things to do... After all this is Carl's(virt) project & he might come up with something completely different tomorrow... Which in a way is challenging!
I'm just curious as to why my scripting works when done in reverse order(1->2->3->2->1), but not when jumping from 3 to 1 for example!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top