I have a loop that I want the user to be able to rollover 19 different pictures and a caption tweens into place for each pic. I assume my code below isn’t working because the var is trying to work for “Pic” and “Cap”, is that a correct assumption? And how can I get this to work???
thanks, steve.
var boxMax:Number = 55;
for( var i:Number = 0; i < 19; i++ )
_root.Target[ "Pic" + i ].onRollOver = function(){
TweenLite.to(_root.Target[ "Cap" + i ], .5, { _y: boxMax });
}