Solved it by using a plugin for iOS devices and a plugin for non-iOS devices.
Code
<!-- a button to pause/play the sound (iOS devices) -->
<plugin devices="ios" name="snd" url="soundonoff.png" align="leftbottom" x="10" y="10" alpha="0.5" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.5);"
crop="0|50|50|50"
onclick="pausesoundtoggle(bgsnd); switch(crop, 0|50|50|50, 0|0|50|50);"
/>
<!-- a button to pause/play the sound (non iOS devices) -->
<plugin devices="!ios" name="snd" url="soundonoff.png" align="leftbottom" x="10" y="10" alpha="0.5" scale="0.5" onover="tween(alpha,1);" onout="tween(alpha,0.5);"
crop="0|0|50|50"
onclick="pausesoundtoggle(bgsnd); switch(crop, 0|0|50|50, 0|50|50|50);"
/>
Alles anzeigen