|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
gradual image fade out ...
i'm looking for a script or advice on how to gradually fade an image out from the side as a new image is revealed beneath it. then, after a few moments, the second image gradually fades from the side and is replaced by, you guessed it, another image.
the key here is that i don't want to do an alpha fade on the entire image all at once. i want it to gradually fade out from left to right. i appreciate that the input. thanks. d. |
|
#2
|
|||
|
|||
|
Hi, you can do that with an alpha gradient. Draw a new box shape. Give it a gradient color. Adjust both gradient colours to match your background colour. Now lower one sides alpha to zero. This box should be the same size as your image. So now you have a box that one side is transparent the other is not. Now draw a second box. Color this to be entirely the bg color. Drag it to the non transparent side of the previous box. Now put your now larger double box into it's own movie. Now motion tween that across your image. This might not do what you want...I think you want the second image to appear where the first one has faded dont you?...
|
|
#3
|
|||
|
|||
|
hi, thanks for your reply.
i've actually already tried that, but unfortunately, it doesn't replace the first image with the second. i suspect i need actionscript that measures the horizontal size of the image, then gradually decreases it's alpha to 0 from the left (or right) until the photo image has disappeared completely - ultimately, revealing the image on the layer beneath it. of course, writing this code is a different story. ![]() |
![]() |
| Viewing: Dev Shed Forums > Web Design > Flash Help > gradual image fade out ... |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|