Apache flex 弹性宽松效果中的easeOutExpo等效于什么?
在Tweener中有一个类型为“easeOutExpo”的转换。弹性宽松类中的等价物是什么?此处列出[1] 更多内容: 以下是Tweener代码:Apache flex 弹性宽松效果中的easeOutExpo等效于什么?,apache-flex,air,flex4,flex-spark,Apache Flex,Air,Flex4,Flex Spark,在Tweener中有一个类型为“easeOutExpo”的转换。弹性宽松类中的等价物是什么?此处列出[1] 更多内容: 以下是Tweener代码: Tweener.addTween(container, {width:w, height:h, time:0.25, transition:"easeOutExpo"}); 下面是我想要的easeOutExpo转换类型的实例: <s:Scale scaleYFrom=".5"
Tweener.addTween(container, {width:w, height:h, time:0.25, transition:"easeOutExpo"});
下面是我想要的easeOutExpo转换类型的实例:
<s:Scale
scaleYFrom=".5"
scaleYTo="1"
scaleXFrom=".5"
scaleXTo="1"
duration="250"
autoCenterTransform="true"
applyChangesPostLayout="true"
/>
[1] 这将是放松,设置为0
。如果您想匹配Tweener使用的算法,您需要通过一些尝试和错误计算出合适的指数
<fx:Declarations>
<s:Power
id='expoEaseOutEquivalent'
easeInFraction='0'
exponent='8' />
<s:Scale
easer='{expoEaseOutEquivalent}'
scaleYFrom='.5'
scaleYTo='1'
scaleXFrom='.5'
scaleXTo='1'
duration='250'
autoCenterTransform='true'
applyChangesPostLayout='true' />
</fx:Declarations>