Flash de pantalla completa la imagen con cambio de tamaño.

  • ipdstudent
  • Novice
  • Novice
  • No Avatar
  • Registrado: Ene 21, 2007
  • Mensajes: 16
  • Loc: London
  • Status: Offline

Nota Noviembre 11th, 2008, 5:24 am

Hey chicos, preguntando si alguien me puede ayudar. Estoy tratando de crear un documento flash que se puede ver a pantalla completa, pero los cambios de tamaño de ciertas cosas y mantiene otros artículos de la misma. Por ejemplo, yo desea que el texto siga siendo 1 el tamaño, pero una imagen de fondo para obtener mayor. Un buen ejemplo son los siguientes:

http://www.lookmumimontheinternet.com/f ... ackground/
http://flashden.net/files/6421/index.html

Cualquier ayuda sería muy apreciada! :D
  • Anonymous
  • Bot
  • No Avatar
  • Registrado: 25 Feb 2008
  • Mensajes: ?
  • Loc: Ozzuland
  • Status: Online

Nota Noviembre 11th, 2008, 5:24 am

  • graphixboy
  • Control + Z
  • Mastermind
  • Avatar de Usuario
  • Registrado: Jul 11, 2005
  • Mensajes: 1828
  • Loc: In the Great White North
  • Status: Offline

Nota Noviembre 11th, 2008, 12:11 pm

ok hay varias cosas que usted necesita hacer.

Primero en el HTML al integrar su swf necesita eliminar los márgenes de página y el relleno y establecer el swf al 100% x 100%

También es necesario establecer allowscale en false. (eso significa que las escalas de nada menos que decirle a). Theres un ejemplo aquí que utiliza el SWFObject para colocar el swf y establecer su escala.

dentro de tu flash que usted necesita saber cuando el tamaño de los cambios swf y tiene que establecer everthings punto de partida. Usted puede hacer eso con una etapa de devolución de llamada
Código: [ Select ]
Stage.align = "TL"; // sets content to upper left corner
Stage.scaleMode = "noScale"; // repeats the no scale

var stageChange:Object = new Object();
stageChange.onResize = function() {
    // do something when stage size changes
        // image resize code here
}
Stage.addListener(stageChange);
  1. Stage.align = "TL"; // sets content to upper left corner
  2. Stage.scaleMode = "noScale"; // repeats the no scale
  3. var stageChange:Object = new Object();
  4. stageChange.onResize = function() {
  5.     // do something when stage size changes
  6.         // image resize code here
  7. }
  8. Stage.addListener(stageChange);
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com

Publicar Información

  • Total de mensajes en este tema: 2 mensajes
  • Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 56 invitados
  • No puede abrir nuevos temas en este Foro
  • No puede responder a temas en este Foro
  • No puede editar sus mensajes en este Foro
  • No puede borrar sus mensajes en este Foro
  • No puede enviar adjuntos en este Foro
 
 

© 2011 Unmelted, LLC. Ozzu® es una marca registrada de Unmelted, LLC