tags:

views:

21

answers:

1

In Flex4, I use an Image control. After every 10 seconds, i am changing the image programatically using Timer. But when the image changes, flickering occurs. Is there any method to prevent this? Thanks in Advance

A: 

Without seeing your code, it's hard to recommend a way to stop the flickering. In any case, one method could be to have two Image components occupying the same space, one visible, one hidden. When you load the next image, put it into the hidden component and then swap visibility after the new image has loaded. This is sort of like "double-buffering". Hope that helps.

Wade Mueller