Groups | Blog | Home
all groups > flash actionscript > may 2004 >

flash actionscript : Static Previous and Next Buttons



kevin_tx
5/21/2004 9:08:06 PM
I'm new to actionscripting, but I know this can be done....

I've got two simple graphics (no rollover effects or anything - just static
left and right arrows) and I'm wanting to place actionscript whereby I convert
the graphics to buttons and, upon release after pressing the button - it goes
simply to the next or previous frame.

This way, I don't have to manually go into each frame and change the frame
number for the actionscripting.

Any help you could provide would be greatly appreciated...

Sincerely,

Kevin

Pete The Chop
5/21/2004 9:42:02 PM
you must convert your graphics to either movieClip or button symbols. Then, use
the cursor to select the object and in the actionscript window type one of the
following:

on(release){
nextFrame();
}

or

on(release){
prevFrame();
}

You can probably guess which one goes with which button.
kevin_tx
5/22/2004 4:12:29 AM

Thanks Pete!

Kevin
AddThis Social Bookmark Button