![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
The function that you'll add to the button in Scene 2, to return the user to Scene 1, is similar to the function that you wrote to take the user to Scene 2.
//function takes user to Scene 1 when back_btn instance is released. back_btn.onRelease = function (){ gotoAndStop("Scene 1", 1); };
The only differences between this function and the function in Scene 1 are the name of the button and the name of the scene.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |