Antwort auf: Audio

Startseite Foren Deutsches LiveCode-Forum Audio Antwort auf: Audio

#3773
YoloBolo
Teilnehmer

    Das ist das Skripte:

    on preopenStack
       set the fullscreenmode of me to "noBorder"
    end preopenStack
    
    on openStack
       start_
    end openStack
    
    on start_
       if the environment is "mobile" then
          put specialFolderPath("resources")& "/klang/MadMax.mp3" into mm 
          mobilePlaySoundOnChannel mm, 1 , "now"
          mobileSetSoundChannelVolume 1, 80
       end if 
       go card "Startseite"
       wait 6 seconds
       go card "Home"
    end start_
    
    on closeStack
       quit
    end closeStack 

    Das ist die Fehlermeldung:
    stack „Würfel“: compilation error at line 11 (if: not a command) near „/klang/MadMax.mp3“, char 41

    und ohne „amp“ funktioniert es nicht