Tema: flash y xml
Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/03/2009, 09:54
Avatar de adexedl
adexedl
 
Fecha de Ingreso: julio-2005
Mensajes: 326
Antigüedad: 18 años, 9 meses
Puntos: 2
Respuesta: flash y xml

Hola nuevamente,

he encontrado algo que es justo lo que necesito. Lo pueden ver aqui:

http://www.taxigrancanaria.com/flash...mageslider.swf

ahora mi problema es el siguiente, sale la información al situar el ratón encima de la imagen. Me gustaría me ayudasen a que la mancha gris este siempre visible y que vaya mostrando la información de cada foto, ya que para mi ejemplo el pasador va a ser de una foto sola.

Pongo el código que creo que me esta dando la bronca:

Código HTML:
function move_it()
{
    if (total - start_from <= fm_show_no)
    {
        start_from = total - 1;
    } // end if
    if (start_from < fm_show_no - 1)
    {
        start_from = 0;
    } // end if
    position_x = start_from * distance_x - tn_group_area._x;
    new mx.transitions.Tween(tn_group, "_x", mx.transitions.easing.Elastic.easeInOut, tn_group._x, -position_x, 1.400000E+000, true);
} // End of the function
tn_group.tn._visible = false;
tn_group_area._visible = true;
tn_group.setMask(tn_group_area);
var fm_show_no = 1;
var total = filename_list.length;
var distance_x = tn_group.tn._width + 5;
var i = 0;
var start_from = 0;
var current = 0;
fm_title.text = "";
fm_description.text = "";
fm_tec.text = "";
fm_description_bg._visible = false;
while (i < total)
{
    tn_group.tn.duplicateMovieClip("tn" + i, i);
    tn_group["tn" + i].preloader._width = 0;
    tn_group["tn" + i].tn_button._visible = false;
    tn_group["tn" + i].txt = i + 1;
    tn_group["tn" + i].tn_no = i;
    tn_group["tn" + i]._x = i * distance_x;
    tn_group["tn" + i].tn_button.onRollOver = function ()
    {
        this._parent._parent._parent.fm_title.text = title_list[this._parent.tn_no];
        this._parent._parent._parent.fm_description.text = description_list[this._parent.tn_no];
		this._parent._parent._parent.fm_tec.text = tec_list[this._parent.tn_no];
        this._parent._parent._parent.fm_description_bg._visible = true;
        this._parent._parent._parent.fm_description_bg.play();
    };
    tn_group["tn" + i].tn_button.onRollOut = function ()
    {
        this._parent._parent._parent.fm_title.text = "";
        this._parent._parent._parent.fm_description.text = "";
		this._parent._parent._parent.fm_tec.text = "";
        this._parent._parent._parent.fm_description_bg._visible = false;
    };
    tn_group["tn" + i].tn_button.onRelease = function ()
    {
        getURL(url_list[this._parent.tn_no], url_target_list[this._parent.tn_no]);
    };
    ++i;
} // end while
fm_previous.onRelease = function ()
{
    start_from = start_from - fm_show_no;
    move_it();
};
fm_next.onRelease = function ()
{
    start_from = start_from + fm_show_no;
    move_it();
};
Saludos y gracias de antemano
__________________
Diseño Web Canarias