Error in Media Viewer WP: no load the videos/images in the main storyboard

May 11, 2009 at 8:15 AM
Edited May 12, 2009 at 9:07 AM

Hi!

My problem is the following:

I deploy the project, adding the web part, look the *.xap in the XAP document library, and first the web part shows the images/videos, but when I try to change to other image/video, it doesn't load in the main storyboard.

The error that IE shows me is that the operation isn't valid in the active storyboard and must stop before the main storyboard.

Error: 2218 "Operation is not valid on an active Animation or Storyboard. Root Storyboard must be stopped first."

OK! THE PROBLEM IS RESOLVED!

in page.xaml.cs there is change the code of method webclient_openreadcompleted() we must write before fadeIn.setValue(...) the following:

fadeIn.Stop();

fadeIn.setValue(...) ;

fadeIn.Begin();

Now rebuilt the project and deploy solution in our site collection. The Web Part is ok!

 

thank you!

Patricia