
04-14-2004, 03:10 AM
|
|
Newcomer
|
|
Join Date: Feb 2004
Location: Raleigh, NC
Posts: 23
|
|
Right click on any component in the toolbox and select Customize Toolbox....
On the COM components tab in the listBox, look for and check Shockwave Flash Object.
Add a ShockwaveFlash component as you would any other component.
To set the source of the swf, modify the Movie property.
Also, as a side note, you can implement interaction between the flash movie and VB.Net by using the FSCommand:
Code:
Private Sub AxSWFlash1_FSCommand(ByVal sender As Object, _
ByVal e As AxShockwaveFlashObjects._IShockwaveFlashEvents_FSCommandEvent) _
Handles AxShockwaveFlash1.FSCommand
If e.command = "something" Then
Dim strArgs As String = e.args
End If
End Sub
-Stephen Paszt
|
|