|
Hi.
In order to call a method in that swf you need to know the name of the
local connection it is listening to:
var uid = new Date().getTime();
The thing is that you (or they) need to pass
it from html to that swf. Or to get it into _javascript_ from that swf. Either way
the js and swf need to agree on the same id. Some security issues realted to the
diference of the originating domain of the swf could pop up so a
AllowDomain instruction in that swf might be
necessary.
cosmin
----- Original Message -----
Sent: Friday, October 13, 2006 5:06
PM
Subject: [osflash] _javascript_ integration
with the AdobeJavaScriptFlashGateway
Hi guys,
Right now I'm using the adobe
_javascript_FlashGateway to communicate between flash and _javascript_.
However, I have a problem. I need to be able to communicate with a swf
served by a third party, which is embedded via their own _javascript_, which I
can't change.
So - is it possible to use the _javascript_FlashGateway.js
WITHOUT knowing the name/DOM location of the swf that I want to send it
to?
Could I just set up something in the swf to identify it to the
_javascript_FlashGateway js?
Anyone done much of this
before?
Thanks in advance, Alias
_______________________________________________ osflash mailing
list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
|
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org