Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/actionscript-3/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flash AS3中带Tweener的无限tweening色调循环_Flash_Actionscript 3_Tween_Tweener - Fatal编程技术网

Flash AS3中带Tweener的无限tweening色调循环

Flash AS3中带Tweener的无限tweening色调循环,flash,actionscript-3,tween,tweener,Flash,Actionscript 3,Tween,Tweener,我正在尝试使用AS3及其ColorShortcuts类无限循环一个位图在整个颜色光谱中。这不会循环回函数“tween1”: 有什么想法吗?提前谢谢 我还没有测试过,但是你能不能: function tween1():void { image._hue = -180;//you might need something like a colorMatrix here Tweener.addTween(image, { _hue: 180, time:5, onComplete:tw

我正在尝试使用AS3及其ColorShortcuts类无限循环一个位图在整个颜色光谱中。这不会循环回函数“tween1”:


有什么想法吗?提前谢谢

我还没有测试过,但是你能不能:

function tween1():void {
    image._hue = -180;//you might need something like a colorMatrix here
    Tweener.addTween(image, { _hue: 180, time:5, onComplete:tween1 } );
}
我知道默认情况下没有色调,但我猜你明白我的意思了

function tween1():void {
    image._hue = -180;//you might need something like a colorMatrix here
    Tweener.addTween(image, { _hue: 180, time:5, onComplete:tween1 } );
}