# Personal Project - Any help is much appreciated

**URL:** <https://forum.kirupa.com/t/personal-project-any-help-is-much-appreciated/329953>\
**Category:** Uncategorized\
**Created:** [November 11, 2012, 10:20pm UTC](https://forum.kirupa.com/t/personal-project-any-help-is-much-appreciated/329953 "2012-11-11T22:20:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xius](https://avatars.discourse-cdn.com/v4/letter/x/73ab20/32.png) [@xius](https://forum.kirupa.com/u/xius)\
**Post date:** [November 11, 2012, 10:20pm UTC](https://forum.kirupa.com/t/personal-project-any-help-is-much-appreciated/329953/1 "2012-11-11T22:20:56Z")

</div>

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;  
}
