Skip navigation
aktell2007
Currently Being Moderated

Img. Gallery with overlaping ....

Mar 9, 2010 1:30 AM

Hi there,

 

Image Gallery with overlaping Fade In and Fade Out effects

 

I'm trying to find an idea to go by or some code snippet for an Xml Img. gallery where I can use Images which are fading 'In and Out' before showing the next Img. overlaping, and which than again does the fade In and Out thing.

 

Thanks alot in advance. regards aktell2007

  • Currently Being Moderated
    Community Member
    Mar 9, 2010 2:55 AM

    something like the gallery here

     

    http://www.rbphotography.co.uk/showgallery.php?boud

     

    ?

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Mar 10, 2010 8:32 AM

    I did something like this last year for a project.

     

    Just have two superimposed Image controls (same x,y or top left coordinates in an absolute layout).

    Set showEffect and hideEffect for them to Fade.

    Set their source and visibility alternatively: image1 visible while image 2 invisible and vice-versa.

     

    <mx:Image id="image1"

       top="10"

       left="10"

       showEffect="Fade"

       hideEffect="Fade" />

     

    <mx:Image id="image2"

       top="10"

       left="10"

       showEffect="Fade"

       hideEffect="Fade" />

    |
    Mark as:
  • Currently Being Moderated
    Community Member
    Mar 15, 2010 9:51 AM

    aktell2007 wrote:

     

    Hi again,

     

    Still looking for an answer 'Grizzzzzzzzzz'! regards aktell

     

     

    to make a gallery like that, you'll need to store all the image locations in an array,

     

     

    start off by loading the first item of the array into an Image component's source (All images will need to be the same size for the best results, else things will look abit scabby)

     

    on the next button click, simply load the next array item into the image source, and the opposite for the back button. Make use of the inbuilt flex "fade" transition and volia! You're pretty much done.

     

     

    have a go yourself from what i've said, i've pretty much covered it all. If you're still having problems pop back and i'll fix you up with a basic example to get you started

    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points