Flex 3 - Image flickers at first load

Posted by BS_C3 on Stack Overflow See other posts from Stack Overflow or by BS_C3
Published on 2010-04-29T17:21:39Z Indexed on 2010/04/29 17:27 UTC
Read the original article Hit count: 270

Filed under:
|
|

Hello Community!

I have an application with different components that are accessible through a viewstack in the main application.

The main application looks like that:

<Application>
    <Viewstack>
        <myComponent1/>
        <myComponent2/>
        <myComponent3/>
        .
        .
        .
    </Viewstack>
</Application>

In myComponent1, I have a horizontalList where the user can select a product. In myComponent2, I have 2 containers inside the component. A left container with a larger image of the product selected in myComponent1 and a right container with all characteristics of the product. Both containers have an embed background image.

When I select a product in myComponent1, the application displays myComponent2. When the component is displayed, I first see the page without the large image of the product, then both containers flickers and the product image is displayed.

How could I avoid this flickering? It's really annoying >_<

Thanks in advance for your help =)

Regards. BS_C3

© Stack Overflow or respective owner

Related posts about flex3

Related posts about flicker