Link to home
Start Free TrialLog in
Avatar of rxyl81

asked on

Flash Slide show with additional action

I want to make a slideshow in flash where I can have forward and backward buttons on the right and left sides of the movie that make the slides go to the next but also have buttons along the bottom if the person already knows what photo they want to see. The best example I can think of showing is the taco bell site. Here:
on the burritos page they have the left and right arrows. I want that and I also like the action. I've done an action like that for a forward movement in the timeline but I don't know how to do it backwards when you press the back button. In addition to these side buttons, (on the taco bell page they have tacos, burritos, gorditas etc. on the bottom that go to other pages but I want these bottom icons to be the same images of the current slide show) I want the bottom icons to be clickable and go to their corresponding image in the slide show fashion. I hope I'm explaining this correctly.

I think the forward motion is your basic straight forward forward motion right? I like how theirs fades out rather quickly as it gets to the next image. But how do I do the backwards motion? And how do I do the action on the buttons to go backwards to say image 1 if they are on image 4? Oh and this is in actionscript 2.0. I haven't learned 3.0 yet and don't even know much of 2.0. Please help! I've been trying to figure this out for weeks. This is my last resort.

Thanks ahead of time.
Avatar of moagrius
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rxyl81


I'd like to try what you suggest but if I can't get it to work, where would I be able to find these free slideshows you are mentioning?
a quick google of "flash slideshow" gave back several results...

you could try "flash slideshow" or "flash gallery" or "flash photo gallery", etc.
Avatar of rxyl81


Also, the script you are describing sounds beyond my comprehension level. How would I do this with the timeline? I only have about 10 images. So even though it would take longer, I'm thinking it might be easier for me. Thanks for the actionscript 2.0 info as well, I don't think I will be learning any more of that and go straight to 3.0.
Avatar of rxyl81


I only know how to add actionscript to frames or buttons. So I don't know where to even start with what you described. :(
i'm not sure you could do it with just frames - i think you'll need to learn actionscript.  start small - figure out how to create a textfield, write some text, and add it to the stage.  then figure out how to load an image.  then figure out how to change properties, then how to animate them.  at some point, you'll want to learn about OOP and class files, but you could do what you're describing in frame script.

some very breif basics (AS3).

create a new FLA.

click on Frame 1.

open the Actions panel.

paste the following:

var textfield:TextField = new TextField();  // create a textfield object
textfield.text = "howdy";  // write some text to it
this.addChild(textfield);  // add it to the display list

run Test Movie

Unfortunately, what you're describing isn't something I could write for you quickly.
Avatar of rxyl81


The problem is that I already started this in the timeline and I did all the forward work for it. I don't have enough time to learn actionscript and post this by next week on thursday. I really thought if you can do forward tweening that maybe you could do backward tweening with an action in the frame or by clicking on a button. :(
you can use prevFrame, but I'm pretty confident you're not going to be able to achieve everything you want without a decent dose of scripting.

in AS2:

in the frame actions of the first frame of the timeline you're animating, you can use something like this


this.onEnterFrame=function() {

if (this.rewind) {


} else {




then to rewind something, you just set the rewind variable to true...

rewindButtonMC.onPress = function(){
  yourAnimationInstance.rewind = true;
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.