Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/11/2008, 15:19
Diavolon
 
Fecha de Ingreso: octubre-2008
Mensajes: 13
Antigüedad: 15 años, 6 meses
Puntos: 0
Respuesta: Flash al 100%

Hola que tal !!

Mira, yo no se mucho d ecodigos pero tengo un ejemplo que usa este codigo en el primer frame:

//set stage for FBF
Stage.align = "TL";
Stage.scaleMode = "noScale";


//define dynamic aspect ratios
picHeight = new Object ();
picHeight = pic._height / pic._width;

picWidth = new Object ();
picWidth = pic._width / pic._height;






//conditional statement to account for various initial browswer sizes and proportions

if ((Stage.height / Stage.width) < picHeight) {
pic._width = Stage.width;
pic._height = picHeight * pic._width;
} else {
pic._height = Stage.height;
pic._width = picWidth * pic._height;
};


//center picture on stage
pic._x = Stage.width / 2;
pic._y = Stage.height / 2;



// create listener
sizeListener = new Object();

// make listener change picture size and center picture on browser resize
sizeListener.onResize = function() {

if ((Stage.height / Stage.width) < picHeight) {

pic._width = Stage.width;
pic._height = picHeight * pic._width;
} else {
pic._height = Stage.height;
pic._width = picWidth * pic._height;
};


pic._x = Stage.width / 2;
pic._y = Stage.height / 2;

}

//add listener to stage
Stage.addListener(sizeListener);


Depues a tu pelicula le tienes que publicar en 100%, osea te vas a File/Publish Settings y ally le das a la pestaña de HTML y en Height y Weight le pones en porcentajes y le agreagas 100 a cada uno.

Trata y veras !!

Slaudos !!