Associates a sound with a button transition
$sound
$flags
This function is currently not documented; only its argument list is available.