I am following the simplistic example they provided on how to play a sound. I don't need anything fancy such as seek & pause since the piece is at most 2 seconds long.
This is my test for creating a sound in "index.html" located in <head>:
<script> var player; try{ player = Titanium.Media.createSound({url:"a10.wav"}); try{ player.play(); }catch(e){alert("Sound2 : "+e);} }catch(e){alert("Sound : "+e);} </script>However, it gives out this error:
Sound : basic_string::_S_construct NULL not validAny suggestions?
Your Answer
Think you can help? Login to answer this question!