国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網站 > WEB開發 > 正文

12.3.創建Effects的Parallel系列或Sequence系列

2024-04-27 13:52:13
字體:
來源:轉載
供稿:網友
12.3.1 問題
我想創建多個效果并行或者順序播放。

12.3.2 解決辦法
使用Parallel 標簽包含多個需要同時播放的效果或者使用Sequence 標簽包含多個需要順序播放的效果。

12.3.3 討論
Sequence 標簽會在上一個Effect 對象廣播它的effectComplete 事件時繼續播放下一個效果。

Sequence 過程序列由多個Parallel 效果標簽組成,因為Parallel 標簽作為Effect 同等對待并且具有Sequence 在Effect 或Parallel 播放結束的時候需要調用的play 方法。
+展開
-ActionScript
<mx:Sequence id=" sequencee" target="{this}">
<mx:Blur duration="3000" blurXTo="10" blurYTo="10"
blurXFrom="0" blurYFrom="0"/>
<mx:Glow duration="3000" color="#ffff00"/>
</mx:Sequence>

Parallel 標簽通過傳遞所有的target 對象,或者每個Effect 或Sequence 標簽包含的對象,并且調用Parallel 標簽包含的所有Effect 對象的play 方法。
+展開
-XML
<mx:Parallel id=" paralleltargets="{[bar, foo]}">
<mx:Blur duration="3000blurXTo="10blurYTo="10blurXFrom="0blurYFrom="0"/>
<mx:Glow duration="3000color="#ffff00"/>
</mx:Parallel>
<mx:ComboBox id="bardataProvider="{['one', 'two', 'three']}"/>
<mx:ComboBox id="foodataProvider="{['one', 'two', 'three']}"/>
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 那曲县| 乌兰察布市| 彭泽县| 义乌市| 明溪县| 博兴县| 长子县| 鹤山市| 锦屏县| 卢龙县| 正阳县| 玛曲县| 疏勒县| 涞源县| 昂仁县| 驻马店市| 芜湖市| 吴江市| 蕲春县| 赤峰市| 阿巴嘎旗| 辽阳市| 西乡县| 浙江省| 新丰县| 武清区| 高州市| 成武县| 德州市| 永福县| 永仁县| 西林县| 隆尧县| 都江堰市| 额尔古纳市| 蓝山县| 普格县| 五常市| 洛扎县| 昆山市| 鄂伦春自治旗|