Hi,
I hope this is what you wanted.
Public Class Form1
Inherits System.Windows.Forms.Form
Friend WithEvents FlashPlayerControl1 As FlashPlayerControlLibrary.FlashPlayerControl
Private Sub Form1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
FlashPlayerControl1.PutMovieFromStream (Me.GetType().Assembly.GetManifestResourceStream(" Sample1.swf"))
FlashPlayerControl1.FlashMethod_Play()
End Sub
End Class
Cheers,
nalla
|