menand

I need to play a flash movie in my c# application. I used the activex flash object control and I can't play my movie. Can someone help me with this I have this part of the code.



private void axShockwaveFlash_Enter(object sender, EventArgs e)
{
int i = 0;
try
{
axShockwaveFlash.LoadMovie(0, "intro.swf");
axShockwaveFlash.Play();

}
catch
{
MessageBox.Show("Error");
}
//axShockwaveFlash.Play();
//axShockwaveFlash.Show();
}


Basically I would just like to play a swf file. Thanks