Hello everyone, its me again.
I have been stuck on this problem forever, and cannot find any
documentation or any help to solve it. From what I have seen online,
what I need to do should be pretty simple, but I am running into
problems with everything I read or try.
I have a flash movie inside of a vb.net application. That part works
fine. The part that I am having problems with is passing information
from the flash movie to the vb application. I have tried using
externalEvent, that has done nothing but waste time. I found a site
that shows how to do it with FSCommand. I have implemented the
function on the site. Here it is:
Private Sub axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
e As _
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
Handles axShockwaveFlas h1.FSCommand
' Use a select case statement to filter the command being passed
through
Select Case e.command
Case "yourCustomFSCo mmandName"
' Output the arguments
MessageBox.Show ("The Arguments were: " & e.args)
Case "anotherCustomF SCommandName"
' etc.
End Select
End Sub
Now when I try to run my code, I get the following error:
An unhandled exception of type 'System.TypeLoa dException' occurred in
program.exe
Additional information: Could not load type
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= null.
arrrrrrrrrrrrgg gggggggghhhhhh
Has anyone else had this problem, or know how to solve it?
I have been stuck on this problem forever, and cannot find any
documentation or any help to solve it. From what I have seen online,
what I need to do should be pretty simple, but I am running into
problems with everything I read or try.
I have a flash movie inside of a vb.net application. That part works
fine. The part that I am having problems with is passing information
from the flash movie to the vb application. I have tried using
externalEvent, that has done nothing but waste time. I found a site
that shows how to do it with FSCommand. I have implemented the
function on the site. Here it is:
Private Sub axShockwaveFlas h1_FSCommand(By Val sender As Object, ByVal
e As _
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven t) _
Handles axShockwaveFlas h1.FSCommand
' Use a select case statement to filter the command being passed
through
Select Case e.command
Case "yourCustomFSCo mmandName"
' Output the arguments
MessageBox.Show ("The Arguments were: " & e.args)
Case "anotherCustomF SCommandName"
' etc.
End Select
End Sub
Now when I try to run my code, I get the following error:
An unhandled exception of type 'System.TypeLoa dException' occurred in
program.exe
Additional information: Could not load type
AxShockwaveFlas hObjects._IShoc kwaveFlashEvent s_FSCommandEven tHandler
from assembly AxInterop.Shock waveFlashObject s, Version=1.0.0.0 ,
Culture=neutral , PublicKeyToken= null.
arrrrrrrrrrrrgg gggggggghhhhhh
Has anyone else had this problem, or know how to solve it?
Comment