The subject sort of says it. I'm trying to get a movie to play in reverse and stop at a frame label. Or if not that, to play in reverse for X number of frames.
I have an inquring mind <I know, read the Inquirer - smile>, so I'd like to know both, but I was asking mostly about a button.
Situation: I have a slide show where the pictures move from right to left into the viewer. I have a button that says, previous so in I want the picture to move back to the previous slide, left to right.
It was so kind of you to do this. I really appreciate it. I'm going to study the programming to learn from your efforts.
If you'd be up for one more challegne, one of the things I found is that when you push the button labeled, "run movie from right to left," twice (something that's easy for a nervous visitor to do) the aninmation speeds up and the other buttons no longer work.
Any thoughts on this?
If you don't have any more time to work on this, I understand, you where very generous to provide the time that you did on this.
function reversing(){
if(count<14){
prevFrame();
count++;
}else{
clearInterval(back)
}
}
change the 14 to whatever number of frames you wish to go back
Yes, I put the code in each button. It still seemed to work only once. Even on the first back button, if I went ahead again, the first back button won't work.
I have now named all buttons "back". Do I have to set it up as array for the programming to address all back buttons?
Thanks oldnewbie. The movie does indeed reverse as a stand alone swf. One thing I didn't mention was that this movie loads into a target movie called, "artist movie". I didn't mention it because I thought if I just changed the coding for the path it would work - it doesn't.
Here's the url for the web site I'm working on for a good friend of mine. It's
The easiest, if you don't want to change the scripts in "artist.swf", would be to load on another level rather than loading in a container clip. Then, outside of a potential positioning problem which can be easily solved, the movie would work as I initially scripted it.
If you persist in wanting to load it in a container clip, you have to make the changes you made above (assuming your container clip in your main movie is named "artist_movie", but you also have to change the reference to the reverseMe function from _root.reverseMe(); to _parent.reverseMe(); on all of the back buttons.
If you do that the artist.swf won't work on it's own, and only will when loaded in the main movie.
The other choice would be to leave it to _root.reverseMe();, but to define the function in the main movie rather than in the artist.swf itself.
But as I said I'd try loading on a level rather than the container clip, with the artist.swf having my original scripting...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.