I’m setting up a simple site for myself. I’m having problem with a background changer. Here is how my site’s setup. The content shows up at 5, in which there is a stop(); action, and another keyframe at frame 10, at which there is another stop(); action. Most of my content/menu is my on one frame.
I have two 600x400 images setup on another seperate layer just for them. One background is at frame 5, at which there is a stop(); action, and aother background at frame 10, at which there is another stop(); action. I have the following code on my movieclip buttons, labeled background1 and background2.
on (release) {
_root.gotoAndPlay(5)
}
I didn’t select it from the menu. Rather, just typed it out myself. But I know it’s right. There’s a little problem with it however. Upon exporting to .swf and publishing to .html, I tried clicking on Button #1 which should just take me to frame 5 and stop with background1, but when I click on Button #1, it goes to frame 5 the first time, then frame 10 the second time. When I click on Button #2, nothing happens. The code for Button #2 is as follows;
on (release) {
_root.gotoAndPlay(10)
}
It’s in _root because I want it to go to their respective frames on the root level. Can someone help me?