I am new to VB.Net and am trying to insert a .swf file into my Web Application.

I have referenced the 'ShockwaveFlashObjects' and tried to insert a flash movie into my page and included the following code to run it.

Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

Dim path As String
path = "C:\Inetpub\wwwroot\BDWebApplication1\Images\bd_Lines.swf"
With FlashObj
.Stop()
.Movie = path
.Play()
End With

VB.Net throws an error saying that I the Object is not declared.

Any thoughts?