¡Hola,
Soy novato para el flash y el identificador muy agradecidos si me.Here ayudar a nadie es mi problem.Id como para crear imágenes a través de XML en el desplazamiento vertical panel.Id como para mostrar cuatro imágenes en el stage.Its desplazarse todo el tiempo y cuando el ratón es de vuelco, su justo rollover.U saber el usuario puede detener cuando el ratón se rollover.Maybe su gusto un carousel.And cuando el ratón se despliegue, sus formas curvas o desplazarse hacia arriba y hacia abajo again.My problema es que no saben cómo las imágenes de bucle. ¿Puede alguien ayudarme a salir de it.Sorry apprecite this.Much para mi Inglés.
y_middle = Stage.height/2;
tn_group.tn._visible = false;
tn_group.setMask( tn_area );
tn_alpha_default = 70;
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]._x = tn._x;
tn_group["tn"+i]._y = i * 100;
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 = 100;
}
tn_group["tn"+i].tn_button.onRollOut = function()
{
this._parent.tn_pic._alpha = tn_alpha_default;
}
}
onEnterFrame = function()
{
x_mouse = _xmouse;
y_mouse = _ymouse;
if( x_mouse > tn_group._x - 10 and x_mouse < tn_group._x + tn_group._width + 10 )
{
y_speed = -(y_mouse - y_middle ) /20;
if( y_mouse > y_middle )
{
if( tn_group._y > tn_area._height - tn_group._height + tn_area._y )
tn_group._y+=y_speed;
}
else
{
if( tn_group._y < tn_area._y )
tn_group._y+=y_speed;
}
}
}
- y_middle = Stage.height/2;
- tn_group.tn._visible = false;
- tn_group.setMask( tn_area );
- tn_alpha_default = 70;
- 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]._x = tn._x;
- tn_group["tn"+i]._y = i * 100;
- 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 = 100;
- }
- tn_group["tn"+i].tn_button.onRollOut = function()
- {
-
- this._parent.tn_pic._alpha = tn_alpha_default;
-
-
-
-
-
- }
-
-
-
- }
- onEnterFrame = function()
- {
- x_mouse = _xmouse;
- y_mouse = _ymouse;
-
- if( x_mouse > tn_group._x - 10 and x_mouse < tn_group._x + tn_group._width + 10 )
- {
- y_speed = -(y_mouse - y_middle ) /20;
- if( y_mouse > y_middle )
- {
-
-
-
- if( tn_group._y > tn_area._height - tn_group._height + tn_area._y )
- tn_group._y+=y_speed;
- }
- else
- {
- if( tn_group._y < tn_area._y )
- tn_group._y+=y_speed;
- }
- }
- }