Topic: Funky hit area in embedded .swf

Hi,

I'm having an issue with the hit area of my forward and back buttons in the viewer.swf embedded in my .fla file. My viewer is 500px height by 1040 width, and it's positioned perfectly in my fla. The problem is the hit area does not correspond with these dimensions and actually seems to have shifted toward the top. So hovering above (outside) the viewer area actually triggers the buttons, while a good 1/3 of the bottom viewer area is unresponsive.

It's sort of difficult to convey this issue, so here's a link to my working beta site. Hover your mouse above and below the viewer area to replicate my problem: www bradeller com/new

I want the hit area to completely cover my entire viewer area, but not extend beyond it. Any suggestions greatly appreciated!

Re: Funky hit area in embedded .swf

Maybe it's the way the images are vertically centered in StageManager.as? It's got to be something in that script, right?

Re: Funky hit area in embedded .swf

maxImageWidth="500"
maxImageHeight="500" stagePadding="0"
vAlign="top"
hAlign="left"

But still nothing...Any ideas anyone?
That web address one more time:
www bradeller com/new

Thanks!

Re: Funky hit area in embedded .swf

In StageManager.as, changed this:

        //layout controls        
        var btnW = mBackBtn.width;
        mBackBtn.setBtnPosn(Math.round(Options.controlsHPadding + btnW/2),Math.round(h/2));
        mBackBtn.setHitSize(Math.round(w/2),Math.round(h/3*2));
        mBackBtn.setHitPosn(0,0);
        
        mNextBtn.setBtnPosn(Math.round(w - btnW/2 - Options.controlsHPadding),Math.round(h /2));
        mNextBtn.setHitSize(Math.round(w/2),Math.round(h/3*2));
        mNextBtn.setHitPosn(Math.round(w/2),0);
        
        mPlayBtn.setBtnPosn(w/2,h - Options.controlsVPadding - btnW/2);
        mPlayBtn.setHitSize(Math.round(w),Math.round(h/3));
        mPlayBtn.setHitPosn(Math.round(0),Math.round(h/3*2));

to this:

        //layout controls        
        var btnW = mBackBtn.width;
        mBackBtn.setBtnPosn(Math.round(Options.controlsHPadding + btnW/2),Math.round(h/2));
        
        //back button hit area size: X,Y)
        mBackBtn.setHitSize(500,500);
        
        //back button hit area positioning: X,Y)
        mBackBtn.setHitPosn(30,100);
        
        mNextBtn.setBtnPosn(Math.round(w - btnW/2 - Options.controlsHPadding),Math.round(h /2));
        
        //next button hit area size: X,Y)
        mNextBtn.setHitSize(500,500);
        
        //next button hit area positioning: X,Y)
        mNextBtn.setHitPosn(525,100);

A little heavy handed as it breaks all that nice math, but for my purposes it's perfect.