simple question, how do I call the slideShow function?
import com.greensock.*;
import com.greensock.easing.*;
var austin:Symbol1 = new Symbol1();
var champoy:Symbol2 = new Symbol2();
var group:Symbol3 = new Symbol3();
var hollow:Symbol4 = new Symbol4();
var MyArray:Array = [austin,champoy,group,hollow];
function slideShow(e:Event):void{
for (var i:Number = 0; i < MyArray.length; i++) {
MyArray*.x = stage.stageWidth/2;
MyArray*.y = 200;
MyArray*.alpha = 0;
addChild(MyArray*);
TweenLite.to(MyArray*, 1, {alpha:1, delay:2 * i, ease:Strong.easeOut});
}
}
function replay():void {
var replay:Symbol5 = new Symbol5();
replay.alpha = 0;
replay.x = stage.stageWidth/2;
replay.y = 250;
replay.addEventListener(MouseEvent.CLICK, slideShow)
TweenLite.to(replay, 1, {alpha:1, ease:Strong.easeOut});
addChild(replay);
}
slideShow(e:Event);
unsure why this isn’t working.:puzzle: