Comunidad de diseño web y desarrollo en internet online

Ayuda con esto

Citar            
MensajeEscrito el 20 Ago 2009 01:57 pm
Hola a todos,

perdon mi ignorancia pero tengo una galeria de imagenes en XML que un amigo me dio, pero al verla en mi equipo no se ejecuta pero al estar en internet funciona de maravilla...por q ocurre esto=?? o q debo hacer para q me funcione

Gracias :cool:

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 02:10 pm
Hola,

verifica que las rutas a los archivos este correctas.

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 02:15 pm
si ya revice y me dice flash error no se encenra el archivo galeria.xml en la carpeta imagenes pero al revizar si esta y no se por q no la encuentra

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 02:22 pm
Y en la ruta has puesto"carpeta_de_imagenes/galerio.xml"?

Realmente creo que estara bien, porque se supone que cuando lo cargas externamente, funciona desde el archivo donde esta cargado, no desde el flash.

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 02:39 pm
la galeria q tengo es similar a esta si por favor revisas q sucede. Gracias

http://www.flashmo.com/preview/flashmo_026_photo_xml

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 02:44 pm
Supongo que la galeria la tendras cargada en algun archivo html.

Si ese archivo lo ves en local, te funciona? No te estoy hablando del flash, ni la galeria, sino el archivo html donde la tienes cargada.

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 02:50 pm
No en local no lo hace aparece el swf en blanco

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 02:57 pm
Puedes explicar un poco el codigo que tiene? asi, sin mas....no se que mas decirte...

Estoy casi convencido de que es por las rutas, si dices que subido si te funciona...

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 02:59 pm

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 03:02 pm
No veo ningun codigo... :?

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 03:13 pm
no toca en la parte de abajo descargar el archivo y es el mismo archivo q estoy usando....

Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7
Citar            
MensajeEscrito el 20 Ago 2009 03:18 pm
En este momento no puedo descargar nada....

Si puedes explicarlo tu y ponerlo, mejor.

Por Wyrm

Claber

1545 de clabLevel

15 tutoriales

 

firefox
Citar            
MensajeEscrito el 20 Ago 2009 03:34 pm
bueno estos son los codigos q hay:

fotograma 1:

Código :


photo_filename = new Array();
photo_thumbnail = new Array();
photo_description = new Array();

filepath = "../photos/";

// Load the photos XML
var flashmo_xml = new XML();
flashmo_xml.ignoreWhite = true;
flashmo_xml.onLoad = function()
{
   var nodes:Array = this.firstChild.childNodes;
   for(var i=0;i<nodes.length;i++)
   {
      photo_filename.push(nodes[i].attributes.filename);
      photo_thumbnail.push(nodes[i].attributes.thumbnail);
      photo_description.push(nodes[i].attributes.description);
   }
   
}
flashmo_xml.load(filepath + "flashmo_024_photos.xml");




fotograma 2

Código :

this.onEnterFrame = function()
{
   if( flashmo_xml.loaded )
   {
      play();
   }
   else
   {
      gotoAndStop(2);
   }
}


fotograma 3

Código :


x_middle = Stage.width/2;
y_middle = Stage.height/2;

tn_group.tn._visible = false;
tn_group.setMask( tn_area );
tn_alpha_default = 100;
tn_spacing = 4;
p = 0;

for( var i = 0; i < photo_thumbnail.length; i++ )
{
   tn_group.tn.duplicateMovieClip("tn"+i, i);
   
   tn_group["tn"+i].tn_pic.loadMovie( filepath + photo_thumbnail[i] );
   tn_group["tn"+i].tn_pic2.loadMovie( filepath + photo_thumbnail[i] );
   tn_group["tn"+i]._x = i * (tn_group.tn._width + tn_spacing);
   tn_group["tn"+i]._y = tn._y;
   tn_group["tn"+i].tn_pic._alpha = tn_alpha_default;
   tn_group["tn"+i].tn_no = i;
   
   tn_group["tn"+i].tn_button.onRollOver = function() 
   {
      this._parent.tn_pic._alpha = 80;
   }
   tn_group["tn"+i].tn_button.onRollOut = function() 
   {
      this._parent.tn_pic._alpha = tn_alpha_default;
   }
   tn_group["tn"+i].tn_button.onRelease = function() 
   {
      _root.p = this._parent.tn_no;
      _root.play();
   }
}

onEnterFrame = function()
{
   if( _ymouse > tn_group._y - 30 and _ymouse < tn_group._y + tn_group._height )
   {
      x_speed = -(_xmouse - x_middle ) / 30;

      if( _xmouse > x_middle )
      {
         if( tn_group._x + tn_group.tn._width > tn_area._width - tn_group._width + tn_area._x )
            tn_group._x+=x_speed;
      }
      else
      {
         if( tn_group._x - tn_group.tn._width < tn_area._x )
            tn_group._x+=x_speed;
      }
   }
   if( _ymouse < y_middle )
      desc_speed = pic_desc._y / 8;
   else
      desc_speed = ( pic_desc._height + pic_desc._y ) / 8;

   pic_desc._y -= desc_speed;

}


Por Sigmax

Claber

136 de clabLevel

1 tutorial

 

msie7

 

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