nim23
10-09-2008, 08:23 PM
Hi there,
I have found another post in the search very similar, but because I am a beginner at this stuff I couldn't quite get to grips with it.
I have a website up at http://www.nim23.co.uk
If you play it everything technically works fine, but, the back button doesn't go to where I want it to.
The first movieclip that it played it the intro logo, contact info, portfolio, contact and mini logo. These are all in the first mc.
Once portfolio is clicked on, and then any subsequent button, these are all new mc's on different frames which are jumped to using the gotoandplay command in actionscript.
The 'Back' button I want to skip back to a specific frame within the first mc mentioned above.
I have this first mc frame mentioned above called 'mainmenu'. Within this mc I have named frame 210 'goback' because this is the specific frame I would like the 'Back' button to go back to. Going to this specific frame skips the fade-in and fade-out of the large logo, and is intended to start at where the menu options fades in.
My actionscript gotoandplay code used for buttons is as follows:
on (release) {
_root.gotoAndPlay("frame_name");
}
For the back button I currently have:
on (release) {
_root.gotoAndPlay("mainmenu","goback");
}
I also tried this with no avail:
on (release) {
_root.gotoAndPlay("mainmenu",210);
}
This code seems to work to a certain extent, because I am able to go back to the beginning of the 'mainmenu' mc, but I want to skip all if of the large logo thing when going back.
Can anyone enlighten me?
Thanks in advance,
Nick
I have found another post in the search very similar, but because I am a beginner at this stuff I couldn't quite get to grips with it.
I have a website up at http://www.nim23.co.uk
If you play it everything technically works fine, but, the back button doesn't go to where I want it to.
The first movieclip that it played it the intro logo, contact info, portfolio, contact and mini logo. These are all in the first mc.
Once portfolio is clicked on, and then any subsequent button, these are all new mc's on different frames which are jumped to using the gotoandplay command in actionscript.
The 'Back' button I want to skip back to a specific frame within the first mc mentioned above.
I have this first mc frame mentioned above called 'mainmenu'. Within this mc I have named frame 210 'goback' because this is the specific frame I would like the 'Back' button to go back to. Going to this specific frame skips the fade-in and fade-out of the large logo, and is intended to start at where the menu options fades in.
My actionscript gotoandplay code used for buttons is as follows:
on (release) {
_root.gotoAndPlay("frame_name");
}
For the back button I currently have:
on (release) {
_root.gotoAndPlay("mainmenu","goback");
}
I also tried this with no avail:
on (release) {
_root.gotoAndPlay("mainmenu",210);
}
This code seems to work to a certain extent, because I am able to go back to the beginning of the 'mainmenu' mc, but I want to skip all if of the large logo thing when going back.
Can anyone enlighten me?
Thanks in advance,
Nick