Jump to content


Photo Gallery


  • You cannot reply to this topic
2 replies to this topic

#1 Jessica

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 20 April 2006 - 03:01 AM

Hi, I have a button that commands a Movie Clip (Gallery of images).

The button have this code:

on (release){
this.gallery.play();
}

Each time that I press this button, I can see the next Image.


I would like to create a second button
to get back to the previous image
each time I press this button.

How can I do?

Thanks

#2 jimbo1985

    Young Padawan

  • Members
  • Pip
  • 3 posts

Posted 20 April 2006 - 03:56 AM

Hi try changing your script for the next to this assuming your gallery is in the maintimeline and you have a stop(); in the movieclip of images called gallery

on (release){
_root.gallery.nextFrame();
}


and then for your back button use this

on (release){
_root.gallery.prevFrame();
}

Hope this helps

:tiphat:

#3 Jessica

    Young Padawan

  • Members
  • Pip
  • 7 posts

Posted 20 April 2006 - 05:59 AM

Thanks a lot Jimbo!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users