Author: cdubone | Posted on: 5/5/2008 5:32:51 PM | Views : 367

I'm making an app that dynamically loads different media files into a single media element. Click a button and a different media file loads. Things are working nicely.
Now I'm trying to make 'previous' and 'next' buttons but I'm not sure the best way to approach this. I've been trying to find out if a certain mp3 is loaded and take the appropriate action based on that. So far I've tried:
 if (theMedia.Source == backorder.mp3)
and
if (this.theMedia.Source.Contains("backorder.mp3"))
...but neither is working. Anyone know how I can accomplish this?

...

Go to the complete details ...