Navigation

hi,

I have a set of buttons (home, aboutus, contactove) and a scene for every page. I want to move to the page when I click on the corresponding button. I need a way to caputre the button that is pressed.

I tried

about_mc.name = “about”;

but I got this error

The name property of a Timeline-placed object cannot be modified.

Can anyone tell me how to approach this?

AK