Sound distribution

Is ok place playing sound to VIEW section if have much little sound, responsive to like over button?

  1. If that sound will only be played inside that view than yes.
    But you can also dispatch an event on mouse over, and have soundService for some sound Manager.

  2. Yet that might mean using large number Command class. Or is possible one Command class using for many instructions in service?

  3. Hi,

    As Matej pointed out, it depends on the way you're using the sounds.

    There are various opinions about sound management with robotlegs. I recommend reading other discussions on this topic and then choose the approach that best suits your needs:

    http://knowledge.robotlegs.org/discussions/questions/441-robotlegs-...

    and look at Krasimir's example:

    http://krasimirtsonev.com/blog/article/creating-mp3-player-with-rob...

    http://knowledge.robotlegs.org/discussions/questions/1457-placing-s...

    http://knowledge.robotlegs.org/discussions/questions/881-conceptual...

    http://knowledge.robotlegs.org/discussions/questions/592-changing-v...

    Ondina

  4. Ondina D.F. closed this discussion on 03 Feb, 2014 02:06 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac