zebbah
12-12-2002, 10:56 PM
hello!
I don't understand how to do this....
i have a button which goes to a "off" frame when released. on the same release event i'm trying to hold the name of the button instance (a mc) in a variable with _name. _root.variableName = _name
this works fine, but the problem is that i want it to go to a "on" frame when another button is pressed.
i thought _root.variableName.gotoAndStop("on") in the onrelease of the other button would work, but it doesn't...
anybody know what i'm doing wrong?
thanx for any help!
:)
I don't understand how to do this....
i have a button which goes to a "off" frame when released. on the same release event i'm trying to hold the name of the button instance (a mc) in a variable with _name. _root.variableName = _name
this works fine, but the problem is that i want it to go to a "on" frame when another button is pressed.
i thought _root.variableName.gotoAndStop("on") in the onrelease of the other button would work, but it doesn't...
anybody know what i'm doing wrong?
thanx for any help!
:)