flex commom effects cheatsheet(Flex常用特效)

Blur

A Blur effect softens the details of an image, like an unfocused lens.

The Blur effect has the following properties that you can adjust:

blurXFrom

Sets the initial amount of horizontal blurring.

blurXTo

Sets the final amount of horizontal blurring.

blurYFrom

Sets the initial amount of vertical blurring.

blurYTo

Sets the final amount of vertical blurring.

Blurs are useful for showing movement and can be coupled with Move effects. 

A very strong Blur effect (a property value of 20 or greater) can produce an 

interesting morphing look.

 

Dissolve

A Dissolve effect modifies the alpha property of a rectangular overlay, letting 

the target component under it appear or disappear gradually.

alphaFrom

Sets the initial alpha value.

alphaTo

Sets the final alpha value.

color

#XXXXX

 

Fade

This effect animates the alpha property of a component, letting it change 

gradually from transparent to opaque or from opaque to transparent.

The Fade effect has the following properties that you can adjust:

alphaFrom

Sets the initial alpha value.

alphaTo

Sets the final alpha value.

貌似上面这两效果差不多

 

Glow

This effect applies a glow to a component, animating a lighting effect that 

makes it look like light is coming from inside the component.

发光效果

 

Iris

This effect animates an expanding or contracting rectangular mask centered 

on the target, like the iris of a camera lens. The effect can be used to expose 

the target or to hide the component. Think of old movies that use this effect 

at the end.

The Iris effect has the following properties that you can adjust:

showTarget

Specifies whether the Iris exposes the target (true) or hides it (false, 

which is the default)

 

Move

This effect gradually changes the position of a component.

 

Resize

This effect changes the width and height of a component over a specified 

time interval, animating the change in size.

 

Rotate

This effect rotates a component around a point, which is by default the top-

left corner. You specify the origin of the rotation so that a component can 

rotate around a different point, such as its center. You also set the starting and 

ending angles of rotation, based on 360 degrees. If a number is greater than 

360, this effect will set it to 360.

 

WipeLeft, WipeRight, WipeUp, 

and WipeDown

The wipe effects are used to set the visibility of components, exposing or hid-

ing the component as if an invisible rectangle were moving over it.

 

Zoom

This effect zooms a component in or out, like a camera lens. This can make 

the component appear to be either farther away or closer, scaling its target.

 

AnimateProperty

The AnimateProperty effect is a very customizable effect. It lets you animate 

(create a tween for) any numeric property of a component.

The AnimateProperty effect has the following properties that you can adjust:

property

Sets the name of the property you want you modify. You set this as a 

string.

fromValue

Sets the initial value of the property.

toValue

Sets the final value of the property.

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值