#1です
一応、動いてるのはこの部分ですね。
function slideClip(direction){
if(direction=="left"){
if(state <= 1) { state=6; loc=-1616; change(direction,state,loc); }
else { state=state-1; effect(direction,state);}
}else{
if(state > 5) { state=1; loc=106; change(direction,state,loc); }
else { state=state+1; effect(direction,state); }
}
}
ここから推察して、動きを確認してはどうですか?
お礼
回答ありがとうございます。 ソースは見ていろいろ試してみたのですがいまいちうまくいかなかったのでここで質問させていただきました。