Foros del Web » Creando para Internet » HTML »

Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

Estas en el tema de Problemas con visualizacion de una galeria flash AS3 + xml en Firefox en el foro de HTML en Foros del Web. Buenos días y gracias por vuestras posibles propuestas, llevo ya varios días intentando usar una galeria que he visto en internet en flash con as ...
  #1 (permalink)  
Antiguo 02/02/2010, 05:28
 
Fecha de Ingreso: noviembre-2009
Mensajes: 21
Antigüedad: 14 años, 4 meses
Puntos: 0
Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

Buenos días y gracias por vuestras posibles propuestas, llevo ya varios días intentando usar una galeria que he visto en internet en flash con as 3 y xml. En local reproduzco desde el .html y funciona en todos los navegadores (explorer, chrome y firefox), pero cuando lo subo al hosting, solo se visualiza en explorer y en chrome. En firefox no aparece nada y las veces que aparece algo dice que me falta el flash player.

La galeria se puede descargar desde este link gratuitamente: http://www.flashmo.com/preview/flashmo_133_fisheye

En ese link que he pasado se ve bien la galeria, descargo el archivo y lo subo al servidor, ya que creo que contiene todo lo necesario para que funcione, el xml, el swf las imagenes y el .html. Pero no funciona, llevo dos días googleando y no hay manera. Se ve en casi todas las versiones de explorer y chrome y en el firefox ni se ve en ninguna versión.

He leido por hay que es conveniente poner las imagenes al mismo nivel que los swf y los html, pero sigue sin funcionar.

Estado buscando innumerables soluciones tanto en castellano como en ingles y hoy hay solución.

No se si es porque es tecnologia AS3 ... alguien sabria cual es el motivo de que no funcione???



Gracias por alguna posible solucion un saludo!
  #2 (permalink)  
Antiguo 02/02/2010, 05:57
 
Fecha de Ingreso: noviembre-2009
Mensajes: 21
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

pongo los codigos.

el codigo del fla:
[as]// Copyright © flashmo.com
// Developed by Min Thu

stop();
import fl.transitions.Tween;
import fl.transitions.easing.*;

var filename_list = new Array();
var url_list = new Array();
var url_target_list:Array = new Array();
var title_list = new Array();
var description_list = new Array();

var i:Number;
var j:Number;
var tn:Number = 0;
var default_scale:Number = 0.6;
var new_scale:Number;
var center_x:Number = tn_group_mask.x + tn_group_mask.width * 0.5;
var half_of_tn_width:Number = 80;
var current_mc:MovieClip;

var total:Number;
var flashmo_xml:XML = new XML();
var folder:String = "thumbnails/";
var xml_loader:URLLoader = new URLLoader();
xml_loader.load(new URLRequest("flashmo_129_thumbnail_list.xml"));
xml_loader.addEventListener(Event.COMPLETE, create_thumbnail);

var thumbnail_group:MovieClip = new MovieClip();
stage.addChild(thumbnail_group);

thumbnail_group.mask = tn_group_mask;
thumbnail_group.x = tn_group.x;
thumbnail_group.y = tn_group.y;

tn_group.visible = false;
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";

function create_thumbnail(e:Event):void
{
flashmo_xml = XML(e.target.data);
total = flashmo_xml.thumbnail.length();

for( i = 0; i < total; i++ )
{
filename_list.push( flashmo_xml.thumbnail[i][email protected]() );
url_list.push( flashmo_xml.thumbnail[i][email protected]() );
url_target_list.push( flashmo_xml.thumbnail[i][email protected]() );
title_list.push( flashmo_xml.thumbnail[i][email protected]() );
description_list.push( flashmo_xml.thumbnail[i][email protected]() );
}
load_tn();
stage.addEventListener(Event.ENTER_FRAME, fisheye );
}

function load_tn():void
{
var pic_request:URLRequest = new URLRequest( folder + filename_list[tn] );
var pic_loader:Loader = new Loader();

pic_loader.load(pic_request);
pic_loader.contentLoaderInfo.addEventListener(Even t.COMPLETE, on_loaded);
tn++;
}

