Re: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-29 Thread Rob Wingate
Michael, Valentin, Tab, Thanks for your responses. Valentin was right -- projector with embedded browser, no Shockwave involved. The onsubmit=document.title='_submit' is just what I was looking for. Also, thanks Michael Tab for reminding me about EvalScript. I'll probably need it later in this

Re: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-27 Thread Valentin Schmidt
Hi Rob, you can use either the status or the title of the page to communicate with lingo.. I've used the same trick before with the webbrowser control. But as the status text dispays all kind of status information and therefor changes all the time, I would suggest you use the title. Here is some

Re: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-27 Thread Tab Julius
Hi Rob, On Internet Explorer, you don't need an Xtra - you can call a function myMovieName.evalScript and pass it a string (which you can parse out later). It takes a return value. In Lingo, put 'on evalScript' in a movie handler. To send in the other direction (to IE) you call

Re: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-27 Thread Valentin Schmidt
Tab, if I understood it right, Rob is not asking for communication between an embedded shockwave movie and the browser, but between a WebXtra sprite inside a director projector and director. valentin Tab Julius wrote: Hi Rob, On Internet Explorer, you don't need an Xtra - you can call a

Re: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-27 Thread Tab Julius
Valentin, You're right - I didn't quite catch that. He's dynamically generating web pages, showing them WITHIN the projector on stage via a web sprite, then wants to talk from that sprite back to the originating Lingo. Okay, that's different, and the web page doesn't even necessarily have

RE: lingo-l Javascript onSubmit() - notify Lingo?

2004-03-26 Thread Mendelsohn, Michael
I think I'm looking for a strategy on how to notify Lingo from a form tag's 'onSubmit()' event. IOW, how can the Javascript function I assign to onSubmit notify Lingo? Well Rob, here's my guess: Set up a js function in the header of the page. In the header of the html page, this javascript