# Looping a filter tween

**URL:** <https://forum.kirupa.com/t/looping-a-filter-tween/241427>\
**Category:** flash\
**Created:** [October 13, 2007, 9:03pm UTC](https://forum.kirupa.com/t/looping-a-filter-tween/241427 "2007-10-13T21:03:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hommer](https://avatars.discourse-cdn.com/v4/letter/h/a3d4f5/32.png) [@Hommer](https://forum.kirupa.com/u/Hommer)\
**Post date:** [October 13, 2007, 9:03pm UTC](https://forum.kirupa.com/t/looping-a-filter-tween/241427/1 "2007-10-13T21:03:46Z")

</div>

I have this code controlling my movie clip: “logo”  
It rotates the bevel clockwise one round.

```auto
import flash.filters.BevelFilter;
import mx.transitions.Tween;
bf = new BevelFilter(3, 1, 0xFFFFFF, 1, 0x000000, 1, 3, 3, 0.1, 3, "inner", true);
bfRotate = new Tween(bf, "angle", None, 1, 360, 6, true);
bfRotate.onMotionChanged = function() {
	logo.filters = [bf];
};
bfRotate.onMotionFinished = function() {
	// What to write here?
};

```

How do I loop the animation, so the bevel effect will rotate forever?
