muchas gracias. =)
on(rollOver)
{
if (_root.link != num)
{
_parent.gotoAndPlay("s1");
}
}on(rollOut, releaseOutside)
{
if (_root.link != num)
{
_parent.gotoAndPlay("s2");
}
}on(release)
{
if (0 != (_root.link != num) & 0 != (_root.animation == 1))
{
_root.animation = 0;
_root.link_prev = _root.link;
_parent._parent["item" + _root.link].gotoAndPlay("s2");
if (_root.gall == 0)
{
_root.gall = 1;
}
_root.link = num;
_root.play();
}
}