<續上篇>
----------------------------------------------------------
畫面切割類(以分格畫面為轉場效果的):
Blinds (百葉窗),PixelDissolve (名為像素溶解,但其實是隨機出現的方塊)
----------------------------------------------------------
特殊參數說明:
Squeeze -- dimension
Blinds -- dimension, numStrips
PixelDissolve -- xSections, ySections
dimension:垂直(0)或水平(1)
numStrips: 百葉窗條紋數目,建議範圍1~50
xSections: 水平區塊數,建議範圍1~50
ySections: 垂直區塊數,建議範圍1~50
----------------------------------------------------------
寫法範例如下:
//Squeeze (擠入)
TransitionManager.start(img1_mc, {type:Squeeze, direction:Transition.IN, duration:2, easing:Elastic.easeOut, dimension:1});
//Blinds (百葉窗)
TransitionManager.start(img1_mc, {type:Blinds, direction:Transition.IN, duration:2, easing:None.easeNone, numStrips:10, dimension:0});
//PixelDissolve (隨機方塊 出現或消失)
TransitionManager.start(img1_mc, {type:PixelDissolve, direction:Transition.IN, duration:2, easing:Regular.easeIn, xSections:10, ySections:10});
沒有留言:
張貼留言