function on_loaded(e:Event):void
{
if( tn < total )
{
load_tn();
}

var flashmo_bm:Bitmap = new Bitmap();
var flashmo_mc:MovieClip = new MovieClip();

flashmo_bm = Bitmap(e.target.content);
flashmo_bm.x = - flashmo_bm.width * 0.5;
flashmo_bm.y = - flashmo_bm.height * 0.5;
flashmo_bm.smoothing = true;

var bg_width = flashmo_bm.width + 10;
var bg_height = flashmo_bm.height + 10;

flashmo_mc.addChild(flashmo_bm);
flashmo_mc.graphics.lineStyle(1, 0x666666);
flashmo_mc.graphics.beginFill(0xFFFFFF);
flashmo_mc.graphics.drawRect( - bg_width * 0.5, - bg_height * 0.5, bg_width, bg_height );
flashmo_mc.graphics.endFill();

flashmo_mc.name = "flashmo_" + thumbnail_group.numChildren;
flashmo_mc.buttonMode = true;
flashmo_mc.addEventListener( MouseEvent.MOUSE_OVER, tn_over );
flashmo_mc.addEventListener( MouseEvent.MOUSE_OUT, tn_out );
flashmo_mc.addEventListener( MouseEvent.CLICK, tn_click );

flashmo_mc.scaleX = flashmo_mc.scaleY = default_scale;
flashmo_mc.x = thumbnail_group.numChildren * 94;

thumbnail_group.addChild(flashmo_mc);
}

function tn_over(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

if( s_no > 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-2) ) );
if( s_no > 0 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no-1) ) );

if( s_no < thumbnail_group.numChildren - 2 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+2) ) );
if( s_no < thumbnail_group.numChildren - 1 )
thumbnail_group.addChild( thumbnail_group.getChildByName("flashmo_" + (s_no+1) ) );

thumbnail_group.addChild( mc );

tn_title.text = title_list[s_no];
tn_desc.text = description_list[s_no];
tn_url.text = url_list[s_no];
}

function tn_out(e:MouseEvent):void
{
tn_title.text = "";
tn_desc.text = "";
tn_url.text = "";
}

function tn_click(e:MouseEvent):void
{
var mc:MovieClip = MovieClip(e.target);
var s_no:Number = parseInt(mc.name.slice(8,10));

navigateToURL(new URLRequest(url_list[s_no]), url_target_list[s_no]);
}

function fisheye(e:Event):void
{
thumbnail_group.x -= ( mouseX - center_x ) * 0.05;

if( thumbnail_group.x > tn_group_mask.x + half_of_tn_width )
{
thumbnail_group.x = tn_group_mask.x + half_of_tn_width;
}
else if( thumbnail_group.x < tn_group_mask.x - thumbnail_group.width + tn_group_mask.width )
{
thumbnail_group.x = tn_group_mask.x - thumbnail_group.width + tn_group_mask.width;
}

if( mouseY > tn_group_mask.y && mouseY < tn_group_mask.y + tn_group_mask.height )
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));
var distance:Number = Math.sqrt(
Math.pow( Math.abs( stage.mouseX - (current_mc.x + thumbnail_group.x) ) , 2)
+ Math.pow( Math.abs( stage.mouseY - (current_mc.y + thumbnail_group.y) ) , 2)
);

new_scale = 1 - ( distance * 0.002 );

current_mc.scaleX += (new_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (new_scale - current_mc.scaleY) * 0.2;

if( current_mc.scaleX < default_scale )
current_mc.scaleX = current_mc.scaleY = default_scale;
}
}
else
{
for( j = 0; j < thumbnail_group.numChildren; j++ )
{
current_mc = MovieClip(thumbnail_group.getChildAt(j));

current_mc.scaleX += (default_scale - current_mc.scaleX) * 0.2;
current_mc.scaleY += (default_scale - current_mc.scaleY) * 0.2;
}
}
}[/as]
  #3 (permalink)  
Antiguo 02/02/2010, 05:58
 
Fecha de Ingreso: noviembre-2009
Mensajes: 21
Antigüedad: 14 años, 4 meses
Puntos: 0
Respuesta: Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

