I have this code controlling my movie clip: “logo”
It rotates the bevel clockwise one round.
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?