package fl.transitions.easing
{
public class Strong extends Object
{
public function Strong()
{
return;
}// end function
public static function easeOut(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
var _loc_5:* = param1 / param4 - 1;
param1 = param1 / param4 - 1;
return param3 * (_loc_5 * param1 * param1 * param1 * param1 + 1) + param2;
}// end function
public static function easeIn(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
var _loc_5:* = param1 / param4;
param1 = param1 / param4;
return param3 * _loc_5 * param1 * param1 * param1 * param1 + param2;
}// end function
public static function easeInOut(param1:Number, param2:Number, param3:Number, param4:Number) : Number
{
var _loc_5:* = param1 / (param4 / 2);
param1 = param1 / (param4 / 2);
if (_loc_5 < 1)
{
return param3 / 2 * param1 * param1 * param1 * param1 * param1 + param2;
}
var _loc_5:* = param1 - 2;
param1 = param1 - 2;
return param3 / 2 * (_loc_5 * param1 * param1 * param1 * param1 + 2) + param2;
}// end function
}
}
Strong.as,34 行 Warning: 3596: 变量定义重复。 高人帮忙给看一下吧
答案:2 悬赏:80 手机版
解决时间 2021-01-04 01:21
- 提问者网友:练爱
- 2021-01-03 19:59
最佳答案
- 五星知识达人网友:長槍戰八方
- 2021-01-10 05:54
最后一个方法里面有两个声明
var _loc_5:* = param1 / (param4 / 2);
var _loc_5:* = param1 - 2;
var _loc_5:* = param1 / (param4 / 2);
var _loc_5:* = param1 - 2;
全部回答
- 1楼网友:西风乍起
- 2021-01-10 06:14
我不会~~~但还是要微笑~~~:)
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