Hi, I seem to be unable to add a 'new TweenMax.from()' instance into either type of multiple sequence in TimeLineLite.
Here's the code I'm trying to implement:
for (var j:uint = 0;j<3;j++){
var clip:MovieClip = this["clip"+j+"_mc"];
myTimeLineLite.appendMultiple( [new TweenMax(clip, .5, {alpha:1, scaleX:1, scaleY:1, ease:Cubic.easeOut}),
new TweenMax.from(clip.line_mc, 1.2, {scaleX:1.5, scaleY:1.5, ease:Elastic.easeOut}),
new TweenMax.from(clip.box_mc, 1.2, {y:25, ease:Elastic.easeOut})], 0, TweenAlign.START);
}}
I keep getting the following error: "1048: Method cannot be used as a constructor."
Is there something essential I am missing here? Do I need to do away with using the 'TweenMax.from()' method?
Thanks in advance!