Skip to main content
Inspiring
August 24, 2024
Question

action for slideshow buttons next prev

  • August 24, 2024
  • 1 reply
  • 2015 views

hello there

i made a frame sequence that progresses every 5 frames....

but i dont know the action script for this sequence, oly for every 1 frame

does anybody has the action for 5 by 5?

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    August 24, 2024

    you want to advance by 5 frames instead of one?  or you want to advance by one frame, but after 5 advances to something else?  or something else

    Inspiring
    August 24, 2024

    i want the action script to avance....to progress every 5 frames no 1

    thanks for the support

    kglad
    Community Expert
    August 24, 2024

    function advanceFiveF(e:MouseEvent):void{

    if(currentFrame+5>totalFrames){

    gotoAndStop((currentFrame+5)%totalFrames);

    } else {

    gotoAndStop(currentFrame+5);

    }

    }