[quoted text, click to view] chipjohns wrote:
> I want to make a slide show like the ones on MSNBC.COM
>
> http://
http://www.msnbc.msn.com/id/3842331/
>
> I can't duplicate the fade-out between pics. I aguess that they are putting
> them in movie clips..?? Yes/No??
> When switching from one to another how are they getting the fade out on the
> current pic before the next one loads.??
> Any help would be great..
It could be done in really easy way .
Make a movie clip with all your images and place each image on separate frame.
Give the movie clip instance name "all".
Than all you need is make a shape tween movie clip , call it "fade".
Say from frame 1 to 10 alpha fade from zero to 100 and from frame 10 to 20
from 100 to zero and stop(); action.
Why separate clip ? because tween of bitmap images is much more CPU intensive than
single color and the impression of fade is same anyway.
Than add new layer on top of the tween , and on frame 11 place an action
_root.all.gotoAndStop(vars);
All you need now is simple button with action :
on (release) {
fade.vars=3;
fade.gotoAndPlay(2);
}
each thumb will refer vars to particular frame of the movie clip.
thumb 1 button
fade.vars=2;
thumb 2 button
fade.vars=3;
etc....
So all you do is play the fade clip , when the fade out is done it reach frame
_root.all.gotoAndStop(vars);
which forward your image clip to frame given by the VARS and fade out
making impression like it was cross faded within images.
Less than 2 minutes work if you have your images ready .
Here, sample made based on the above decryption.
http://www.flashfugitive.com/cross_fade.swf I do understand it can be not that obvious if you did not actually
make it and hard to follow so I also upload the source
http://www.flashfugitive.com/cross_fade.fla But please , do read how it was done to understand the functionality.
Have a nice day
--
Regards
urami_*
<hol>
http://flashfugitive.com/ </hol>
By The way: