rollover state to stay in flash
rollover state to stay in flash
Out of context: Reply #5
- Started
- Last post
- 6 Responses
- fyoucher10
or you can use a variable, if you want to track it and use it for other things.
var currentSection:String = "home";
//Add your basic button code, every time you get to a section you set that variable to whatever the section is called, and then just write a condition to check the "currentSection" on rollover, rollout, etc etc
on rollover code example:
if (currentSection == "aboutUs") {
doThisFunction();
} else {
doNothing();
}//Obviously replacing the strings and functions with your own.