#12006/3/9 17:56:06
小弟做了一个3个图片的横向循环菜单下面是开头贞里的语句
stop();
move = true;
trace(mc1._x);
trace(mc1._width);
trace(mc2._x);
for (i=0; i<6; i++) {
eval("mc"+i)._x = i*200;
eval("mc"+i).onEnterFrame = function() {
if (_root.move) {
this._x -= 6;
if (this._x<-200) {
this._x = this._x+1200;
}
}
};
eval("mc"+i).bt.onRollOver = function() {
_root.move = false;
};
eval("mc"+i).bt.onRollOut = function() {
_root.move = true;
};
}
这个是图片里的语句
on (rollOver) {
_root:a = 0;
}
on (rollOut) {
_root:a = 1;
}
我想知道哪里应该加上
on (release) {gotoAndPlay();
}
这个转场的语句 试了几个地方都不成 很着急 希望各位有经验的大哥们指点下 小弟也是刚刚学习,在这里谢谢各位