Hi Guys.
I made an array containg 3 clips and dynamically attached them to my main timeline. I can successfully tween all of them with the following code.
import mx.transitions.Tween;
import mx.transitions.easing.*;
xpos = 50;
ypos = 100;
mydistance = 20;
var myclips = ["blue","grey","red"];
for(i=0;i<myclips.length;i++){
var b = this.attachMovie(myclips*,"myclip2"+i,i);
b._x = xpos;
b._y = ypos;
xpos += b._width + mydistance;
b.onRollOver = function(){
new Tween(this,"_xscale",Back.easeOut,this._xscale,120,3,true);
}
}
However, what I want to do is to target the three with different tweens. For example, how do I tween the _xscale of one and the _x of the one next to it? I know I can do it without having dynamically attach the clips but this method (if I can learn it) seems to have more power.
Thanx in advance!