PDA

View Full Version : Buttons



Don Albino
April 22nd, 2002, 10:05 AM
I need some help with this:

I want to make a picture gallery and use buttons that move you from picture to picture and backwards, but I don't want to tell button 1 to go to frame 2 and button 2 to got to frame 3 and so on (I hope you know what I mean)
Can I use on button on a separate layer with the same action set?
I tried something like that, but it didn't work:

on (release) {
thisframe =+1
}

and

on (release) {
thisframe =-1
}
but it didn't work. I'm kind of new to any action script other than gotAndPlay, easy functions and all that.

THX

Don Albino

I am not Jubba
April 22nd, 2002, 10:43 AM
try

on(release){
nextFrame()
}

or

on(release){
prevFrame()
}

Don Albino
April 22nd, 2002, 03:10 PM
I hate to admit it, but
YOU MADE MY DAY

Thx a lot