I have a very simple constructor in ActionScript as the following:
public function ButtonTest() {
this.addEventListener(MouseEvent.CLICK, browseFiles);
}
My problem is that when I open the SWF file itself, the window is not full size and the whole area responds to the mouse click. If I expand the window to full size, a margin of like 200 pixels on the left is not clickable. I hope I make some sense.
The issue is that I had the .SWF file in a in my HTML code, and when I make it small, it seems that only the center of the SWF file is clickable.
I hope someone can please help me.
Thank you,
Rudy
Set
stage.scaleModetoStageScaleMode.NO_SCALE, that will allow you to read the actual size of the movie so you can stretch the button over that entire area.