Hello everyone! Hope you are all enjoying this wonderful spring time weather. Just had a problem that i was wondering if you could help me with. What im trying to accomplish is a “you are here” state. For example, hellomedia. You notice that when you go to a different section of this site, the tab stays the green color. So what I’m trying to accomplish this in flash and have included a project that i would like to implement this on. Also, if you know of any tutorials that could help me out with this issue, that would also be greatly appreciated.
here are the files [COLOR=Red]| fla | [URL=“http://www.anthonybruno.info/kirupa/nav_final.swf”]swf[/COLOR]
here is the current actionscript i have on the fla file:
the scroller
stop();
easeSpeed = 5;
//slider_mc is your Movie Clip's name, not the Instance Name.
slider_mc.onEnterFrame = function() {
this._x += (xMove1-this._x)/easeSpeed;
};
button_1.onPress = function() {
xMove = button_1._x;
};
button_2.onPress = function() {
xMove = button_2._x;
};
button_3.onPress = function() {
xMove = button_3._x;
};
button_4.onPress = function() {
xMove = button_4._x;
};
Then the actual buttons
on (rollOver) {
// slider - Movie Clip's Instance Name. button_1 - Button's Instance Name.
slider.xMove = button_1._x;
overlay.gotoAndPlay("_on");
}
on (rollOut) {
overlay.gotoAndPlay("_off");
}
on (release) {
overlay.getURL("projects.html");
}
Thank you, Anthony