Copy link to clipboard
Copied
middle button not working called "rect1"
this is scene 1
scene 3 where the button is and its action script
that code should work for as long as your in scene 3. ie, remove that gotoAndPlay() at the end of your code.
Copy link to clipboard
Copied
that code should work for as long as your in scene 3. ie, remove that gotoAndPlay() at the end of your code.
Copy link to clipboard
Copied
ok that made it work. although i still have no idea how.
Copy link to clipboard
Copied
because when you exit that scene, those objects (box1 and box2) no longer exist.