Comunidad de diseño web y desarrollo en internet online

Flash "allowscale" en el browser

Citar            
MensajeEscrito el 07 Jun 2008 02:59 am
Buenas !

La cuestion es la siguiente, tengo una peli que necesito funcione con el ActionScript de "allowscale" en la ventana del browser y teniendo la peli con el Script no funciona en el html no me funciona, que tendré que hacer ? alguien me puede ayudar ? Por otro lado tengo el html con una tabla que propoicia que las cosas que contenga se mantengan centradas en el browser

Déjo el código del HTML por si alguien sabe de la materia y pueda que sea algo de eso ... SALUDOS Y GRACIAS A TODOS LOS LECTORES !!

...<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>title</title>
<style type="text/css">
<!--
#container {
position: absolute;
top: 50%;
left: 50%;
margin-top: -224px; /* width 449px/2 */
margin-left: -318px; /* width 637px/2 */
}
body {
background-color: #FFFFFF;
}
-->
</style>
<script src="file:///H|/tic-tac/webeeo/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>

<body>

<div id="container">
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','637','height','449','src','flash_files/placa','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','flash_files/placa' ); //end AC code
</script>
<noscript>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="637" height="449">
<param name="movie" value="flash_files/placa.swf">
<param name="quality" value="high">
<embed src="flash_files/placa.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="637" height="449"></embed>
</object>
</noscript>
</div>

</body>
</html>

Por sagaz

11 de clabLevel



Genero:Masculino  

firefox
Citar            
MensajeEscrito el 09 Jun 2008 11:22 pm
A ver a ver... qué es lo que necesitas??

Si lo que quieres es que NO SE ESCALE LA PELÍCULA, el código es este:

Stage.scaleMode = "noScale";

y si quieres que se escale pues no pongas nada... después en las propiedades del objeto en el HTML, en ancho y alto, pones ="100%" y ya con eso queda.

los FSCOMMANDS, son para Flash Stand-alone Players (de ahí el FS)

Tonx no sirven en browsers

Suerte

Por Stockman

Claber

145 de clabLevel



 

firefox

 

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