I have a Flash object on my site, which has this code:
this.ld = new LocalConnection();
this.ld.allowDomain("*");
ExternalInterface.call("alert", this.ld.domain);
It alerts my domain successfully. However, what I want is to access the HTML DOM through this using LocalConnection and not ExternalInterface directly.
Any ideas?
ExternalInterfaceis your best bet in accessing HTML DOM.LocalConnectionis for communication between different SWF files within the same page/browser.