I'm working on a Silverlight 3.0 app, and about 1 out of every 10 or 20 times, a UserControl I've created won't load with the rest of the application. The rest of the application loads and functions correctly. So far, I've been exclusively launching this from visual studio, but I'd like to be sure that this isn't something that will happen when it's actually deployed.
Does anyone know what might be causing this? Has anyone else experienced this?
EDIT: the control's constructor (all animations are initialized)
InitializeComponent();
m_CenterXAnimation.Duration = new TimeSpan(0, 0, 0, 0, 800);
m_CenterYAnimation.Duration = new TimeSpan(0, 0, 0, 0, 800);
m_FadeOutAnimation.Duration = new TimeSpan(0, 0, 5);
m_FadeInAnimation.Duration = new TimeSpan(0, 0, 5);
m_FadeOutAnimation.To = 0;
m_FadeInAnimation.To = 1;
m_ScaleDownAnimation.Duration = new TimeSpan(0, 0, 0, 0, 800);
m_ScaleUpAnimation.Duration = new TimeSpan(0, 0, 0, 0, 800);
m_ScaleDownAnimation.To = 1;
m_ScaleUpAnimation.To = 1.1;
App.Current.Host.Content.Resized += new EventHandler(Content_Resized);