all groups > flash actionscript > january 2005 >
You're in the

flash actionscript

group:

vertical scroll boudary



vertical scroll boudary Ugly Lobster
1/13/2005 9:26:11 PM
flash actionscript: I have a movie clip that is much taller than the stage. It has a mask in front
of it. I want it to scroll up and down with the mouse. That's the easy part.
The hard part is that I want it to stop scrolling when the bottom of the movie
clips collides with the bottom of the mask, or when the top of the clip
collides with the top of the mask. this is so the clip never scrolls too far or
off the stage completely. The clip has embeded clips and buttons that need to
retain functionality, so I don't think I can use startDrag();

i tried using hitTest(), with some hidden movieclips in the main movie clip
that detect collision with the mask boundaries. I am having trouble relating
the clip's _y with the root _y since they are on different timelines.
Re: vertical scroll boudary abeall
1/13/2005 9:33:47 PM
Re: vertical scroll boudary Ugly Lobster
1/13/2005 9:51:50 PM
AddThis Social Bookmark Button