| 套件 | fl.transitions |
| 類別 | public class Rotate |
| 繼承 | Rotate Transition EventDispatcher Object |
| 語言版本: | ActionScript 3.0 |
| 產品版本: | Flash CS3 |
| 執行階段版本: | Flash Player 9, AIR 1.0 |
-
ccw:Boolean 值。false代表順時針旋轉;而true代表逆時針旋轉。 -
degrees:整數,表示物件要旋轉的度數。 建議範圍從 1 到 9999。 例如,將度數設定為1080,將會使物件旋轉整整三圈。
例如,下列程式碼會對影片片段實體 img1_mc 使用「旋轉」轉場:
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Rotate, direction:Transition.IN, duration:3, easing:Strong.easeInOut, ccw:false, degrees:720});
相關 API 元素
Tue Jun 12 2018, 03:47 PM Z
隱藏繼承公用屬性
顯示繼承公用屬性