I have five buttons..portfolio, services, blah blah blah..
when pressed these buttons call a clip that houses a button that returns the user home..So they goto portfolio and the home button shows up..
action that calls the homelink clip which houses the return home button:
on (press) {
_root.homelink.direction = "forwards";
}
root.homelink plays reverse and fowards accordingly to play or hide the clip:
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.homelink.direction == "forwards" {
this.gotoAndStop(this._currentframe+1);
}
if (_root.homelink.direction == "backwards" {
this.gotoAndStop(this._currentframe-1);
}
}
///////davebings script
button inside homeclip which closes the mc is:
on (press) {
_root.homelink.direction = "backwards";
}
Now what i need is for the other 4 buttons to test and see if the homelink clip has played already..if it has do nothing..(that way everytime they click a nav button the homelink mc doesn't keep playing to it's fowards position)..If it has not, play..So i'm guessing it is something like:
on (press) {
if (_root.homelink == "alreadyplayed" {
do nothing;
}
else if it has not, play..
some help please?
carlsatterwhite@orlandomediasolutions.com
when pressed these buttons call a clip that houses a button that returns the user home..So they goto portfolio and the home button shows up..
action that calls the homelink clip which houses the return home button:
on (press) {
_root.homelink.direction = "forwards";
}
root.homelink plays reverse and fowards accordingly to play or hide the clip:
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.homelink.direction == "forwards" {
this.gotoAndStop(this._currentframe+1);
}
if (_root.homelink.direction == "backwards" {
this.gotoAndStop(this._currentframe-1);
}
}
///////davebings script
button inside homeclip which closes the mc is:
on (press) {
_root.homelink.direction = "backwards";
}
Now what i need is for the other 4 buttons to test and see if the homelink clip has played already..if it has do nothing..(that way everytime they click a nav button the homelink mc doesn't keep playing to it's fowards position)..If it has not, play..So i'm guessing it is something like:
on (press) {
if (_root.homelink == "alreadyplayed" {
do nothing;
}
else if it has not, play..
some help please?
carlsatterwhite@orlandomediasolutions.com