Joe -
Thanks for the reply. Sorry to be so dense, but I still am not able to
get it to work. Must be missing somethign obvious. Would you please show
me the exact html code to use?
Many thanks,
- Ron
> Well it's not a JavaScript 'method' it's part of the browser
functionality.
> Besides quoting the attributes your example should be fine.
>
> Joe
>
> ----- Original Message -----
> From: "Ron Budworth" <ronb@t...>
> To: "javascript" <javascript@p...>
> Sent: Friday, April 20, 2001 6:36 PM
> Subject: [javascript] Re: FOR=MMControl1 EVENT=StatusUpdate()
>
>
> > This message got away from me before I really got across what I was
trying
> > to do...
> >
> > I am trying to impliment Microsoft's MMcontol (MCI32.ocx) in
JavaScript.
> > Microsoft provides sample code in VBScript and I'm translating it.
> >
> > In VBScript, once the MMControl object is intitialized it calls a
> > subroutine by generating a "StatusUpdate" event.
> >
> > Sub MMControl1_StatusUpdate()
> > .
> > .
> > End Sub
> >
> > How would I get the StatusUpdate event to call a subroutine in
> > JavaScript? So far everything I have tried has failed.
> >
> >
> > > According to Microsoft's ActiveX control pad, the proper construct
for
> > > testing the status in their multimedia control is:
> > >
> > > <SCRIPT FOR=MMControl1 EVENT=StatusUpdate()>
> > >
> > > This just doesn't make any sense to me. I've checked my JavaScript
> > > references and can't find anything on "FOR=" . Can someine tell me
what
> > > this does and perhaps include a line of code or two so I can see it
in
> > > action?
> > > Thanks...
>