hi,
when i am scaling a square … i want to let to bounce the borders…
i’m using the tweening extension of laco… this is my code for the scaling…
#include “lmc_tween.as”
var time = 1.7;
var ease = “easeoutElastic”;
var xy = ["_xscale","_yscale"];
var size1 = [100,170];
var size2 = [70,100];
var size3 = [170,80];
var size4 = [140,130];
var size5 = [60,135];
mc1.onRelease = function (){
square.tween(xy, size1,time, ease);
}
mc2.onRelease = function (){
square.tween(xy, size2,time, ease);
}
mc3.onRelease = function (){
square.tween(xy, size3,time, ease);
}
mc4.onRelease = function (){
square.tween(xy, size4,time, ease);
}
mc5.onRelease = function (){
square.tween(xy, size5,time, ease);
}
…can anybody tell me how to let a border bounce? I’ve made a little example with shape tweens in the left corner of the .swf… but i want to learn it with AS.
thanks in advance…