-
need help
I'm trying to create a photo gallery, which has both the option to start and stop a slide show and/or play the next or previous set of pictures. How can I set the movie clips (I use movie clips instead of buttons) to go to the next set of pictures. Of course I could hand code for each and every frame, but it'd be a hell of a lot easier to place it within a function. Something like:
if(_root.myMovieClip._currentframe==1,2,3,4){
_root.myMovieClip.gotoAndStop(5);
}
if(_root.myMovieClip._currenframe==5,6,7,8,9){
_root.myMovieClip.gotoAndStop(10);
}
-
Untitled-1.fla
A function that goes to frame 5 if current frame is 1, 2, 3 or 4:
code: if(_root.myMovieClip._currentframe > 0 && _root.myMovieClip._currentframe < 5){
_root.myMovieClip.gotoAndStop(5);
}
-
tusen tak. du vet inte hur manga timmar att du har sparat mig. tak.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|