Is there a way to reload the shockwave component?

I have a shockwave component on my form and a button. When I click the button it opens a filedialog which lets me find the flv file to play. In the same click action I write an xml file with the flv name and the shockwave plays the movie.

If I click on the button again while the movie is playing and select another flv, the xml file is updated but the shockwave component won't play the new selection. I have to close the application and restart inorder for the application to play the new selection.

how can I correct this?

VB Code:
  1. Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
  2.  
  3.         Dim sReplaceChar As String
  4.         sReplaceChar = ""
  5.  
  6.         ' Displays an OpenFileDialog so the user can select a Cursor.
  7.         Dim openFileDialog1 As New OpenFileDialog
  8.         openFileDialog1.Filter = "Flash Video Files|*.flv"
  9.         openFileDialog1.Title = "Select a FLV File"
  10.  
  11.         If openFileDialog1.ShowDialog() = DialogResult.OK Then
  12.             Dim sr As New System.IO.StreamReader(openFileDialog1.FileName)
  13.             'MessageBox.Show(sr.ReadToEnd)
  14.             sr.Close()
  15.         End If
  16.  
  17.  
  18.         ' Create a new file in C:\\ dir
  19.         Dim textWriter As XmlTextWriter = New XmlTextWriter(Application.StartupPath & "\flv.xml", Nothing)
  20.  
  21.         ' Opens the document
  22.         textWriter.WriteStartDocument()
  23.  
  24.         ' Write comments
  25.         'textWriter.WriteComment("First Comment XmlTextWriter SampleExample(")
  26.         'textWriter.WriteComment("myXmlFile.xml in root dir")
  27.  
  28.  
  29.         ' Write first element
  30.         textWriter.WriteStartElement("Videos")
  31.  
  32.         ' Write next element
  33.         textWriter.WriteStartElement("video", "")
  34.         'textWriter.WriteString("Student")
  35.  
  36.         'find and replace \ with / for flash
  37.         sReplaceChar = (openFileDialog1.FileName)
  38.         sReplaceChar = Replace(sReplaceChar, "\", "/")
  39.  
  40.         textWriter.WriteString(sReplaceChar)
  41.         textWriter.WriteEndElement()
  42.  
  43.  
  44.         ' Ends the document.
  45.         textWriter.WriteEndDocument()
  46.         ' close writer
  47.         textWriter.Close()
  48.  
  49.         'showckwave movie
  50.         'AxShockwaveFlash1.Movie(App.Path & "\XML_FLV_player.swf")
  51.  
  52.         AxShockwaveFlash1.Movie = Application.StartupPath & "\XML_FLV_player.swf"
  53.  
  54.     End Sub