PDA

View Full Version : making those buttons work


snx
02-16-2006, 04:02 PM
i am trying to make a custom scroller:

thumbScrollUp.onRollOver = function()
{
thumbContainer._y--;
}

thumbscrollup is a button... i want it to repeat the y-- but i need to roll over roll off roll over roll off.. hehe

thx for the help...

snx

lelales
02-16-2006, 04:10 PM
You could just make an onRollOut command
thumbScrollUp.onRollOut = function()
{
thumbContainer._y++;
}

snx
02-16-2006, 05:05 PM
i think you misunderstood cause i want it to repeat the move over and over until the user rollout... right now, i have to rollout and then rollover again to repeat the y--...

hope that makes sense

snx