PDA

View Full Version : Overlaping image fades


markstaylor
10-03-2004, 10:31 AM
I understand how to fade an image in and out. And I can do multiple fades one right after each other. But how can I fade Three images so that they fading in and out in a wave type action. The three pictures are next to each other not on top of each other. The images should never be at 100% at the same time nor should they be at 0% at the same time.


Any ideas are appreciated.

Mark

longedge
10-03-2004, 02:08 PM
There must be a much more elegant way to do this but do you mean something like this?

markstaylor
10-03-2004, 02:22 PM
Thanks Longedge!!! That is what I was looking for exactly.

What variables control how fast / slow the animation will be?

Thanks alot.

Mark

longedge
10-03-2004, 02:31 PM
The page.timer in the On Show event fires the increments, think I set it at 50 milliseconds which is where I normally start. Like I said, there must be a better way but not being a programmer I have to do things the 'long winded' way :)

yosik
10-03-2004, 03:11 PM
Mark,
You can do it, basing opacity of one image on the opacity of another.
Here is a quick project I amde to illustrate this.
Please check the global functions ( Fadein() and Fadeout() ).
Page.Onshow initialize values
Page.Ontimer calls to the functions
Buttons launch the Ontimer event.

Good luck.
Yossi

willfreer
10-06-2004, 12:45 PM
This is cool, but how do I get images to fade in on start up instead of clicking on the button?

Willie

longedge
10-06-2004, 02:40 PM
The attached shows a way of doing that Willie.

willfreer
10-07-2004, 02:42 PM
This is cool, How would I get the images to fade in on page show, and stay. Then when I jump to another page, 3 or more Items fade in and stay, and so on?

Thanks