my code like below:
FlashObject = COMate_CreateObject("ShockwaveFlash.ShockwaveFlash", GadgetID(0))
If FlashObject
Debug(FlashObject\SetEventHandler(@myEventCallback()))
Debug COMate_GetLastErrorDescription()
....
Procedure myEventCallback(object.COMateObject, eventName.s, parameterCount)
Debug "----object----"
Debug object
Debug "---event name ---"
Debug eventName
Debug "-----parameterCount---"
Debug s
EndProcedure
.....
in debug window show:
-2147319765
No type description was found in the library with the specified GUID whilst trying to create an event handler.
what 's mean the error infomation and how to fix it


additional, I test this event handle on other Comate samples like Stclock.pb, it works.

My flash ocx version is 10.