1 decade ago by bea
Hi!
I'm using AppiMobi to develop my games with impact, and I tried to use music and effect.
When I try to use ig.sound, it doesn't work. AppiMobi show me an error, it couldn't load a mp3 or ogg file.
Instead of use ig.sound, I tried to use AppMobi.player.startAudio, but AppiMobi show the next message.
Uncaught TypeError: Cannot call method 'startAudio' of undefined
How can I fix that?
I could use that method in my index.html, but not in my main.js.
Please help!
(Sorry for my english, I'm spanish!)
I'm using AppiMobi to develop my games with impact, and I tried to use music and effect.
When I try to use ig.sound, it doesn't work. AppiMobi show me an error, it couldn't load a mp3 or ogg file.
Instead of use ig.sound, I tried to use AppMobi.player.startAudio, but AppiMobi show the next message.
Uncaught TypeError: Cannot call method 'startAudio' of undefined
How can I fix that?
I could use that method in my index.html, but not in my main.js.
Please help!
(Sorry for my english, I'm spanish!)