TangoBravo
Newcomer
- Joined
- May 10, 2008
- Messages
- 1
Hi Team,
I'm trying to trigger an event in Visual Basic 2008 Express and have Flash 8 react to the event.
The best information I've found so far is a discussion about Flash 8 and C# at this location:
http://osflash.org/pipermail/osflash_osflash.org/2005-August/002274.html
Supposedly the Flash 8 side looks like this:
// expose a method "activeStateChange" to the container
ExternalInterface.addCallback("callMeFromVB", this, onCalled);
I've set up a function in Flash named callMeFromVB.
I'm having trouble getting the Visual Basic 2008 side right
It seems that it should be just this simple...
AxShockwaveFlash1.CallFunction("callMeFromVB")
(...AxShockwaveFlash1 is defined, of course)
But it doesn't work. I just get HRESULT E_FAIL.
Can't anyone give me some pointers?
Thanks,
Tb
I'm trying to trigger an event in Visual Basic 2008 Express and have Flash 8 react to the event.
The best information I've found so far is a discussion about Flash 8 and C# at this location:
http://osflash.org/pipermail/osflash_osflash.org/2005-August/002274.html
Supposedly the Flash 8 side looks like this:
// expose a method "activeStateChange" to the container
ExternalInterface.addCallback("callMeFromVB", this, onCalled);
I've set up a function in Flash named callMeFromVB.
I'm having trouble getting the Visual Basic 2008 side right
It seems that it should be just this simple...
AxShockwaveFlash1.CallFunction("callMeFromVB")
(...AxShockwaveFlash1 is defined, of course)
But it doesn't work. I just get HRESULT E_FAIL.
Can't anyone give me some pointers?
Thanks,
Tb