I'm just curious if it's possible that Flash objects can access the DOM of the document that has embedded it.
+2
A:
Yes, through the ExternalInterface class.
You can make calls to Javascript from within the Flash movie and get back any public information about the page that your heart desires.
Robusto
2010-03-18 20:14:41
+2
A:
Not that I know of, but they can execute javascript in the containing document, which obviously can then access the DOM itself.
Peter Bailey
2010-03-18 20:14:51
If I have some AJAX calls in the parent document, can I communicate with the Flash object somehow?
devviedev
2010-03-18 20:16:05
+3
A:
Yes.
An example: http://livedocs.adobe.com/flex/3/html/help.html?content=ProgrammingHTMLAndJavaScript_07.html
Yuval A
2010-03-18 20:15:55
As I understand it, that example is for AIR applications only and can't be used in regular web browsers. So the other answers, suggesting to use ExternalInterface, are probably a better fit, unless devviedev is developing an AIR application.
Lars
2010-03-20 10:48:05