Link to home
Start Free TrialLog in
Avatar of Wanting2LearnMan
Wanting2LearnManFlag for United Kingdom of Great Britain and Northern Ireland

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.
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()" );

Open in new window

Avatar of Wanting2LearnMan
Wanting2LearnMan
Flag of United Kingdom of Great Britain and Northern Ireland image

ASKER

anyone??
no experts today hmmmmmmm
ASKER CERTIFIED SOLUTION
Avatar of David H.H.Lee
David H.H.Lee
Flag of Malaysia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The link for the trial script debugger is not working, please help
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial