Skip to main content
Participant
January 3, 2008
Question

Changing/swapping Images

  • January 3, 2008
  • 5 replies
  • 376 views
Is there some code I can use to rotate about 20 small images without haveing a timeline that goes on forever?
This topic has been closed for replies.

5 replies

Damon Edwards
Inspiring
January 3, 2008
Take a look at the Tween Class
Inspiring
January 3, 2008
I could use similar help in creating a slide show without animating them in a timeline. I'm not sure how you fade the pics up with actionscript 2.0 while using only one frame.
kglad
Community Expert
Community Expert
January 3, 2008
where are the images? if they're external to your swf and will be loaded, you'll have some issues to resolve and if they're already in your swf, you must convert each to a movieclip.

if you give each a linkage id (right click on your library movieclips and click linkage), you can use actionscript to bring them to the stage and fade them in/out.
tdecosteAuthor
Participant
January 3, 2008
The images are not anything yet. I didnt know where to start. I want to loop from image1 to image20 and fade if possible, then start over again at image1, about 3 to 4 seconds per image.
kglad
Community Expert
Community Expert
January 3, 2008
if your images are movieclips, you can use their _rotation property in a loop to animate their rotation.