Comunidad de diseño web y desarrollo en internet online

Ayuda con swf Fullscreen

Citar            
MensajeEscrito el 09 Mar 2007 03:49 am
hola

quisiera que em ayuden con lo siguiente estoy creando una web a 1024 x 730

y quisiera que em quedara asi:

http://www.awgcollection.net/

NOTA: entren en la web que les deje y elijan ENGLISH

es como una especie de popup como lo hago para que quede asi.

gracias por sua yuda

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 09 Mar 2007 07:05 am
Yo esto lo haría con javascript y llamas la función desde flash, aunque suppongo que flash tendrá algún medio de hacerlo.

Pones esto entre los heads de de página principal en el HTML:

<script>
function fullwin(){
window.open("paginaquequieresgrande.html","","fullscreen,scrollbars=no")
}


</script>

Luego en el botón flash:

on(release){
getURL("javascript:fullwin()");
}

...y a funcionar

Por sirguy

52 de clabLevel



 

msie7
Citar            
MensajeEscrito el 09 Mar 2007 05:45 pm
pero lo pongo en la pagina pricipal o en la web que quiero en grande

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 09 Mar 2007 05:52 pm
En la web que quieras en grande y el codigo

Código :

on(release){
getURL("javascript:fullwin()");
}

En el boton que abre la ventana en Flash.

Por trino_as

138 de clabLevel



Genero:Masculino  

Venezuela

msie7
Citar            
MensajeEscrito el 09 Mar 2007 05:52 pm
ok men gracias lo voy a probar

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 09 Mar 2007 06:07 pm
men no me funciona coloque el codigo flash en el boton y el otro codigo en la web que quiero en grande ejemplo:
www.miweb.com/grande.html


y lo probe asi tambien

"grande.html"


y no me funciona no me abre nada

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 10 Mar 2007 02:13 am
Pasate todo el codigo HTML para verlo.

Por trino_as

138 de clabLevel



Genero:Masculino  

Venezuela

msie
Citar            
MensajeEscrito el 10 Mar 2007 04:38 am

Código :

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<script>
function fullwin(){
window.open("www.creatividadxtrema.com/cx.html","","fullscreen,scrollbars=no")
}


</script>


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>construccion</title>
<style type="text/css">
<!--
body {
   margin-left: 0px;
   margin-top: 0px;
   margin-right: 0px;
   margin-bottom: 0px;
}
-->
</style></head>
<body bgcolor="#333333">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
<p align="center"><font face="Trebuchet MS" size="12" color="#333333" letterSpacing="0.000000" kerning="0"><b><i>Contáctenos: &nbsp;</i></b></font></p><p align="center"><font face="Trebuchet MS" size="12" color="#333333" letterSpacing="0.000000" kerning="0"><a href="mailto:[email protected]"><b><i>[email protected]</i></b></a></font></p>
-->
<!-- saved from url=(0013)about:internet -->
<div align="center"
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="construccion" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="construccion.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed src="construccion.swf" quality="high" bgcolor="#333333" width="800" height="600" name="construccion" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 10 Mar 2007 04:38 am
ese es el codigo de la web de la pag que quiero ampliar

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 10 Mar 2007 04:42 am
pero cuando la llamo desde otrapágina en flash con el codigo anterior , no pasa nada no la abre y sigue en la misma página

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 10 Mar 2007 03:10 pm
Intenta asi:

Código :

-------------------------
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>construccion</title>
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style></head>
<body bgcolor="#333333">
<!--url's used in the movie-->
<!--text used in the movie-->
<!--
<p align="center"><font face="Trebuchet MS" size="12" color="#333333" letterSpacing="0.000000" kerning="0"><b><i>Contáctenos: &nbsp;</i></b></font></p><p align="center"><font face="Trebuchet MS" size="12" color="#333333" letterSpacing="0.000000" kerning="0"><a href="mailto:[email protected]"><b><i>[email protected]</i></b></a></font></p>
-->
<!-- saved from url=(0013)about:internet -->
<div align="center"
<object>
<script>
function fullwin(){
window.open("www.creatividadxtrema.com/cx.html","","fullscreen,scrollbars=no")
}
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="600" id="construccion" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="construccion.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#333333" /><embed src="construccion.swf" quality="high" bgcolor="#333333" width="800" height="600" name="construccion" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</script>
</div>
</body>
</html>
-----------------------------

Por trino_as

138 de clabLevel



Genero:Masculino  

Venezuela

msie7
Citar            
MensajeEscrito el 10 Mar 2007 08:07 pm
men nada de nada

si quieres dame tu email y te paso los archivos

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 11 Mar 2007 02:17 am
Dale click al link de Email debajo de mis posts.

Por trino_as

138 de clabLevel



Genero:Masculino  

Venezuela

msie7
Citar            
MensajeEscrito el 11 Mar 2007 06:23 pm
Hola Luisvenzuela

mira la verda que casi no se mucho respecto al tema y no se te sirva lo que ponga, pero haz intentado poner en el primer frame del flash que quieres grande lo siguiente:

fscommand("fullscreen", "true");

