делаеш кнопку.
тыкаеш её в сцену и в actions для этого мувика пишеш:
Код:
onClipEvent (load)
{
_root.soundstatus = "on";
_root.mySound = new Sound(_level0);
_root.mySound2 = new Sound(_level1);
_root.mySound3 = new Sound(_level2);
_root.mySound4 = new Sound(_level3);
_root.mySound5 = new Sound(_level4);
maxvolume = 100;
minvolume = 0;
}
onClipEvent (enterFrame)
{
if (_root.soundstatus == "on")
{
step = 5;
} // end if
if (_root.soundstatus == "off")
{
step = -5;
} // end if
maxvolume = maxvolume + step;
if (maxvolume > 100)
{
maxvolume = 100;
} // end if
if (maxvolume < 0)
{
maxvolume = 0;
} // end if
_root.mySound.setVolume(maxvolume);
_root.mySound2.setVolume(maxvolume);
_root.mySound3.setVolume(maxvolume);
_root.mySound4.setVolume(maxvolume);
_root.mySound5.setVolume(maxvolume);
}
проще всего сделать так. пишеш текст кнопки и в пропертях в строке URL Link пишеш адрес.
Второй вариант это этот же текст отконвертить в символ (правой кнопкой Convert to symbol) и далее в actions задать:
Код:
on (press){
getURL("URL", "target", "metod");
}
третий вариант это можно сделать кнопку в movieclip и уже для ней задавать экшены.






Комбинированный вид
