here's a better version of a flash mx swf and a director 8.5 dcr chatting with one another: http://www.evanadelman.com/swf-dcr-communication/test.html
This completely avoids any server interaction - the mediator between the two is of course javascript, and to make it cross browser, you've got to know a bit about how the two different browsers handle ExternalEvent (for Director) and FSCommands (for Flash). The file is called test.html, it contains "directorMovie.dcr" and "flashMovie.swf". The source files are also in the same directory -- http://www.evanadelman.com/swf-dcr-communication/flashMovie.fla http://www.evanadelman.com/swf-dcr-communication/directorMovie.dir Ok - so the trick that allows this to be cross browser is a timeout in your javascript receivers like this: function setFlashVariable(aString,bBeenHere) { if (bBeenHere) { document.flashMovie.SetVariable("externalString",aString); } else { setTimeout("setFlashVariable('"+aString+"',1)", 300); } } and in your embed tags for the dcr and swf, you need the addition: swLiveconnect="True" I tested my example in Netscape 4.7 and IE 6.0 and everything migrated well. Let me know if this answers your question, or if you have problems or questions about the flash, director, or vb/javascript... -evan Evan Adelman wrote: > alright - i didn't have a ton of time to modify this from it's > original version which was pieced together through macromedia > technotes and > >http://www.macromedia.com/support/flash/publishexport/scriptingwithflash/scriptingwithflash_03.html > > (and obviously was done very quickly) and i've got to run now, but > hope it helps -- feel free to ask questions back on this list since i > haven't been able to explain well here - try to get to it soon -- > > http://www.mutantmedia.com/swf-dcr-communication/test.html > > evan > > [EMAIL PROTECTED] wrote: > >> Netscape version 4.7... >> >> >> >> >>> sorry for not following the thread earlier -- which versions of >>> netscape are you looking to have this work in? >>> >>> >> >> >> >> [To remove yourself from this list, or to change to digest mode, go >> to http://www.penworks.com/lingo-l.cgi To post messages to the list, >> email [EMAIL PROTECTED] (Problems, email >> [EMAIL PROTECTED]). Lingo-L is for learning and helping with >> programming Lingo. Thanks!] >> >> >> > -- ............................................................................................................... m u t a n t m e d i a > solutions for success Evan Adelman | 917.916.7378 | 598 Broadway NY NY 10012 [EMAIL PROTECTED] | www.mutantmedia.com [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
