[問題] 請問語法問題
請問一下
圖片輪動的flash效果
http://www.lugu.com.tw/scenery001.swf
兩張接圖中間的空隙有辦法接合嗎?
我的語法是
onClipEvent (enterFrame)
{
if (_x > 800)
{
_x = _x - _root.barW * 2;
} // end if
if (_x < -_root.barW)
{
_x = _x + _root.barW * 2;
} // end if
speed = Math.floor((_root._xmouse - 400) / 90);
_x = _x - speed;
}
以及
duplicateMovieClip("bar1_mc", "bar2_mc", 2);
barH = bar1_mc._height;
barW = bar1_mc._width;
bar1_mc._x = 0;
bar1_mc._y = 0;
bar2_mc._x = bar1_mc._x - (barW + 16);
bar2_mc._y = 0;
謝謝回答
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 58.99.85.195
→
08/19 19:59, , 1F
08/19 19:59, 1F
→
08/19 20:05, , 2F
08/19 20:05, 2F
推
08/19 20:27, , 3F
08/19 20:27, 3F
→
08/19 20:28, , 4F
08/19 20:28, 4F
→
08/19 20:28, , 5F
08/19 20:28, 5F