1. Add “COM Components”“Shockwave Flash Object” to Toolbox
2. Add axshockwaveFlash Ojbect to your form and name "MyFlash"
3. use OpenFileDialog to load .swf
4. use Play /Stop contorl swf
2. Add axshockwaveFlash Ojbect to your form and name "MyFlash"
3. use OpenFileDialog to load .swf
open = New OpenFileDialog
open.Filter = "Image Files(*.swf)|*.swf"
If (open.ShowDialog() = DialogResult.OK) Then
MyFlash.Movie = open.FileName
End If
4. use Play /Stop contorl swf
MyFlash.play()
MyFlash.stop()
留言