Dynamic image resizing

hi, could anyone out there, how to acheive this following effect :

i have 3 images properly aligned in a 100 width 200 width area. i need one image to enlargeded 200 percent when i rollOver and at the same time dynamically resize the other two, maybe 50% of the original size, and still properly fit in the same area.

I will elaborate more if my question is not very much clear.
Any help is highly appreciated.

thanks in advance
jinos

The good old Tsunami :slight_smile:

Check this: http://www.actionscript.org/showMovie.php?id=467

pom :phil:

but that link u posted is not working…any other working example? i have tried that tsunami example, but its a bit hard for me to grasp…maybe i am not that good in actionscripting…Any other help?

thanks a lot for trying to help me out.

let me see if i can make the script from me head…

[AS]

//make the picture movies.Let’s say pic1, pic2, pic3
//put this code in each of them

onClipEvent(Load){
s = 5;
t_xscale = _xscale;

}
onClipEvent(EnterFrame){
_xscale = _yscale = (t_xscale - _xscale)/s;
}
[/AS]
Give them instances names like in my example above(pic1,pic2 and pic3).

Now put them in buttons and put the following code inside of them:

[AS]
on(rollover){
pic1.t_xscale = 200;
pic2.t_xscale = 50;
pic3.t_xscale = 50;
}
on(rollout){
pic1.t_xscale = 100;
pic2.t_xscale = 100;
pic3.t_xscale = 100;
[/AS]

Dunno it will work since i’m on a machine that doesn’t have Flash instaled but if it doesn’t work post a message with the problem to know what to corect.:wink:

what if i wanna resize a ractangulala image in a traptizium or a slimpy any other shape with curves.