Solved

Flash LocalConnection to talk to Director - Using across domains

Posted on 2006-07-13
3
214 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
you tube .com 2 196
Multi monitor, video display issues 7 56
Filename as video title in playback 1 77
3D Rendering GPU or CPU? 1 78
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…
Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…
This video teaches viewers how to process images for a time-lapse video. Programs required: Adobe Lightroom, Adobe After Effects, Video Editing Program. In Adobe Lightroom: Import sequence image files into Adobe Lightroom: Develop settings of an I…

919 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now