Comunidad de diseño web y desarrollo en internet online

Reproducir una secuencia de imagenes con un slider ?

Citar            
MensajeEscrito el 23 Ene 2012 03:41 pm
Hola, Quiero reproducir una secuencia de imagenes con un slider.
Basicamente quiero hacer esto: http://turntableviewer.sourceforge.net/

Supongo que se tendria que hacer con un array, he encontrado los codigos pero no consigo juntarlos, me podeis decir como hacerlo o algun tutorial donde explique esto?

Gracias ^^

//Codigo Array

var images:Array = ["image1.jpg", "image2.jpg", "image3.jpg"];

//Codigo Slider

Slider1.addEventListener(Event.CHANGE, reproducir);

function reproducir(evt:Event):void {

}

Por Destrankir

1 de clabLevel



 

msie
Citar            
MensajeEscrito el 24 Ene 2012 10:23 am
Lo de carga imagenes en el array me funciona pero el codigo intentado juntarlo con el slider me da errores


import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;

var images:Array = ["img1.jpg", "img2.jpg", "img3.jpg"];

slider1.addEventListener(Event.CHANGE, reproduccion);

function reproduccion(evt:Event):void {
trace(evt.target.value);
images = evt.target.value;

}

var loader:Loader = new Loader();
loader.load(new URLRequest("assets/img1.jpg"));
addChild(loader);
addChild(thumbBg);
addChild(slider1);

alguna idea?

Por Destrankir

1 de clabLevel



 

msie

 

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