hola, me esta pasando algo similar a lo que comentas, creo.
Fijate, voy a publicarles abajo lo que estoy haciendo y lo monté todo en mi server para que vean lo que sucede.
Tengo un home al en el cual tengo todo arreglado con mi diagramación liquida y me funciona perfecto.
Llamos los swf hijos en un contenido_mc que esta anclado en x=0 e y=0.
mi swf llamado "stores" tiene un mc el cual al publicarlo solo ocupa todo el navegador como corresponde.
Al ser llamado por el movie madre (en este caso index) (colo el codigo usado al final de este post.
La cosa esta en que al publicar el index el swf "stores" a pesar de tener el codigo para que se adapte completamente al tamanio del explorador carga en un tamanio mas pequenio dejando un hueco a la derecha. no se su razón, por lo que voy a dejar los códigos que uso en el index y el codigo de "stores" para ver si me pueden ayudar.
Si puedes guiate con mi diagramación es super fácil, cualquier duda me preguntas.
Código :
stop();
Stage.scaleMode = "noScale";
Stage.align = "TL"
var HPositioner:Number = (Math.round((Stage.width - 1000) / 2));
var VPositioner:Number = (Math.round((Stage.height - 600) / 2));
function HPositionCubes () {
if (Stage.width >= 1001) {
var HPositioner:Number = (Math.round((Stage.width - 1000) /2));
// setProperty(_root.contenido_mc, _x, 0);
setProperty(barraInf, _x, 0);
barraInf._width = Stage.width
setProperty(logo, _x, 10);
setProperty(inicio, _x, 250);
setProperty(catalogo, _x, 300);
setProperty(stores, _x, 360);
setProperty(contactos, _x, 420);
} else {
// setProperty(_root.contenido_mc, _x, 0);
setProperty(barraInf, _x, 0);
barraInf._width = Stage.width
setProperty(logo, _x, 10);
setProperty(inicio, _x, 250);
setProperty(catalogo, _x, 300);
setProperty(stores, _x, 360);
setProperty(contactos, _x, 420);
}
}
function VPositionCubes () {
if (Stage.height >= 601) {
var VPositioner:Number = (Math.round((Stage.height - 600) /2));
// setProperty(_root.contenido_mc, _y, 0);
setProperty(barraInf, _y, Stage.height - barraInf._height);
setProperty(logo, _y, Stage.height - 55);
setProperty(inicio, _y, Stage.height - 43);
setProperty(catalogo, _y, Stage.height - 33);
setProperty(stores, _y, Stage.height - 33);
setProperty(contactos, _y, Stage.height - 33);
} else {
// setProperty(_root.contenido_mc, _y, 0);
setProperty(barraInf, _y, Stage.height - barraInf._height);
setProperty(logo, _y, Stage.height - 55);
setProperty(inicio, _y, Stage.height - 43);
setProperty(catalogo, _y, Stage.height - 33);
setProperty(stores, _y, Stage.height - 33);
setProperty(contactos, _y, Stage.height - 33);
}
}
HPositionCubes();
VPositionCubes();
var resizeListener:Object = new Object();
Stage.addListener(resizeListener);
resizeListener.onResize = function () {
HPositionCubes();
VPositionCubes();
};
Codigo para hacer "stores" ocupe todo el navegador, (es un mc con una foto que se puede utilzar de fondo)
Código :
Stage.scaleMode = "noscale";
//-----------------------
var StageWidth:Number = 1000;
var StageHeight:Number = 600;
function escalaFondo()
{
if (Stage.width > Stage.height) {
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();