Windows Standalone vs. Web Player

When I run my game in a Windows Standalone, all of the buttons lag. However, in a Web Player, they work perfectly. What’s going on? The only things that seems to lag in the Windows Standalone are the buttons. Is there a way to fix this? I don’t know if this helps but the image type for the buttons is primarily tiff.

does it lag with buttons if they do not have an image? would be great if you can post some code.
Changing the image format to png and trying that would be a good way to start troubleshooting.

Here are the two scripts that I use:

var normalTexture : Texture2D;
var overTexture : Texture2D;

function OnMouseEnter () {

	guiTexture.texture = overTexture;

}

function OnMouseExit(){

	guiTexture.texture = normalTexture;

}

and:

var norTexture : Texture2D;
var downTexture : Texture2D;

function OnMouseDown () {

	guiTexture.texture = downTexture;

}

function OnMouseUp(){

	guiTexture.texture = norTexture;

}

I have used .png images before and I don’t think they lagged as much, but they didn’t have as good a quality that the .tiff images do. Some of the images I’m using use alpha, but others that don’t still lag just as much.

Do you have different quality/resolution settings for the two builds? Perhaps the standalone build is running with higher settings so its causing more strain/lag on your system.

The quality settings for the Windows Standalone is set to good. I don’t know how to change the quality of the web player. Speaking of web player, how do you make the game play at a size other than the default? By default it’s too small; in full screen it is too large.

You change it through the quality settings in the editor - see the 3 settings at the beginning - as well as through code if you want to