Startseite › Foren › Deutsches LiveCode-Forum › Eigener Lautstärkeregler › Antwort auf: Eigener Lautstärkeregler
Februar 20, 2020 um 14:10 Uhr
#19041
Guten Tag.
wie kann ich in dieses Script
on mouseUp
if (mobileSoundOnChannel("background") is empty) or (mobileSoundOnChannel("background") is "could not find channel") then
put (specialFolderPath("resources") & "/sound/background.wav") into tPath
put "background" into tChannelName
put "looping" into tType
mobilePlaySoundOnChannel tPath, tChannelName, tType
else
mobileStopPlayingOnChannel "background"
end if
end mouseUp
noch ein
if the environment = "mobile" then
einfügen?