Page 1 of 1

Buttons

Posted: Wed Jan 21, 2009 3:18 pm
by bsouthuk
Wonder if someone can help me on this:

I want to activate 3 buttons when I click on a completely different button. I have different scrypts in each of the 3 buttons so when I click button 4 for example I want the other 3 buttons to perorm their scripts. Does anybody know the code i need to put into button 4 to activate the other 3 buttons?

Thanks

Daniel

Posted: Wed Jan 21, 2009 4:47 pm
by FourthWorld
By "activate" do you mean they're currently disabled, or that you want to trigger them?

To enable them:

on mouseUp
enable btn "Button1"
end mouseUp

To trigger:

on mouseUp
send "mouseUp" to btn "Button1"
end mouseUp

or:

on mouseUp
click at the loc of btn "Button1"
end mouseUp

Posted: Wed Jan 21, 2009 6:59 pm
by bsouthuk
I wanted to trigger them - either way you've answered my question!

Thanks very much for that.

Daniel