用补间动画不行,需要用代码,如:
kk=mc6._x+mc6._width;
for (i=1; i<=6; i++) {//以6张图片为例,分别做在6个影片剪辑中,依次设置实例名称为mc1-mc6
_root["mc"+i].onEnterFrame = function() {//图片循环滚动
this._x -= 5;
if (this._x+this._width<=0) {
this._x = kk-this._width;
}
};
_root["mc"+i].onRollOver = function() {//鼠标指向停止滚动
for (j=1; j<=6; j++) {
delete _root["mc"+j].onEnterFrame;
}
};
_root["mc"+i].onRollOut = function() {//鼠标离开继续滚动
for (i=1; i<=6; i++) {
_root["mc"+i].onEnterFrame = function() {
this._x -= 5;
if (this._x+this._width<=0) {
this._x = kk-this._width;
}
};
}
};
}
mc1.onRelease=function(){
getURL("
http://www.baidu.com","_blank");
}
mc2.onRelease=function(){
getURL("
http://www.163.com","_blank");
}
//....后面4个链接你可以自己补齐