Wanting2LearnMan
asked on
Capture ActiveX events in Javascript
I have an activex control that fires events when it is clicked on etc (Its a video player control). The activex control has default events and other events which are not deault.
I can add event handlers to the default events (right click, oncreated etc) but when I add event handlers to the other events i cannot seem to get them to work.
I am using Visual Studio 2008 to debug my web page. How can I see if these other events are being fired off properly, how can I best debug this?
Here is some code for the events I am able to handle.
I can add event handlers to the default events (right click, oncreated etc) but when I add event handlers to the other events i cannot seem to get them to work.
I am using Visual Studio 2008 to debug my web page. How can I see if these other events are being fired off properly, how can I best debug this?
Here is some code for the events I am able to handle.
NtlxVideoCtrl = new ActiveX( "objVideoCtrl", null, null, 640, 480 );
VideoCtrl.classid = "1B33918E-B218-11D3-BF35-00A0CC3DBDF9"; //VideoCtrl
VideoCtrl.defineParam ("firescriptevents", "true");
VideoCtrl.defineParam ("mode", "16");
VideoCtrl.handleEvent( "OnPaneSelect(sPane,sCamera)", "handlePaneSelect(sPane,sCamera)" );
VideoCtrl.handleEvent( "OnCameraDrop(sPane,sCamera)", "handleCameraDrop(sPane,sCamera)" );
VideoCtrl.handleEvent( "OnRBClick(sPane,sX,sY)", "handleRBClick(sPane,sX,sY)" );
VideoCtrl.handleEvent( "OnCreated()", "handleCreated()" );
ASKER
no experts today hmmmmmmm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
The link for the trial script debugger is not working, please help
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER