PDA

View Full Version : controlling mc buttons, release state, if else?


drogue
08-09-2006, 04:57 AM
OK,
:eek:
I have a navbar, each button mc has an up, over, release state which also calls a mouse over event - follow mc -- to have a line follow mouse to each button (see FLA)

I need the release state of each button to remain -- not change once the HTML is loaded for each button, and when RollOut happens.
I guess I need an if else statement?? Help!

this is what i have on each button:

on (rollOver) {
_root.follow.A = "projects";
this.gotoAndStop("over");
}

on (rollOut) {
this.gotoAndStop("up");
}

on (release) {
this.gotoAndStop("release");

}

Also - after Release - or Rollout - the instance of "follow" mc (line) needs to remain in place - so it doesn't follow mouse again - once a button is selected - Another, if else statement!? Not sure!?

check out the FLA -- please - see how I can add this functionality to the buttons!

:)