1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    0
    psicon is on a distinguished road

      0  

    Default Unanswered: Playing/stopping audio in lists

    Unanswered: Playing/stopping audio in lists


    Hi everyone,

    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.

    eg.
    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^^

    greetz
    patrick

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    37,330
    Answers
    3541
    Vote Rating
    847
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Does each row have it's own 5 audio or is it 5 for the whole list?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    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 services@sencha.com

    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.

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    4
    Vote Rating
    0
    psicon is on a distinguished road

      0  

    Default


    Hey! Tank you for the answer!

    It is 5 Sounds in each row... There are 6 rows!

Thread Participants: 1