Using Buttons to change other objects' images
Hello, I'm attempting to put together a small animate project for my finals in college, and I've run into a massive roadblock with one specific function.
I want to be able to have a button's graphic change based on a button press.
The current system is as stands: In frame 0 there is the title, the instructions, and four buttons, three of which bring up additional content. All three of these will present the user with choices, where when you choose any of them, or the main menu button, it returns you to frame 0. However, I want the choices you have (AKA the buttons attached to those choices) to change the image of the button you originally pressed.
IE: >Click WorldChoiceButton; >Opens Menu; >Click PeacefulButton; >Changes image under WorldChoiceButton's frame to Peaceful.jpg
but I can't figure out what to do here to make this work. At first, I wanted to try changing the whole symbol used for the Buttons entirely, but then I decided to leave the button as a frame, with transparency in the middle, and place a Graphic symbol in the transparent space, and try using actions within the symbol to change the frame based on a global variable. Issue is, I don't know how to call on global variables in the script in Animate, and I everything I've attempted has caused some fatal error in the html code and it won't display in-browser as long as the code remains in place.
