Personal Project - Any help is much appreciated

Hi everyone,

I had been playing around flash for awhile and am currently doing a flash project (but my understanding of flash is limited and have been experiementing/researching). I have lots of images on each frame and a button to go forward (like reading a story). I am currently having a slight problem with the button.

Problem: I created a button which would take the user to the next page as shown below. It gets to a point where it just skips a certain frame(s) even though going through the beginning is fine (no skipped frame). So, I do no understand what went wrong. You click it and it goes from frame 6 to frame 8 (missing frame 7) and skips more frames (from then on e.g. 10-12). I have other clicked events on previous frames using the same button so does that cause any problems? I am still fairly new to this. Any help would be much appreciated!

Thanks.


var mymusic:Sound = new music1();
var channel1:SoundChannel = new SoundChannel();
channel1 = mymusic.play();

nxt_btn.addEventListener(MouseEvent.CLICK, clk2);
nxt_btn.addEventListener(MouseEvent.ROLL_OVER, rollovr2);
nxt_btn.addEventListener(MouseEvent.ROLL_OUT, rollot2);

function clk2(rtnevent:MouseEvent):void
{
nextFrame();
}

function rollovr2(rtnevent:MouseEvent):void
{
rtnevent.target.alpha = .9;
}

function rollot2(rtnevent:MouseEvent):void
{
rtnevent.target.alpha = 1;
}