您好
不知您是不是也用FLASH軟體 若有使用這軟體應該就大約知道怎使用
這是用FLASH CS3的ActionScript 2 的語法製作
AS的語法如下
===========
this.mc.gotoAndStop(1);
this.sj.mc.gotoAndStop(1);
var ts = this.mc._totalframes;
var i = 0;
while (i < ts)
{
duplicateMovieClip(mc, "mc" + i, i);
var mm = this["mc" + i];
mm.gotoAndStop(i + 1);
mm._height = 40;
mm._width = 60;
mm._x = 75*(i % 7) +4.9000000E+001;
mm._y = 25 + Math.floor(i / 7) * 490;
mm.onRollOver = function ()
{
var _loc2 = this._currentframe;
this._parent.mc.gotoAndStop(_loc2);
this._parent.sj.mc.gotoAndStop(_loc2);
};
++i;
} // end while
====================
必須轉成影片剪輯加以命名才可下命令...螢幕框命名mc 水晶球框命名sj