quiza de esta manera se solucione....suerte!!! :D

Por wilhelm jesus

13 de clabLevel



Genero:Masculino  

msie
Citar            
MensajeEscrito el 21 Mar 2007 10:01 am
si lo que quieres es poner una peliculaflash que ocupe todo el navegador lo puedes hacer poniendo en el primer fotograma de la pelicula este codigo:

Código :

Stage.scaleMode = "noScale";
fscommand("fullscreen", "true");


Luego en el html, crea una funcion en javascript para cargar el flash:

Código :

function cargarpeli(pelicula,version,ancho,altura,colorfondo){
   var cargapeli ="";
   cargapeli += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\"";
   cargapeli += " width=\""+ ancho +"\" height=\""+ altura +"\" id=\"FlashJS\" align=\"middle\"";
   cargapeli += " codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version="+ version +",0,0,0\">";
   cargapeli += " <param name=\"allowScriptAccess\" value=\"sameDomain\">";
   cargapeli += "<param name=\"movie\" value=\""+ pelicula +"\">";
   cargapeli += "<param name=\"quality\" value=\"high\">";
   cargapeli += "<param name=\"menu\" value=\"false\">";
   cargapeli += "<param name=\"scale\" value=\"noscale\">";
   cargapeli += "<param name=\"bgcolor\" value=\""+ colorfondo +"\">";
   cargapeli+= "<embed src=\""+ pelicula +"\" quality=\"high\" scale=\"noscale\" bgcolor=\""+ colorfondo +"\" width=\""+ ancho +"\" height=\""+ altura +"\" name=\"FlashJS\" align=\"middle\" menu=\"false\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\">";
   cargapeli += "</object>"
   document.write(cargapeli);
}


Y ya por ultimo lo que tienes que hacer es llamar a la funcion en el html:

Código :

<script type="text/javascript">cargarpeli('principal.swf','7','100%','100%','#ffffff');</script>


y con eso tendras tu swf, en toda la pantalla del navegador

Por vicmanpage

6 de clabLevel



Genero:Masculino  

Diseño - Comics - Música

firefox
Citar            
MensajeEscrito el 21 Mar 2007 05:21 pm
gracias men

Por luisvenezuela

53 de clabLevel



Genero:Masculino  

msie7
Citar            
MensajeEscrito el 09 Ago 2007 11:17 pm
Que tal, saludos a todos
Tengo una consulta estoy haciendo una web que tiene un efecto que se mueve ligeramente cuando se mueve el mouse valga la redundancia, y este es el codigo que use en mi html:

<code>
.swfcentro {
position: absolute;
top: 50%;
left: 50%;
margin-top: -384px;
margin-left: -512px;
height: 100%;
width: 100%;
}

-->
</style>
</script></head>
<body>
<div id="flashhm" class="swfcentro"><span class="style2" style="position:absolute; top:50px">SimpleViewer requires Macromedia Flash. <a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe">Get Macromedia Flash.</a>
</span>
</div>
<script type="text/javascript">
var so = new SWFObject("hm_1024x768.swf", "hm", "100%", "100%", "8", "#FFFFFF");
so.addParam("scale", "noscale");
so.write("flashhm");
</script>
</body>
</html>
</code>

y en mi flash tengo esto:

<code>
stop ();
Stage.scaleMode = "noScale";
Stage.align = "TL";

sizeListener = new Object();
sizeListener.onResize = function() {
mc_p._x = Stage.width/2
mc_p._y = Stage.height/2
};
</code>

el problema es que no me muestra todo el swf me lo corto un poco menos de la mitad a que se debe eso...

Gracias por la ayuda

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 09 Ago 2007 11:39 pm

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 09 Ago 2007 11:45 pm
hola que tal chevy, eso solo se logra usando un poco de SWFObject que lo puedes encontrar http://blog.deconcept.com/swfobject/ te permite ampliar al 100% tu swf incluyendo evitar el "Click" para activar el elemento....

saludos!!

Por andres_santos

236 de clabLevel



 

opera
Citar            
MensajeEscrito el 09 Ago 2007 11:50 pm
eso ya esta puesto si no lo viste es este pedazo;

Código :

<div id="flashhm" class="swfcentro"><span class="style2" style="position:absolute; top:50px">SimpleViewer requires Macromedia Flash. <a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe">Get Macromedia Flash.</a>
</span>
</div>
<script type="text/javascript">
var so = new SWFObject("hm_1024x768.swf", "hm", "100%", "100%", "8", "#FFFFFF");
so.addParam("scale", "noscale");
so.write("flashhm");

evito el click y funciona el fullscreen pero solo a lo ancho;

solucione el problemita en el flash;

antes:::::

stop ();
Stage.scaleMode = "noScale";
Stage.align = "TL";

sizeListener = new Object();
sizeListener.onResize = function() {
mc_p._x = Stage.width/2
mc_p._y = Stage.height/2
};

ahora::::::
Stage.scaleMode = "noScale";
Stage.align = "C";

sizeListener = new Object();
sizeListener.onResize = function() {
mc_p._x = Stage.width/2
mc_p._y = Stage.height/2
};


