вот так я добился правды...

Код:
public static function main()
{
var root_mc:MovieClip = _root.createEmptyMovieClip("root_mc", 0);
_root.playSound = function (whichSound:String){
var tmp_sound = new Sound(_root.root_mc.soundlib);
tmp_sound.attachSound(whichSound);
tmp_sound.start(0, 0);
}
var button_mc:MovieClip = _root.createEmptyMovieClip("button_mc", _root.getNextHighestDepth());
button_mc.beginFill(0x777777, 100);
button_mc.moveTo(0, 0);
button_mc.lineTo(0, 20);
button_mc.lineTo(50, 20);
button_mc.lineTo(50, 0);
button_mc.moveTo(0, 0);
button_mc.endFill();
button_mc.onPress = function(){
_root.playSound("love");
trace(typeof(eval("love")));
}
root_mc.createEmptyMovieClip("soundlib",root_mc.getNextHighestDepth());
root_mc.soundlib.loadMovie("dolphin.swf");
}
main() т.к. компилируется mtasc'ом