OK, here is my problem:

I want to be able to have a SequentialAnimation with loops which changes the image source of the animation on each loop. The image source would be determined in a function.

I've tried sever things, but nothing seems to work. If I fetch the value of the source from a function within the animation, it seems to take the value from the function only during the first loop and then use that value in all other loops. If I do a function with a for loop which starts the animation each time, it seems to go to fast and the animation runs only once.

So, does anyone know hoe to do this? Any help would be greatly appreciated.