Hi,
i've a problem and i couldnt find a way to solve it.
i have 2 Blank Pages in a C#-XAML Windows Store app and i have a background sound in my assets folder.
But when i play a sound from one page and navigate to second page the music stops.
Here comes the question: How can i make it play the sound even if i navigate to another page?
Thank you!
Loading

Ibrahim ErsoyPosted Nov 17, 2012, 1:41 PM
Read JimMan's reply at http://social.msdn.microsoft.com/Forums/en-US/winappswithcsharp/thread/241ba3b4-3e2a-4f9b-a704-87c7b1be7988/
Add the style code to Common->StandardStyles.xaml
Add only;
rootFrame.Style = Resources["RootFrameStyle"] as Style;
to " if (rootFrame == null) " codeline.
Finally add these codes to your MainPage.xaml or (whatever you named)
And everything works like a charm!