PDA

View Full Version : simple AS correction



mlk
September 6th, 2003, 09:35 AM
okay need help this doesn't work:
the scroll() function is supposed to scroll 4 clips named num1,num2... inside the "wholemovie" MC. The function is called from an onEnterFrame problem but it won't scroll - warum ?



function scroll() {
for (a=1; a<5; a++) {
_root.wholemovie["num"+a]._x += (_root._xmouse-400)/20;
}
}

Voetsjoeba
September 6th, 2003, 09:43 AM
No idea, that code seems correct to me ... can we see the FLA ?

senocular
September 6th, 2003, 09:49 AM
have you tried tracing _root.wholemovie["num"+a] to make sure its making a connection with a clip there?