Jump to content
Search Community

Trying to create a looping fading slideshow

Handycam test
Moderator Tag

Recommended Posts

I am trying to create a looping sequence of several images in Flash that fade from one to the next every 3 seconds.

 

So far, I have the images on the stage, one atop the previous each in its own layer, as in:

 

pic3

pic2

pic1

 

I set the all to alpha 0 on the properties panel then did this:

var slideDelay:int = 3;

var timeline:TimelineMax = new TimelineMax({repeat:-1});
timeline.append( TweenMax.fromTo(p1, 2, {alpha:0}, {alpha:1}));
timeline.append( TweenMax.fromTo(p2, 2, {alpha:0}, {alpha:1}),slideDelay);
timeline.append( TweenMax.fromTo(p3, 2, {alpha:0}, {alpha:1}),slideDelay);

 

The problem is in trying to loop back to the beginning smoothly. Any suggestions?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...