并行效果

Starting a Parallel effect in ActionScript is usually a five-step process:

开始并行效果在action中通常分5步

 

Create instances of the effect objects to be composited together; for example:

1简历一个对象效果的竖立被混合在一起,例如
myFadeEffect = new mx.effects.Fade(target);

我的小时效果=新的MX的效果的小时(目标)
Set properties, such as duration , on the individual effect objects.

2简历属性,例如距离,在单独的效果都喜爱那个上
Create an instance of the Parallel effect object; for example:

3.简历一个并行效果对象视力,如
myParallelEffect = new mx.effects.Parallel();

我的并行夏鸥过哦=新的MX的效果的并行
Call the addChild() method for each of the effect objects; for example:

召唤增加儿子方法为没一个效果对戏那个,如
myParallelEffect.addChild(myFadeEffect);

我的冰消效果要增加一个儿子(名字是我的小时效果)
Invoke the Parallel effect's play() method; for example:

气球一个并行夏鸥过的播放方法,如
myParallelEffect.play();

我的并行效果播放

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值