views:

20

answers:

0

I have a WPF application that I need to spruce up a bit with background animations similar to the background ‘flair’ that you see playing on a Tivo device (lights moving, balls rolling, etc…) or a DVD menu (where you can go in any direction from the menu).

Depending upon the state of the application, I would want the background animation to transition to different videos and in some cases either stay on a static image or loop with a short animation.

The direction the videos take are not linear and therefore I cannot just let one video play over and over. I need to be able to seamlessly move from one video to the next based upon user input and other factors.

My thought here was to have a bunch of WMV files made up that have common start/end frames to make the transitions smooth. I would use .NET to play the videos in the background (overlaying text controls and buttons where necessary). When a transition was necessary, I would simply change the video that was playing.

But then I was thinking… I can’t be the first to have this need… maybe WPF provides this functionality in another way.

Does it?