xml
[xml]<?xml version="1.0" encoding="utf-8"?>
<thumbnails>
<thumbnail filename="../flashmo_128_elegant.jpg" url="http://www.flashmo.com/preview/flashmo_128_elegant" target="_parent"
title="Item No. 1 (128 elegant)"
description="Elegant Design - Flash website template, subpages for products, AS3 contact form" />
<thumbnail filename="../flashmo_127_curtain.jpg" url="http://www.flashmo.com/preview/flashmo_127_curtain" target="_parent"
title="Item No. 2 (127 curtain)"
description="Curtain template for making simple Flash websites including ActionScript 3 + PHP contact form" />
<thumbnail filename="../flashmo_126_envelope.jpg" url="http://www.flashmo.com/preview/flashmo_126_envelope" target="_parent"
title="Item No. 3 (126 envelope)"
description="Envelope Template with drag N drop Flash photo gallery, ActionScript 3.0" />
<thumbnail filename="../flashmo_125_girls.jpg" url="http://www.flashmo.com/preview/flashmo_125_girls" target="_blank"
title="Item No. 4 (125 girls)"
description="The Girls - Fashion Style Flash Template with a background music loop" />
<thumbnail filename="../flashmo_124_delicious.jpg" url="http://www.flashmo.com/preview/flashmo_124_delicious" target="_blank"
title="Item No. 5 (124 delicious)"
description="Delicious Food - Restaurant Template made in Flash CS3, ActionScript 3" />
<thumbnail filename="../flashmo_123_business.jpg" url="http://www.flashmo.com/preview/flashmo_123_business" target="_blank"
title="Item No. 6 (123 business)"
description="Business Template built on Flash ActionScript 3 including email contact form" />
<thumbnail filename="../flashmo_122_3d_curve_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_122_3d_curve_gallery" target="_parent"
title="Item No. 7 (122 3d curve gallery)"
description="3D Curve Flash Photo Gallery using Papervision3D and XML" />
<thumbnail filename="../flashmo_121_3d_grid_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_121_3d_grid_gallery" target="_parent"
title="Item No. 8 (121 3d grid gallery)"
description="3D Grid - Flash Photo Gallery using Papervision3D and XML" />
<thumbnail filename="../flashmo_120_artwork.jpg" url="http://www.flashmo.com/preview/flashmo_120_artwork" target="_parent"
title="Item No. 9 (120 artwork)"
description="Artwork Flash Website - Dynamic XML Gallery, Free Templates" />
<thumbnail filename="../flashmo_119_swimwear.jpg" url="http://www.flashmo.com/preview/flashmo_119_swimwear" target="_blank"
title="Item No. 10 (119 swimwear)"
description="Swimwear flash website, beautiful transition effects" />
<thumbnail filename="../flashmo_118_fashion_gallery.jpg" url="http://www.flashmo.com/preview/flashmo_118_fashion_gallery" target="_blank"
title="Item No. 11 (118 fashion gallery)"
description="Fashion Gallery - XML photo gallery for models, simple transitions, and contact form" />
<thumbnail filename="../flashmo_117_artistic.jpg" url="http://www.flashmo.com/preview/flashmo_117_artistic" target="_self"
title="Item No. 12 (117 artistic)"
description="Artistic flash website, XML product list, XML news scroller, flash contact form, smooth sliding transitions" />
<thumbnail filename="../flashmo_116_dream.jpg" url="http://www.flashmo.com/preview/flashmo_116_dream" target="_self"
title="Item No. 13 (116 dream)"
description="Dream Flash website, XML news list, subpages for services, email form" />
<thumbnail filename="../flashmo_116_pinky.jpg" url="http://www.flashmo.com/preview/flashmo_116_pinky" target="_self"
title="Item No. 14 (116 pinky)"
description="Pinky flash template, XML news list, subpages, contact form" />
<thumbnail filename="../flashmo_115_scroller.jpg" url="http://www.flashmo.com/preview/flashmo_115_scroller" target="_parent"
title="Item No. 15 (115 scroller)"
description="Flash XML Scroller for news and announcement section, product list, portfolio list" />
<thumbnail filename="../flashmo_114_horizontal_menu.jpg" url="http://www.flashmo.com/preview/flashmo_114_horizontal_menu" target="_parent"
title="Item No. 16 (114 horizontal menu)"
description="Flash XML horizontal menu, animated buttons, rollover effects" />
<thumbnail filename="../flashmo_113_vertical_menu.jpg" url="http://www.flashmo.com/preview/flashmo_113_vertical_menu" target="_parent"
title="Item No. 17 (113 vertical menu)"
description="Flash XML menu vertical - glossy menu, animated menu" />
<thumbnail filename="../flashmo_112_news_tab.jpg" url="http://www.flashmo.com/preview/flashmo_112_news_tab" target="_parent"
title="Item No. 18 (112 news tab)"
description="Flash XML news tab, news reader, number tabs, auto play" />
<thumbnail filename="../flashmo_111_butterfly_studio.jpg" url="http://www.flashmo.com/preview/flashmo_111_butterfly_studio" target="_parent"
title="Item No. 19 (111 butterfly studio)"
description="Butterfly studio flash template including subpages" />
<thumbnail filename="../flashmo_110_flower.jpg" url="http://www.flashmo.com/preview/flashmo_110_flower" target="_parent"
title="Item No. 20 (110 flower)"
description="Flower company template, rotating flower animation" />
<thumbnail filename="../flashmo_109_rectangular.jpg" url="http://www.flashmo.com/preview/flashmo_109_rectangular" target="_parent"
title="Item No. 21 (109 rectangular)"
description="Rectangular portfolio flash template with simple motion tweens" />
<thumbnail filename="../flashmo_108_studio.jpg" url="http://www.flashmo.com/preview/flashmo_108_studio" target="_parent"
title="Item No. 22 (108 studio)"
description="Studio template including XML portfolio list and flash email form" />
<thumbnail filename="../flashmo_107_slider.jpg" url="http://www.flashmo.com/preview/flashmo_107_slider" target="_parent"
title="Item No. 23 (107 slider)"
description="Flash XML Product Slider with auto play mode" />
<thumbnail filename="../flashmo_106_color_wave.jpg" url="http://www.flashmo.com/preview/flashmo_106_color_wave" target="_parent"
title="Item No. 24 (106 color wave)"
description="Color Wave Studio, flash portfolio template, email form" />
</thumbnails>[/xml]

