El siguiente actionscript es para abrir una imagen pero necesito que se abra una imagen y vayan pasando 3 imagenes una tras otra solo dure 3 segundos cada una pero no se donde modificarlo.
import caurina.transitions.Tweener;
import gs.*;
import gs.easing.*;
function loaderImagesFunction(nameImages:String) {
var picURL:URLRequest;
var picLoader:Loader;
var request:URLRequest;
var startPageWidth:Number = stage.stageWidth;
var startPageHeight:Number = stage.stageHeight;
picURL=new URLRequest(nameImages);
picLoader= new Loader();
picLoader.contentLoaderInfo.addEventListener(Progr essEvent.PROGRESS,onLoadProgress);
picLoader.contentLoaderInfo.addEventListener(Event .COMPLETE,onLoadComplete);
picLoader.load(picURL);
function onLoadProgress(evt:ProgressEvent):void {
var titileLoaderLoad:Number = Math.round(100 * (evt.bytesLoaded / evt.bytesTotal));
MovieClip(parent).loadingImages.progress.text = titileLoaderLoad + "%";
MovieClip(parent).loadingImages.gotoAndStop(titile LoaderLoad);
}
function ResizeHandler(event:Event):void {
var startPageWidth:Number = stage.stageWidth;
var startPageHeight:Number = stage.stageHeight;
Tweener.addTween(MovieClip(root).mcMainGallery, {x:startPageWidth/2 - MovieClip(parent.parent).width/2,
y:startPageHeight/2- MovieClip(parent.parent).height/2,
time:0.5});
}
function onLoadComplete(evt:Event):void {
addChild(picLoader.content);
stage.addEventListener(Event.RESIZE, ResizeHandler);
MovieClip(parent).play();
MovieClip(parent.parent).picW=MovieClip(parent.par ent).width/2;
MovieClip(parent.parent).picH=MovieClip(parent.par ent).height/2;
Tweener.addTween(MovieClip(parent.parent), {x:(startPageWidth/2)-(MovieClip(parent.parent).width)/2,
y:(startPageHeight/2)-(MovieClip(parent.parent).height)/2,
time:0.5});
///////////////////// plane MOVE ///////////////////////////////////
Tweener.addTween(MovieClip(parent.parent).underbut ton, {x:MovieClip(parent.parent).width/2, y:MovieClip(parent.parent).height/2, time:0.1});
Tweener.addTween(MovieClip(parent.parent).mcMask, {x:MovieClip(parent.parent).width/2,
y:(MovieClip(parent.parent).height/2)+3, time:0.1});
Tweener.addTween(MovieClip(parent.parent).mcImageP rBar, {x:MovieClip(parent.parent).width/2,
y:MovieClip(parent.parent).height/2, time:1});
Tweener.addTween(MovieClip(parent.parent).whitePla ne, {x:MovieClip(parent.parent).width/2,
y:MovieClip(parent.parent).height/2, time:1});
Tweener.addTween(MovieClip(parent.parent).closeBut ton_, {x:MovieClip(parent.parent).width-80,
y:MovieClip(parent.parent).height-475, time:1.5});
Tweener.addTween(MovieClip(parent).downPlane, {x:MovieClip(parent.parent).width/2, y:MovieClip(parent.parent).height+2, time:0.1});
MovieClip(parent).downPlane.width=MovieClip(parent .parent).width;
Tweener.addTween(MovieClip(parent).descriptionButt on, {x:MovieClip(parent.parent).width-400,
y:MovieClip(parent.parent).height-27, time:0.7});
//////////////////// plane SIZE ////////////////////////////////
Tweener.addTween(MovieClip(parent.parent).mcMask,
{width:MovieClip(parent.parent).width,height:Movie Clip(parent.parent).height, time:1,
delay:0.1,transition:"CirceaseIn"});
TweenLite.to(MovieClip(parent.parent).closeButton_ , 0.8, {alpha:1, ease:Circ.easeIn});
}
}