Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Button affecting rollover state on another button

Status
Not open for further replies.

jeffhomer

Programmer
Jan 10, 2002
4
US
I have 2 separate buttons in a scene. When you mouse over button "B", I need button "A" to go to its rollover state.

Is this possible?

Thanks!
 
Yup :

Code:
on (rollOver) {
	but2.gotoAndStop(2);
}
on (rollOut) {
	but2.gotoAndStop(1);
}
Regards

Big Bad Dave

davidbyng@hotmail.com
 
Can you explain in further detail how I can implement this script into the instance properties? I'm a little confused.
 
I can't open the .fla file. Is it a Flash 5.0 file? I have Flash 4.0

Sorry to be such a pain. Thanks again!
 
No "onClipEvent" in Flash 4... Sorry!

What's your buttonA's rollover state exactly?
Is it an animation or just adifferent display?

Regards,
wink4.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top