16 Jul 2012 4:42 PM #1
A little fun app I made in an hour
I made a joke on my Facebook page:
Code:I'm going to make a Sleeping Sounds app for the iPhone with three settings: "White Noise", "Gentle Rain in the Forest", and "Carl Sagan reads anything"
See it at http://mattbaker.me/sleepy
16 Jul 2012 11:07 PM #2
Nice it works...
Nice it works....only thing I would do extra is to destroy or stop the audio on swipe. If its playing at the moment and you swipe to another panel it still plays.
I had a similar problem with my YouTube video that kept playing after hide...I ended up giving each player an id and destroying the item on hide by using ext.getcmp. You could do the same on onactiveitemchange