Simple problem, but i'm farily new to Actionscript:
All i'm trying to do is when a user puts their mouse over one of the links by "welcome" a menu will scroll out. That I can easily do... the problem tho is when i go from one link to another.
Say this happens:
I mouseover the first link. Then i mouseover the 2nd. Now i want to go back to the first link. What i want it to do is when i mouseover on the 2nd link it tell all of the other link's movies to go back to frame 1.
so what i'm doing...
on button1:
ActionScript:
on (rollOver) {
clip1Name.play();
clip2Name.gotoAndStop(1);
clip3Name.gotoAndStop(1);
}
on button2:
ActionScript:
on (rollOver) {
clip1Name.gotoAndStop(1);
clip2Name.play();
clip3Name.gotoAndStop(1);
}
on button3:
ActionScript:
on (rollOver) {
clip1Name.gotoAndStop(1);
clip2Name.gotoAndStop(1);
clip3Name.play();
}
i have the movie clip placed on scene1, and a button within the movie clip. i I tried putting this code in the actions within the movie clip, and also the actions within the button.
the button, i believe, is the right place, and if i just put:
on (rollOver) {
play();
}
it will play that current movie, but when i add the name of the instance before the play "ourchapter.play()" it dosn't work.
there has to be some really simple explination for this?
All i'm trying to do is when a user puts their mouse over one of the links by "welcome" a menu will scroll out. That I can easily do... the problem tho is when i go from one link to another.
Say this happens:
I mouseover the first link. Then i mouseover the 2nd. Now i want to go back to the first link. What i want it to do is when i mouseover on the 2nd link it tell all of the other link's movies to go back to frame 1.
so what i'm doing...
on button1:
ActionScript:
on (rollOver) {
clip1Name.play();
clip2Name.gotoAndStop(1);
clip3Name.gotoAndStop(1);
}
on button2:
ActionScript:
on (rollOver) {
clip1Name.gotoAndStop(1);
clip2Name.play();
clip3Name.gotoAndStop(1);
}
on button3:
ActionScript:
on (rollOver) {
clip1Name.gotoAndStop(1);
clip2Name.gotoAndStop(1);
clip3Name.play();
}
i have the movie clip placed on scene1, and a button within the movie clip. i I tried putting this code in the actions within the movie clip, and also the actions within the button.
the button, i believe, is the right place, and if i just put:
on (rollOver) {
play();
}
it will play that current movie, but when i add the name of the instance before the play "ourchapter.play()" it dosn't work.
there has to be some really simple explination for this?