Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (repeatcount)
Viewing all articles
Browse latest Browse all 3

ImageView repeatCount bug?

$
0
0

I have an animation that works except when the repeatCount is set to any value above 1 - which makes the animation loop indefinitely.

var imageView = Titanium.UI.createImageView({
    images:images,
    duration:100, // in milliseconds, the time before next frame is shown
    repeatCount:2,  // 0 means animation repeats indefinitely, use > 1 to control repeat count
    top:0,
    width: 320,
    height: 480
});
I should note that setting the value to 1 does the job but I need it to loop more than once. Is this a known bug?

Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images