TangoBravo
New member
- Joined
- May 10, 2008
- Messages
- 1
Hi Team,
Im trying to trigger an event in Visual Basic 2008 Express and have Flash 8 react to the event.
The best information Ive 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);
Ive set up a function in Flash named callMeFromVB.
Im 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 doesnt work. I just get HRESULT E_FAIL.
Cant anyone give me some pointers?
Thanks,
Tb
Im trying to trigger an event in Visual Basic 2008 Express and have Flash 8 react to the event.
The best information Ive 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);
Ive set up a function in Flash named callMeFromVB.
Im 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 doesnt work. I just get HRESULT E_FAIL.
Cant anyone give me some pointers?
Thanks,
Tb