How to play Sound and Animations in MVVM
Posted
by user275561
on Stack Overflow
See other posts from Stack Overflow
or by user275561
Published on 2010-06-02T01:48:41Z
Indexed on
2010/06/02
1:53 UTC
Read the original article
Hit count: 388
I have read alot of blogs about the best way to play sound/Animation but if possible I would like to see a simplified example on how this is done so I understand better.
So to my understanding in MVVM
The View-->Sound and Animation
The ViewModel-->If some value is true, i would like to play the Sound and Animation on the view.
Now How would I go about doing this. I was told to use interfaces like ISoundService and IAnimationService. Implement in the View and then do what? If possible, a workable bare bone example will help alot.
© Stack Overflow or respective owner