Can´t seem to make this play each time the "my_lc_as2" connect executes - it just plays plays one time. Can someone please help me out here
import com.greensock.*;
import com.greensock.easing.*;
import com.greensock.plugins.*;
TweenPlugin.activate([MotionBlurPlugin]);
receiving_lc = new LocalConnection();
receiving_lc.execute_this = function(FT2) {
var myTimeline:TimelineLite = new TimelineLite({onComplete:myFunction});
myTimeline.append(new TweenLite(FT, 0.3, { _x:50, _xscale:10, motionBlur:true, ease:yoyo.easeInOut}));
myTimeline.append(new TweenLite(FT, 0.2, { _x:50, _xscale:10, _rotation:90, motionBlur:true, ease:cubic.easeInOut}));
myTimeline.append(new TweenLite(FT, 0.5, { _x:50, _y:1200, _xscale:100, motionBlur:true, ease:Cubic.easeInOut}));
}
receiving_lc.connect("my_lc_as2");
function myFunction(){
myTimeline.invalidate();
}