1 Reply Latest reply on Nov 21, 2007 6:57 AM by robdillon

    Simple Image Gallery

    simey70 Level 1

      I have created a simple image gallery, with appox 12 images, each on there own keyframe. I have 2 buttons, one for going forward, one for going back on the time line. On the buttons, i have put the following

      onRelease.gotoAndPlay(nextFrame); , but this does not work. Maybe this is for movie clip instances?

      also, is there a way to add some action script so the image fades in ?

      I hope somone can help this beginner actionscripter !

      Thanks in advance

        • 1. Re: Simple Image Gallery
          robdillon Most Valuable Participant
          You really want to name the button instances. Select each button,then in the properties window, give the button instance a unique name, say "nextOne" and "previousOne".

          Then in a new layer, write your actionscript to the frame space of the first frame. Select the first frame of this new layer, open the actions window. Then create two functions like this:

          nextOne.onRelease = function() {

          previousOne.onRelease = function() {

          You should get what you want.