How do I switch .swf files in c#?

sick

New member
I'm using the axShockwaveFlash, I can load a file, but I can't switch to play another movie, also, it only plays when I click in the object, here's what I'm doing:

private void Form1_Load(object sender, EventArgs e)
{

if (flag==2){
this.axShockwaveFlash1.Movie = "C:\SistemaOperativo\SistemaOperativo\proceso2.swf";
this.axShockwaveFlash1.FSCommand += new AxShockwaveFlashObjects. _IShockwaveFlashEvents_FSCommandEventHandler (this.axShockwaveFlash1_FSCommand);
}
if (flag==3){
this.axShockwaveFlash1.Movie = "C:\SistemaOperativo\SistemaOperativo\proceso3.swf";
this.axShockwaveFlash1.FSCommand += new AxShockwaveFlashObjects. _IShockwaveFlashEvents_FSCommandEventHandler (this.axShockwaveFlash1_FSCommand);
}
 
Back
Top