Lo script presupone che i tre movieclip siano larghi 100px, quindi cambia i valori secondo
la larghezza dei tuoi.
codice:
foto1._width=100
foto2._width=100
foto3._width=100
//FOTO1//*****************************+
foto1.onRollOver = function()
{
onEnterFrame =function()
{if(foto1._width<200)
{
foto1._xscale+=20
foto1._yscale+=20
foto2._x+=20
foto3._x+=20
}
}
}
foto1.onRollOut = function()
{
onEnterFrame =function()
{if(foto1._width>100)
{foto1._xscale-=20
foto1._yscale-=20
foto2._x-=20
foto3._x-=20
}
}
}
//FOTO2//***************************************
foto2.onRollOver = function()
{
onEnterFrame =function()
{if(foto2._width<200)
{
foto2._xscale+=20
foto2._yscale+=20
foto1._x-=20
foto3._x+=20
}
}
}
foto2.onRollOut = function()
{
onEnterFrame =function()
{if(foto2._width>100)
{foto2._xscale-=20
foto2._yscale-=20
foto1._x+=20
foto3._x-=20
}
}
}
//FOTO3//**************************************
foto3.onRollOver=function()
{
onEnterFrame = function()
{
if(foto3._width<200)
{
foto3._xscale+=20
foto3._yscale+=20
foto1._x-=20
foto2._x-=20
}
}
}
foto3.onRollOut=function()
{
onEnterFrame =function()
{if(foto3._width>100)
{foto3._xscale-=20
foto3._yscale-=20
foto1._x+=20
foto2._x+=20
}
}
}