I have clips in my library (Slide1, Slide2, etc) and I want to add them dynamically, this is how I’m adding them at the mo;
switch (CS) {
case 1 :
_slide1=new Slide1();
_slide1.alpha=0;
_presentation.addChild(_slide1); Tweener.addTween(_slide1,{alpha:1,time:1,transition:"easeInExpo"});
break;
...
this is how I check them;
public function frameCheck(e:Event):void {
if (this["_slide"+CS].currentFrame==this["_slide"+CS].totalFrames) {
CS++;
addSlide();
}
}
any way I can do the first like the second?