30 Dec 2012 8:15 PM #1
Unanswered: Playing/stopping audio in lists
first of all: i am new to sencha touch. I've been searching all day....but could not find a satisfying answer to my problem.
The Problem(s) are:
I want to have a list filled with data...for every single listitem i want to have two buttons (or two controlls)...one of the buttons should play or stop (depending on play status) 5 different sound files in a row. The other button should be the settings button to choose the different sounds.
Touched settings and picked: sound1, 2, 3, 4,5
touched play: playing 1,2,3,4,5
did not like and changed the settings to: 2,1,3,4,5
touched play: playing 2,1,3,4,5
touched play again: playing 2,1,..touched play again: stop!
i can not find any solution for this problem :-(
please help me....
thank you very much
and sorry for the bad english^^
1 Jan 2013 11:19 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Does each row have it's own 5 audio or is it 5 for the whole list?
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
1 Jan 2013 2:04 PM #3
Hey! Tank you for the answer!
It is 5 Sounds in each row... There are 6 rows!