Slide show with fade-in transition

I want to create a jpeg slide show, in which there will be a fade-in or fade-out transition effect between the sildes. I can do a simple slide show with some pictures, but I can not provide any fade-in transition effect between slides. Is there any simple way to do that? If so, can anyone please tell me the steps to do this. I am new in this area. Thanks. -okd.
okdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Saqib KhanSenior DeveloperCommented:
I believe in Flash MX there is a Sample FLA file, which does this effect. maybe under lesson/samples folder.
0
OBCTCommented:
http://www.kirupa.com/developer/mx/photogallery.htm

This is a great tutorial for creating the type of effect you want to achieve.
You don't need to know much at all, as long as you know the most basic of things, you will be fine.
Happy flashing :)

Cheers

-OBCT
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jt6572Commented:
hey obct,
that link was excellent! thanks.

okd,
if it is just a simple slide show you want it is pretty easily done. i have just finished a massive one (which got REALLY boring doing!) and all i did was import the photos to the library (from file menu); give each pic a layer of its own and after inserting a keyframe where you want the image (F6 whilst on the timeline), drag from the library (F11) to the stage; convert the pic to a symbol (F8 - graphic); then give it an alpha value of 0%. then, depending on how fast you want the transition place another keyframe where the image will get at value of 100% alpha. simply right click between the two and insert motion tween. then, further down the timeline, place reciprocal keyframes, whereby the image goes from 100% alpha back to 0% with the second motion tween.
in the layer below this one, place your next image in exactly the same order, making sure that the keyframes are in the same frame, ie: where the first image is at 100% about to go to 0%, put the second image's 0% keyframe.
does that make sense? very basic way of doing it, but it works and gives the effect i think you are after...

good luck!

jt6572
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jt6572Commented:
ps: heres a tip i just found....

Comment from rascalpants
Date: 12/03/2003 08:07AM PST
 Comment  

one other tip that you might use is when ever you use Alpha tweens, you should never go from 0% to 100%...

instead you should go from 1% to 99%

I can't remember why, but this seems to help the CPU out a little bit...

rp
 
0
OBCTCommented:
Wow, I never knew that. I guess that proves you learn something new everyday :)
Cheers

-OBCT
0
OBCTCommented:
okd,

Please post a comment and let us know how you are going with your project

Cheers

-OBCT
0
okdAuthor Commented:
Hello OBCT: Thanks for your email. When start a new movie, how can I set the width and height. According to the tutorial, I just need only one layer and that is for the script, no layer for the images, right? I did the other stuff, but I can see only one picture, no slide show. Can you please tell me a bit detail. Thanks. - OKD

Hello jt6572: I also tried your way. Can you please tell me where can I give the alpha value. I am using Macromedia Flash MX 6.0. Many thanks. -OKD

0
okdAuthor Commented:
Hello all,

I did the slide show. I used three layers, namely background, movie clip and actions. The images and sound file are loaded dynamically from a folder. I have used 13 images, slide transition takes place automatically after 10 seconds. The sound is given in a loop and it will play 100 times. The following is the script I used. This is fine, but this is not the thing I wanted. The problem with this is that I have to supply images separately.

What I want is to put all the images in the timeline as keyframes. Is there any tutorial (with script) to do that? Thanks. - OKD.


square._alpha=0;
mypic=1;
// script causes slides to advance automatically every 5 seconds no start button it just plays
_root.onEnterFrame = function()
{
if (square._alpha < 10)
{
loadMovie("images/image" + mypic + ".jpg", "square")
fadeOut=false;
fadeIn=true;
message.text=mypic;
}
if (square._alpha > 10 && fadeOut)
{
square._alpha -= 10;
}
if (square._alpha < 100 && fadeIn && !fadeOut)
{
square._alpha += 10;
}
else
{
fadeIn=false;
}
if (mypic>=13)
{
mypic=1
startTimeSet=0;
}
if (getTimer() > 5000 && mypic < 13 && !fadeIn && !fadeout && mypic==1)
{
fadeout=true;
mypic=2;
}
if (getTimer() > 10000 && mypic < 13 && !fadeIn && !fadeout && mypic==2)
{
fadeout=true;
mypic=3;
}
// continue to add if statements for every image in the series mypic==3, 4, 5, 6, etc.
}

backmusic = new Sound();
onLoad()
{
 backmusic.loadSound("Test.mp3");
 backmusic.start(0,100)
}
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.