Estoy realizando mi web a base de Flash por medio de Diagramación Líquida:
http://andresv.subiraqui.com/Ensayo.html
Al inicio logra ajustar los diferentes elementos al tamaño de las diferentes pantallas. El problema es que cuando se le da click a los botones estos aparecen aparecen en su ubicacion original del tamaño (800x600) y no se ajustan a la pantalla teniendo en cuenta la ubicacion escrita en el codigo; el unico modo para que dichos botones se ajusten es modificando manualmente el tamaño de la ventana.
Aqui muestro el codigo del primer SWF (boton Obras):
Stage.scaleMode = "noscale";
Stage.align = "TL";
_root.BarraAbajo.mn3 = Stage.width;
BarraAbajo._width = Stage.width;
BarraAbajo._y = Stage.height-135;
BarraAbajo._x = Stage.width/200;
_root.MariaLucia.mn4 = Stage.width;
MariaLucia._y = Stage.height-120;
MariaLucia._x = (Stage.width-300)/2;
_root.obras_btn.mn5 = Stage.width;
obras_btn._y = Stage.height-159;
obras_btn._x = (Stage.width-90)/2;
_root.OleoLienzo_btn.mn6 = Stage.width;
OleoLienzo_btn._y = Stage.height-180;
OleoLienzo_btn._x = (Stage.width-240)/2;
_root.Animacion.mn9 = Stage.width/2;
Animacion._y = (Stage.height-100)/2;
Animacion._x = Stage.width/2;
_root.OtrasObras_btn.mn10 = Stage.width;
OtrasObras_btn._y = Stage.height-196;
OtrasObras_btn._x = (Stage.width-170)/2;
_root.onResize = function() {
_root.BarraAbajo.mn3 = Stage.width;
BarraAbajo._width = Stage.width;
BarraAbajo._y = Stage.height-135;
BarraAbajo._x = Stage.width/200;
_root.MariaLucia.mn4 = Stage.width;
MariaLucia._y = Stage.height-120;
MariaLucia._x = (Stage.width-300)/2;
_root.obras_btn.mn5 = Stage.width;
obras_btn._y = Stage.height-159;
obras_btn._x = (Stage.width-90)/2;
_root.OleoLienzo_btn.mn6 = Stage.width;
OleoLienzo_btn._y = Stage.height-180;
OleoLienzo_btn._x = (Stage.width-240)/2;
_root.Animacion.mn9 = Stage.width/2;
Animacion._y = (Stage.height-100)/2;
Animacion._x = Stage.width/2;
_root.OtrasObras_btn.mn10 = Stage.width;
OtrasObras_btn._y = Stage.height-196;
OtrasObras_btn._x = (Stage.width-170)/2;
}
Stage.addListener(_root);
No se que puede estar mal. ¿Existirá algún Código para ubicar esos botones y q cumplan las distancias establecidas en la diagramacion liquida, independientemente del tamaño de la ventana?
Agradezco la atencion prestada y espero respuestas.