Dear Tom,

Back in April you posted the response below that I saved at the time because I 
knew I'd need it later. The later is now, and I'm writing with a quick 
question: has anything happened in this area between April and now? Was another 
technote or sample added perhaps? Has it been written up in one of the new 
books on D MX? Thanks,

Slava

At 03:31 PM 4/19/04 -0700, you wrote:
>> Are globals between simultaneously playing shockwave movies possible?
>
>Nope, sorry.
>
>
>> Are there other ways of doing this?
>
>Yes! The old school way is to have the two movies share one prefs file
>(accessed using getPref/setPref) but that's not exactly ideal. There are two
>other options that you might consider:
>
>1. use the multiuser Xtra and allow the movies to communicate using a 
>peer-to-peer connection
>2. use Local Connection Objects (it's a Flash object that can be created in 
>Director MX and newer)
>
>Both of the above options allow you to create two DCR's that can reside in the 
>same page and freely communicate back and forth. The Multiuser Xtra is 
>technically no longer under development but it's available as far back as 
>Director 7. The use of Local Shared Objects is only available in Director MX 
>and MX 2004 and will require the Flash Asset Xtra (you don't need a SWF 
>though, you can create them from Lingo/JavaScript syntax on the fly).
>
>Check out the demos I have on this page for some examples on using the "Flash 
>Objects From Scripting" and "Local Connection Objects" features:
>
>http://poppy.macromedia.com/~thiggins/flash_integration/
>
>Note that I don't have an example of using Lingo to create Local Connection 
>Objects, but I do have demos on using Lingo to create Flash objects, then I 
>have a *.fla demo on using Local Connection Objects in particular, you'll have 
>to put the pieces together to make it work. But once you do, your two movies 
>will be chattin' away and things will be all good.
>
>NOTE: the use of Local Connection Objects like I'm describing will allow you 
>to communicate between any two Director/Flash projects running on the same 
>machine!!! Yes, you can then make a DCR in a page that easily talks with a SWF 
>in that same page. Or make a Director projector that can talk to the SWF in a 
>page loaded on the same computer. Or make a Director projector that talks to a 
>Flash projector running on the same computer. It's quite a nice trick for 
>these kinds of problems. :)
>
>Cheers,
>Tom Higgins
>Product Specialist - Director Team
>Macromedia
>
>Director MX 2004
>Industrial-Strength Multimedia
>www.macromedia.com/software/director

[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!]

Reply via email to