all groups > flash actionscript > may 2007 >
You're in the

flash actionscript

group:

scrolling movie clip menue?????


scrolling movie clip menue????? atlanta_noah
5/3/2007 9:48:01 PM
flash actionscript:
i need to find code or a tutorial that can show me the script to make a field
of movie clips (buttons) scroll up and down when a mouse over event happens at
the top or bottom.

thanks so much for your time.

example = http://www.nowconcentrate.com/ menue under "projects"
Re: scrolling movie clip menue????? Dan_morley
5/3/2007 10:07:23 PM
Re: scrolling movie clip menue????? Dan_morley
5/3/2007 10:09:31 PM
Re: scrolling movie clip menue????? atlanta_noah
5/4/2007 2:19:35 PM
yes. a horizontal stack of squares that scroll up and down with a mouse over event at the top and bottom.

Re: scrolling movie clip menue????? atlanta_noah
5/4/2007 7:31:05 PM
i have found plenty of tutorials on how to make something scroll back and forth
or scroll once but information on trying to control the action via mouse
events seem to be very hard to find...

this is what i am trying to copy

example = http://www.nowconcentrate.com/ menue under "projects"
Re: scrolling movie clip menue????? kglad
5/15/2007 8:34:31 PM
try:



//---mv = moving movie clip | mu = up button | md = down buttom------\\
mv.MinY = 10;
mv.MaxY = 30;
function scrollMv() {
if (scrollDirection == "up" && mv._y>mv.MinY) {
mv._y -= 2;
} else if (scrollDirection == "down" && mv._y<mv.MaxY) {
mv._y += 2;
}
}
mu.onRollOver = function() {
scrollDirection = "up";
this.onEnterFrame = scrollMv;
scrollStop();
};

md.onRollOver = function() {
scrollDirection = "down";
this.onEnterFrame = scrollMv;
scrollStop();
};

mu.onRollOut = function() {
delete this.onEnterFrame;
};
md.onRollOut = function() {
delete this.onEnterFrame;
};
Re: scrolling movie clip menue????? kglad
5/15/2007 8:35:42 PM
Re: scrolling movie clip menue????? atlanta_noah
5/15/2007 8:37:31 PM
Re: scrolling movie clip menue????? kglad
5/15/2007 9:09:15 PM
AddThis Social Bookmark Button