Ver Mensaje Individual
  #6 (permalink)  
Antiguo 05/03/2007, 04:38
Avatar de PedroRodas
PedroRodas
 
Fecha de Ingreso: noviembre-2005
Ubicación: Cádiz
Mensajes: 393
Antigüedad: 18 años, 5 meses
Puntos: 0
Re: Ejemplo de galeria

el tirador es un clip:
onClipEvent (load) {
recorrido = 600-this._width;
incremento = -1200/recorrido;

tiraimgs._x=600

}
onClipEvent (enterFrame) {

if(_root.boton){

_root.tiraimgs._x += ((this._x*incremento)-_root.tiraimgs._x)/15;
}
}
dentro del clip hay un boton:
on (press)
{
this.startDrag(false,0,this._y,600-this._width,this._y);

_root.boton=true


}
on (release, releaseOutside)
{
this.stopDrag();
}
acondicionalo a tus necesidades