Solved

Flash LocalConnection to talk to Director - Using across domains

Posted on 2006-07-13
3
215 Views
Last Modified: 2008-03-06
Hi,

I am using the LocalConnection object to communicate between a Flash MX2004 SWF and a Director MX2004 movie (running in the Authoring environment). I need the two to communicate across different domains but, although I have followed the documentation, this does not appear to work!

My Director movie WILL execute the called handler when the calling SWF is run locally, but NOT when it is run on the web.

The documentation says that in order to allow the sending LocalConnection to talk cross-domain to the receiving LocalConnection I need to do the following:

1) Make sure both connections are connected with names starting with an underscore... CHECK. My LCs are connected as "_SourceLC" and "_DestLC"

2) Make sure that the allowDomain functions for both LCs are set to return true for the required domains... CHECK. My LCs' allowDomain functions both simply return true

When running cross-domain, when I call the desination LC (_DestLC) from the source LC (_SourceLC), it gets as far as the allowDomain function, but does NOT execute the required function. However, when both are run on the same domain, the allowDomain function is executed followed by the required function being successfully executed.

Can anyone help? Am I missing something, or is the documentation wrong?

Thanks,

Andy
0
Comment
Question by:RE-MEDIA
3 Comments
 
LVL 70

Accepted Solution

by:
Merete earned 500 total points
ID: 17136166
Hi Andy I have only brushed a small bit on dream weaver and fireworks stuff, but have seen your post sitting here all empty, so dont yell at me lol this just guess with good intentions.
it is rather a difficult one as it covers several subjects.
Please look at my offereings never know I might help if not blame it on the lack of experience :)
btw you are wellcome to ask for a refund, entirely/

Director MX Tutorial 1: Dynamic Use of External Media
http://www.joesparks.com/macr/postcards/DiMX_Tutorial1.htm
http://www.adobe.com/devnet/director/articles/external_media.html

Director Online Article Database
http://director-online.com/listArticles.php?type=section§ion=Multimedia%20Handyman

Basics of ASP.net PDF 1.25 megs
http://www.friendsofed.com/samples/1590595173.pdf

0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Movies become choppy/laggy after playing for 5 episodes or more 8 111
Adding a subtitle  file to a video file. 6 112
Photo Display Application 4 67
Software for video analysis 16 58
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
The advancements in today's technology are unparalleled. Much of the technology that we have could not have been imagined twenty years ago. One of the latest additions to the list of technological advances is virtual reality. Virtual reality has an …
This video will give a brief orientation and organization of Logic Pro X, and how to access different work spaces quickly with keyboard shortcuts.
Viewers will learn how to include realistic velocity sensitivity to their Sampler instruments. Set the Vol<Vel parameter in the Filter/Global tab to your desired setting: Gather samples of hits of various intensity, and drag/drop into Velocity zon…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question