4 Replies Latest reply on May 30, 2011 12:07 PM by Shongrunden

    Crossfade Alignment Issue

    Miggl Level 1

      I have the following image:

           <s:Image
                id="img_background" 
                smooth="true"
                horizontalCenter="0" 
                verticalCenter="0"
                backgroundColor="#000000"
           />
      
      

       

      which centers itself nicely in my flex project if the image size is greater than the app size.

       

      However, when I run a crossfade on this image, the crossfade process is out of alignment with the centered image, i.e. the crossfade images orient themselves to the top of the app, causing a jump when the fade starts and ends.

       

      How can I correct for this?