html
Código HTML:
<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>flashmo_133_fisheye</title>
<meta name="Keywords" content="Flash Fisheye Gallery, Flash XML Gallery, Free Flash Gallery, Adobe Flash CS3, ActionScript 3, flashmo_133_fisheye" />
<meta name="Description" content="Flash Fisheye Gallery, XML Flash Gallery, Adobe Flash CS3, ActionScript 3" />
<style type="text/css">
<!--
body {
	margin: 0px;
	color: #FFF;
	background-color: #000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10px;
}
a:link, a:visited { color: #6FF; }
-->
</style>
</head>
<body>
<div align="center">
  <!--url's used in the movie-->
  <a href="http://www.flashmo.com"></a>
  <!--text used in the movie-->
  <!-- saved from url=(0013)about:internet -->
  <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" name="flashmo_133_fisheye" width="800" height="400" align="middle" id="flashmo_133_fisheye">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="flashmo_133_fisheye.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#000000" />
    <embed src="flashmo_133_fisheye.swf" quality="high" bgcolor="#000000" width="800" height="400" name="flashmo_133_fisheye" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
  </object>
  <br /><br />
 <a href="http://www.flashmo.com" title="Free Flash Gallery">Flash Gallery</a>
</div>
</body>
</html> 
  #4 (permalink)  
Antiguo 10/02/2010, 07:28
 
Fecha de Ingreso: febrero-2010
Mensajes: 15
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

A mi me pasa lo mismo y no encuentro como solucionarlo.
Capaz el problema sea por las plantillas Flashmo porque yo tmb estoy trabajando con una de ellas!
  #5 (permalink)  
Antiguo 11/02/2010, 11:47
 
Fecha de Ingreso: febrero-2010
Mensajes: 15
Antigüedad: 14 años, 1 mes
Puntos: 1
Respuesta: Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

Meija encontraste alguna solucion?? Sigo renegando con esto y no puedo hacerlo funcionar.-
Graicas!
  #6 (permalink)  
Antiguo 01/01/2011, 11:55
 
Fecha de Ingreso: enero-2011
Mensajes: 1
Antigüedad: 13 años, 2 meses
Puntos: 0
Respuesta: Problemas con visualizacion de una galeria flash AS3 + xml en Firefox

se soluciono? tengo este mismo inconveniente, en firefox no muestra el contenido swf pero si en demas exploradores. Tanto si la pelicula esta o no en un servidor o desde una carpeta en mi pc.

Etiquetas: firefox, flash, galeria, visualizacion, xml
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:30.