Problemas al reescalar imagen y thickbox
Hola, estoy haciendo una web con una imagen de fondo reescalable a partir de este código:
<code>Código:
Stage.scaleMode = "noscale";
//-----------------------
var StageWidth:Number = 950;
var StageHeight:Number = 610;
function escalaFondo()
{
if (Stage.width > fondo._width) {
fondo._width = Stage.width;
fondo._yscale = fondo._xscale;
} else {
fondo._height = Stage.height;
fondo._xscale = fondo._yscale;
}
fondo._x = (StageWidth - fondo._width) / 2;
fondo._y = (StageHeight - fondo._height) / 2;
}
//-----------------------
Stage.addListener(this);
this.onResize = escalaFondo;
escalaFondo();
//-----------------------
stop(); </code>
Que cogí de <A HREF="http://www.domestika.org/foros/viewtopic.php?t=59958&highlight=background">aquí</A>
pero cuando intento usar el thickbox el fondo se hace pequeño y no tengo mucha idea de AS así que no se por que puede ser.
Gracias por adelantado