First off, your preloader is peculiar!
Do you allways want to go through this on each subsequent visit to your site?
You shouldn't use the ifFrameLoaded action, it's deprecated in Flash 5. Use _framesloaded & _totalframes.
That said, the ifFrameLoaded action, still works and that is not the source of your problem.
When addressing the main timeline from within a movie clip or a loaded movie, you must use a cumulative number of frames or a labeled frame to target a particular frame, because movie clips (and loaded external .swfs) see the main movie as one big scene even if it holds several of them.
Since your preloader lasts 91 frames, and you're targeting frame 2 of scene 1, you have to add all previous frames in your goto (91 + 2 = 93):
on (press) { // I hate the release state!
_root.gotoAndStop(93);
...
}
You must use the preceding _root, otherwise you'd be targeting the menu movie clip itself.
Because you might decide to change the lenght of your preloader (thus having to re-calculate the total number of frames in all of your targets!), a better way to target frame 2 of your main movie, is simply to label that frame with a unique label. Thus select frame 2, and in the frame panel name it frame2 or whatever and then use that label in your buttons:
on (press) { // I hate the release state!
_root.gotoAndStop("frame2"
...
}
Regards,
ldnewbie
Do you allways want to go through this on each subsequent visit to your site?
You shouldn't use the ifFrameLoaded action, it's deprecated in Flash 5. Use _framesloaded & _totalframes.
That said, the ifFrameLoaded action, still works and that is not the source of your problem.
When addressing the main timeline from within a movie clip or a loaded movie, you must use a cumulative number of frames or a labeled frame to target a particular frame, because movie clips (and loaded external .swfs) see the main movie as one big scene even if it holds several of them.
Since your preloader lasts 91 frames, and you're targeting frame 2 of scene 1, you have to add all previous frames in your goto (91 + 2 = 93):
on (press) { // I hate the release state!
_root.gotoAndStop(93);
...
}
You must use the preceding _root, otherwise you'd be targeting the menu movie clip itself.
Because you might decide to change the lenght of your preloader (thus having to re-calculate the total number of frames in all of your targets!), a better way to target frame 2 of your main movie, is simply to label that frame with a unique label. Thus select frame 2, and in the frame panel name it frame2 or whatever and then use that label in your buttons:
on (press) { // I hate the release state!
_root.gotoAndStop("frame2"
...
}
Regards,