Comentario usuario
4
5
Usando embed para insertar flash e tenido problemas con mozilla firefox
Comentario usuario
3
5
Hola soy nueva disculpen que pregunte aca pero no se adonde debo postear jamas encontre el foro
Quisiera saber en que parte debo utilizr los codigos, por que yo tengo una pagina en www.pobladores.com no se si la conocen y quisiera utilizar algunos codigos pero no se si utilizar ls de javascript o los html y tampoco se en que parte de la hoja los debo poner
si en la cabecera o en el contenido si alguen puede aclararme las dudas por favor ^^ agregarme al msn
vampiresadark1986@hotmail.com muchas....graciassss
Comentario usuario
4
5
Hola Blue_666
No estoy seguro pero me parece que en Poblados.com no puedes insertar este codigo ya que es PHP y no te lo permiten.
Normalmente este tipo de paginas tipo myspace.com solo te permiten insertar simple html y maximo javascript.
saludos
Comentario usuario
4
5
que tal he probado el codigo pero me aparece esto:
'; return $RESULTADO; } echo PELICULA_FLASH("frame_cabecera.swf","400","200"); ?>
me puedes decir como corrijo este error?
Comentario usuario
5
5
MUCHAS GRACIAS ESTO ME DIO OPCION A INCLUIR FLASH DENTRO DE MIS PHP.
Ojo esta es la funcion FLASH_BTN, y al final se debe repetir, en el codigo anterior no estaba correcto
<?
function FLASH_BTN($PELICULA,$ANCHO,$ALTO){
$RESULTADO ='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'.$ANCHO.'" height="'.$ANCHO.'">
<param name="movie" value="'.$PELICULA.'" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="'.$PELICULA.'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'.$ANCHO.'" height="'.$ALTO.'" wmode="transparent"></embed></object>';
return $RESULTADO;
}
echo FLASH_BTN("tu_pelicula.swf","400","200");
?>
ESTE CODIGO SI ME FUNCIONO TAL CUAL INCLUIDO DENTRO DE MI PAGINA PHP
Comentario usuario
4
5
Use el codigo para poner una cabecera en flah para un wordpress. Pero solo se ve en la pagina de inicio.
No logro que se vea en las demas secciones. Que puede estar fallando si en local se ve perfecto?
Gracias
Gabriela
Comentario usuario
2
5
que pena estoy tratando de insertar una animacion en mi pagina y utilzo este codigo pero me aparece centrada y no se como hacer para q no lo centre.
Si alguien me puede colaborar
Comentario usuario
4
5
Buenos Días, el codigo para insertar animaciones flash corregido por cormiss funciona a la perfeccion, y le agradezco mucho su aporte.
pero al insertar la animacion flash en la pagina funciona muy bien, pero la animación aparece desde la mitad de la pagina para abajo no desde el borde superior, y no he encontrado como solucionar este problema.
me gustaria que por favor si alguien me pudiera colaborar solo agradeceria mucho
Comentario usuario
3
5
Una forma de controlar donde se ubica es colocar la animación dentro de una tabla, ya que en el tutorial de embed no indica que puedas ponerle donde quieres que aparezca.
Comentario usuario
4
5
Yo tambien lo probe en una tabla y se muestra de la mitad de la pagina hacia abajo...
Por favor ayuda...como puedo hacer que aparezca desde el borde superior. Gracias
Comentario usuario
1
5
Utilizo el codigo a la perfeccion pero cuando abro mi pagina PHP me dice que la pelicula no se pudo cargar, esto a que se debe
Comentario usuario
4
5
hola, el codigo si me funciona a perfeccion pero tengo una duda SUPUESTAMENTE el codigo php es del lado servidor y no se debe ver cuando le pongo codigo fuente pero este me deja toda la ruta de mi swf; alguna solucion...
se ve todo el pinche codigo lo unico que no se ve es <?php y <? nada mas el resto del codigo esta completico....
Comentario usuario
3
5
Muchas gracias, me ha sido muy útil
sólo una cosa, vigila que declaras la función
function FLASH_BTN($PELICULA,$ANCHO,$ALTO){
y la llamas:
PELICULA_FLASH("tupelicula.swf","400","200")
Salu2
Comentario usuario
1
5
súper la ayuda, gracias!
Comentario usuario
5
5
hola
gracias por colocar un ejemplo de las animaciones flash
en php. son muy utiles ya que no encontraba casi codigos
asi
Comentario usuario
1
5
Hola estoy siguiendo los pasos y se ve el flash pero no me aparece con sus color de fondo original, me aparece blanco, saben a q se deba eso?
Comentario usuario
1
5
M gusta pero no le entendi jijijijiji.............. HASLO MAS LLAMATIVO NO LO CREES
Comentario usuario
2
5
Hola, tengo una pagina en joomla y queria que cuando se entra a algun articulo, se redireccione a otro. Lo que hice fue hacer un SWF y lo queria poner en ese articulo y FUNCIONO! el problema fue que tambien lo queria poner en una direccion donde actua un .php como contenido. LAMENTO DESIR QUE NINGUN CODIGO ME FUNCIONO pero intente ponerlo en HTML y VUALA!
ESTE ES EL CODIGO QUE USE:
<object id="movie" type="application/x-shockwave-flash" wmode="transparent" data="UBICACION_DEL_SWF.swf" width="LARGO" height="ANCHO"><param name="movie" value="UBICACION_DEL_SWF.swf"><param name="wmode" value="transparent"></object>
Comentario usuario
1
5
<?php
/*
$Id: header.php,v 1.42 2003/06/10 18:20:38 hpdl Exp $
osCommerce, Open Source E-Commerce Solutions
Copyright (c) 2003 osCommerce
Released under the GNU General Public License
*/
// check if the 'install' directory exists, and warn of its existence
if (WARN_INSTALL_EXISTENCE == 'true') {
if (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install')) {
$messageStack->add('header', WARNING_INSTALL_DIRECTORY_EXISTS, 'warning');
}
}
// check if the configure.php file is writeable
if (WARN_CONFIG_WRITEABLE == 'true') {
if ( (file_exists(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) && (is_writeable(dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php')) ) {
$messageStack->add('header', WARNING_CONFIG_FILE_WRITEABLE, 'warning');
}
}
// check if the session folder is writeable
if (WARN_SESSION_DIRECTORY_NOT_WRITEABLE == 'true') {
if (STORE_SESSIONS == '') {
if (!is_dir(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NON_EXISTENT, 'warning');
} elseif (!is_writeable(tep_session_save_path())) {
$messageStack->add('header', WARNING_SESSION_DIRECTORY_NOT_WRITEABLE, 'warning');
}
}
}
// check session.auto_start is disabled
if ( (function_exists('ini_get')) && (WARN_SESSION_AUTO_START == 'true') ) {
if (ini_get('session.auto_start') == '1') {
$messageStack->add('header', WARNING_SESSION_AUTO_START, 'warning');
}
}
if ( (WARN_DOWNLOAD_DIRECTORY_NOT_READABLE == 'true') && (DOWNLOAD_ENABLED == 'true') ) {
if (!is_dir(DIR_FS_DOWNLOAD)) {
$messageStack->add('header', WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT, 'warning');
}
}
if ($messageStack->size('header') > 0) {
echo $messageStack->output('header');
}
?>
<!-- start -->
<table cellpadding="0" cellspacing="0" border="0" style="width:722px" align="center">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" style="height:238px;" class="header">
<tr>
<td align="center">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'logo.jpg')?></a></td>
<td>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<table cellpadding="0" cellspacing="0" border="0" style="height:30px">
<tr>
<td style="width:122px">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><?php
if (!isset($lng) || (isset($lng) && !is_object($lng))) {
include(DIR_WS_CLASSES . 'language.php');
$lng = new language;
}
$languages_string = '';
reset($lng->catalog_languages);
while (list($key, $value) = each($lng->catalog_languages)) {
$languages_string .= '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('language', 'currency')) . 'language=' . $key, $request_type) . '">' . tep_image(DIR_WS_LANGUAGES . $value['directory'] . '/images/' . $value['image'], $value['name']) . '</a> ';
}
echo $languages_string;
?></td></tr>
</table>
</td>
<td style="width:141px">
<table cellpadding="0" cellspacing="0" border="0">
<tr><td><?php
echo tep_draw_form('currencies', tep_href_link(basename($PHP_SELF), '', $request_type, false), 'get');
reset($currencies->currencies);
$currencies_array = array();
while (list($key, $value) = each($currencies->currencies)) {
$currencies_array[] = array('id' => $key, 'text' => $value['title']);
}
$hidden_get_variables = '';
reset($HTTP_GET_VARS);
while (list($key, $value) = each($HTTP_GET_VARS)) {
if ( ($key != 'currency') && ($key != tep_session_name()) && ($key != 'x') && ($key != 'y') ) {
$hidden_get_variables .= tep_draw_hidden_field($key, $value);
}
}
echo tep_draw_pull_down_menu('currency', $currencies_array, $currency, 'onChange="this.form.submit();" style="width:93px"') . $hidden_get_variables . tep_hide_session_id();
echo '</form>';
?></td></tr>
</table>
</td>
<td style="width:155px; vertical-align:middle;">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><?php echo tep_image(DIR_WS_IMAGES.'z1.gif')?></td>
<td width="100%"><?php echo BOX_HEADING_SHOPPING_CART?> (<a href="<?php echo tep_href_link('shopping_cart.php')?>"><?php echo $cart->count_contents()?> <?php echo BOX_SHOPPING_CART_EMPTY?></a>)</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image_button('m1.gif')?></a><a href="<?php echo tep_href_link('products_new.php')?>"><?php echo tep_image_button('m2.gif')?></a><a href="<?php echo tep_href_link('specials.php')?>"><?php echo tep_image_button('m3.gif')?></a><a href="<?php echo tep_href_link('account.php')?>"><?php echo tep_image_button('m4.gif')?></a><a href="<?php echo tep_href_link('contact_us.php')?>"><?php echo tep_image_button('m5.gif')?></a><br><a href="<?php echo tep_href_link('index.php?cPath=3')?>"><?php echo tep_image(DIR_WS_IMAGES.'p.jpg')?></a></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- end -->
<?php
if (isset($HTTP_GET_VARS['error_message']) && tep_not_null($HTTP_GET_VARS['error_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerError">
<td class="headerError"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['error_message']))); ?></td>
</tr>
</table>
<?php
}
if (isset($HTTP_GET_VARS['info_message']) && tep_not_null($HTTP_GET_VARS['info_message'])) {
?>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr class="headerInfo">
<td class="headerInfo"><?php echo htmlspecialchars(stripslashes(urldecode($HTTP_GET_VARS['info_message']))); ?></td>
</tr>
</table>
<?php
}
?>
<!-- start -->
</td>
</tr>
<tr>
<td style="background:url(images/p2.jpg) no-repeat top right;">
<!-- end -->
<?php
define(MAX_DESCR_1,'58');
define(MAX_DESCR_BESTS,'19');
define(MAX_DESCR_REVIEWS,'59');
?>
Don de Dice m1.gis, m2.gif, etc los quiero cambiar por un flash y no se como y no entiendo mucho, soy nuevo en esto y estoy aprendiendo por mi cuenta
Comentario usuario
5
5
Buen día!!
Solo queria agradecer por la informacion...me fue muy util..