Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/02/2011, 08:53
Avatar de ceaped
ceaped
 
Fecha de Ingreso: febrero-2004
Mensajes: 2.185
Antigüedad: 20 años, 2 meses
Puntos: 9
Pregunta imagen de fondo con .as3

Buenos días para todos
Estoy tratando de utilizar para una multimedia una imagen de fondo así:

Cita:
stage.align = StageAlign.BOTTOM;
//stage.scaleMode = StageScaleMode.EXACT_FIT;
stage.displayState=StageDisplayState.FULL_SCREEN;
stage.addEventListener(Event.RESIZE, stage_Ampliar);
stage_Ampliar();

function stage_Ampliar(evt:Event = null):void {
textura_fondo_mc.x = (stage.stageWidth - textura_fondo_mc.width) / 2;
textura_fondo_mc.y = (stage.stageHeight - textura_fondo_mc.height) / 2;

}
Pero no me me lo hace de una manera MAL, me estira todo el contenido y ya le he cambiado las propiedades a "StageAlign" y "StageScaleMode" y nada.

Como hago para poner una imagen de fondo con .as3

Gracias por su ayuda
__________________
Diseñador Gráfico publicitario