Código ActionScript :
Stage.scaleMode = "noScale";
Stage.align = "T";
abajo._y = Stage.height - abajo._height;
estrella._y = Stage.height - estrella._height;
estrella._x = Stage.width - estrella._width;
var miListener:Object = new Object();
miListener.onResize = function() {
abajo._y = Stage.height - abajo._height;
estrella._y = Stage.height - estrella._height;
estrella._x = Stage.width - estrella._width;
};
Stage.addListener(miListener);
estrella.onRelease = function (){
getURL("LALONCHERA.pdf", "_blank");
};Donde "abajo" es el nombre de instancia del texto "COMEMOS POR LOS OJOS" y "estrella" es el nombre de instancia del movieclip que es la estrella que gira. Cuando saco el swf con este código, la estrella se coloca en la esquina inferior derecha, pero a medida que expando el swf, la estrella no obedece el código y se va moviendo a la derecha hasta que desaparece.
¿Qué estoy haciendo mal? ¿Qué código debo usar para que la estrella siempre se coloque en la esquina inferior derecha?
Gracias.
PD: este es el código de lo que está colgado ahorita:
Código ActionScript :
Stage.scaleMode = "noScale";
Stage.align = "T";
abajo._y = Stage.height - abajo._height;
estrella._y = Stage.height - estrella._height;
estrella._x = 400;
var miListener:Object = new Object();
miListener.onResize = function() {
abajo._y = Stage.height - abajo._height;
estrella._y = Stage.height - estrella._height;
estrella._x = 400;
};
Stage.addListener(miListener);
estrella.onRelease = function (){
getURL("LALONCHERA.pdf", "_blank");
};Evidentemente no funciona, porque me coloca la estrella en x=400px, en lugar de la esquina inferior derecha que es donde la quiero, por la premura lo dejé así pero lo quiero resolver.
Gracias.
