国产探花免费观看_亚洲丰满少妇自慰呻吟_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']}"/>
發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 南郑县| 潍坊市| 云霄县| 察雅县| 海安县| 鲁甸县| 鄄城县| 汝州市| 波密县| 通州市| 巴塘县| 莫力| 湘潭县| 赣州市| 宜阳县| 安宁市| 博客| 北票市| 汝城县| 桐柏县| 湖口县| 沧州市| 富民县| 宜君县| 文登市| 壤塘县| 桃源县| 从化市| 宁远县| 中方县| 芜湖市| 永修县| 含山县| 福贡县| 泸州市| 新乡市| 淄博市| 清镇市| 墨脱县| 翁源县| 桃园县|