PDA

View Full Version : actionscript roll over question



anfractuosities
August 1st, 2008, 06:29 PM
I am trying to make a photo gallery, in which when the cursor is placed over a moviclip, the gallery scrolls. I cannot figure out how to do it with onRollOver. I am doing something like this

xxx.onRollOver = function()
{
gallery -=10;
}

I do not know how to make it keep checking that the mouse is on the xxx clip. At this juncture the gallery only moves 10 px and will not continue to move in 10 px increments unless I roll off then back on.