ahora no se corta pero no llega hasta el borde a que se deberia;

gracias por la ayuda

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 10 Ago 2007 12:03 am
hola Chevy!! ho disculpa no lo alcance a percibir, pero igual entonces estas cerca

saludos!!

Por andres_santos

236 de clabLevel



 

opera
Citar            
MensajeEscrito el 10 Ago 2007 12:06 am
si de eso me doy cuenta pero no se si es en el flash o en html...???

Gracias :D

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 10 Ago 2007 04:29 pm

Por Sisco

BOFH

3700 de clabLevel

12 tutoriales
4 articulos

Genero:Masculino   Bastard Operators From Hell

Catalunya

firefox
Citar            
MensajeEscrito el 13 Ago 2007 03:15 pm
Gracias por contestar segui tu consejo pero sigue sin funcionarme bueno de cierta forma me funciona; me explico con este codigo no me funciona el fullscreen y me corta el swf a la mitad;

Código :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>H</title>

<script type="text/javascript" src="swfobject.js"></script>
<head>
<style type="text/css">
<!--
.style2 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
}
-->
</style>

<style type="text/css">
<!--

.swfcentro {
position: absolute;
top: 50%;
left: 50%;
margin-top: -210px;
margin-left: -385px;
height: 100%;
width: 100%;
}
html { overflow:hidden; }
-->
</style>
</script></head>
<body>
<div id="flashh"><span class="style2" style="position:absolute; top:50px">SimpleViewer requires Macromedia Flash. <a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe">Get Macromedia Flash.</a>
</span>
</div>
<script type="text/javascript">
      var so = new SWFObject("h_1024x768.swf", "h", "100%", "100%", "6", "#FFFFFF");
      so.addParam("scale", "noscale");
      so.addParam("menu", "false");
      so.write("flashh");
   </script>
</body>
</html>


este es el recomendado para que no tengas que dar clic para interactuar.
ahora bien, de esta forma me funciona el fullscreen pero no se si sea la mas correcta y no se si tenga que darle clic para interactuar.:

Código :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>h</title>
<style type="text/css"> 
html, body { 
height: 100%; 
margin: 0; 
padding: 0; 
} 
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body bgcolor="#999999">
<!--url's used in the movie-->
<!--text used in the movie-->
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','100%','height','100%','src','h_1024x768','quality','high','menu','false','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','h_1024x768' ); //end AC code
</script>
</body>
</html>

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 13 Ago 2007 05:42 pm
Pero es que el primer código es para centrar el swf tanto en altura como en anchuro, no para mostrarlo en fullscreen!

Código :

.swfcentro {
position: absolute;
top: 50%;
left: 50%;
margin-top: -210px; (en teoría esto es la mitad del alto del swf)
margin-left: -385px; (y esto la mitad del ancho)
height: 100%;
width: 100%;
}


por eso te debe salir la mitad.

Por Sisco

BOFH

3700 de clabLevel

12 tutoriales
4 articulos

Genero:Masculino   Bastard Operators From Hell

Catalunya

firefox
Citar            
MensajeEscrito el 13 Ago 2007 06:09 pm
si me di cuenta de eso... jajaja asi que puse el siguiente codigo y ahora ya funciona correctamente...

Código :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- saved from url=(0014)about:internet -->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>H</title>

<script type="text/javascript" src="swfobject.js"></script>
<head>
<style type="text/css">
<!--
.style2 {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size: 12px;
}
-->
</style>

<style type="text/css">
<!--

html { overflow:hidden; }
-->
</style>
</script></head>
<body>
<div id="flashh" style="position:absolute; height:100%; width:100%; top:0%; left:0%; right:0%; bottom:0%"><span class="style2" style="position:absolute; top:50px">SimpleViewer requires Macromedia Flash. <a href="http://fpdownload.macromedia.com/get/flashplayer/current/install_flash_player.exe">Get Macromedia Flash.</a>
</span>
</div>
<script type="text/javascript">
      var so = new SWFObject("h.swf", "h", "100%", "100%", "8", "#FFFFFF");
      so.addParam("scale", "noscale");
      so.addParam("wmode", "transparent");
      so.addParam("menu", "false");
      so.write("flashh");
   </script>
</body>
</html>


Gracias por tu tiempo

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox
Citar            
MensajeEscrito el 13 Ago 2007 06:14 pm
Por favor usen la etiqueta de código:

Código :

 el codigo que sea 


gracias! :)

Por Sisco

BOFH

3700 de clabLevel

12 tutoriales
4 articulos

Genero:Masculino   Bastard Operators From Hell

Catalunya

firefox
Citar            
MensajeEscrito el 14 Ago 2007 02:37 pm
Saludos!
tengo otra inquietud no se ve bien en todos los computador probe la resolucion en esta pagina http://www.cuervoblanco.com/simulador-resoluciones.html y se ve en la esquina inferior derecha a que se debe eso si en mi computadora se ve bien porque no me centra el swf...

Por Chevy

165 de clabLevel

1 tutorial

Genero:Masculino  

Ecuador

firefox

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.