Triggering audio play out of clicking on a word in a textbox RRS feed

  • Question

  • Sorry to ask this again (the latest Forum thread is January 9, 2009 just came up but
    What I want to do is have a textbox filled with a paragraph of text.  In that paragraph
    I want to be able to click on say word 5, 20 and 32 and have each of those word click
    trigger a different audio file.   Is that possible?  How would I go about doing it? 

    Wednesday, March 25, 2009 11:24 PM

All replies

  • Hi ted,

    A workaround would be to have "invisible buttons" placed above the specific words that will trigger the playing of the audio if the text within the TextBox is fixed. If its not, you would need to write code to determine which word is being clicked within the TextBox to trigger which audio file.

    I don't think this has anything to do with Expression Blend so maybe you could post this question in the MSDN C# or VB.NET forums.


    • Proposed as answer by Kok Chiann Thursday, March 26, 2009 7:27 AM
    Thursday, March 26, 2009 7:26 AM