(-: It would be a big help if someone could help me with this little problem i have.
Is there a way you can go to the last frame accessed by clicking a button?
So i can do a ‘Back’ Button so it goes to the last frame.
(-: It would be a big help if someone could help me with this little problem i have.
Is there a way you can go to the last frame accessed by clicking a button?
So i can do a ‘Back’ Button so it goes to the last frame.
Apply this action to your button:
on (release) {
prevFrame();
}
Couldn’t you have a variable declaration in each frame they could have come from, and then do something like…
//this is the button that you click to go somewhere
on(release){
backwhere = 15
//pretend this is frame 15
}
then on the back button
on(release){
gotoAndPlay(backwhere)
}
I dunno if this would work, it’s just an idea…
well there you go. i suck
Success!!! :A+:
Yea you can also give the frame a label name like “back” and apply this action to the button:
on(release){
gotoAndPlay("back");
}
:: Copyright KIRUPA 2024 //--