作者newpen2020 (newpen)
看板Flash
標題[問題] 請問語法問題
時間Thu Aug 19 19:49:16 2010
請問一下
圖片輪動的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
→ ericinttu:要做pano的效果嗎? 08/19 19:59
→ newpen2020:什麼是pano? 08/19 20:05
→ ericinttu:找panorama那個, 但我Flash CS5開不起來, 純看as code 08/19 20:28
→ ericinttu:panorama 全景圖=360度圖 08/19 20:28