Button problem

Hy folks!

I’m new here, I just registred. I hope I found a good community as I’m sure I’ll have same questions during my project. I try to be very specific so you may understand my problem.

Right now I’m working on a big project, but today I want to finish on of my buttons. I have an uploaded version of my flash on: http://www.onlinepokerelite.com/

Currently I’m working on my PKR button (left top card). As you can already see I set up the movie clip which contains:

  • card1
  • card2
  • nameplate
  • text
  • hover bonus
  • labels
  • actions

I finally managed to do the onmouseover/out animation with this script:

cardpkrbtn.addEventListener(MouseEvent.CLICK, cardpkrbtnClick);
cardpkrbtn.addEventListener(MouseEvent.ROLL_OVER, cardpkrbtnOver);
cardpkrbtn.addEventListener(MouseEvent.ROLL_OUT, cardpkrbtnOut);

function cardpkrbtnClick(event:MouseEvent):void {
navigateToURL(new URLRequest(“http://www.onlinepokerelite.com”), “_blank”); }

function cardpkrbtnOver(event:MouseEvent):void {
cardpkrbtn.gotoAndPlay(“Over”);
cardpkrbtn.buttonMode = true;
cardpkrbtn.useHandCursor = true;
}

function cardpkrbtnOut(event:MouseEvent):void {
cardpkrbtn.gotoAndPlay(“Out”); }

For a little sec I tought yeah… finally everything is okay and working, but if you move your mouse over the PKR cards, then down to the bonus which slides out and then somewhere outside and the instantly back onto the bonus images the whole thing gets bugged. :scared:

Is there any solution which could solve my problem?

Best regards,
shadyz