Gareth Edwards wrote:
> The company I work for are interested in methods we can use to communicate to
> the parent document. (ie HTML document where the PDF is embedded).
> Could you elaborate on how it is currently possible to Invoke flash player from
> Adobe Reader? Is this done via _javascript_ in the pdf document as well as the
> browser?
> Are there examples of this in the Acrobat SDK? or in any public facing documents?

Just to check, we're talking about using the variety of WWW browsers
your audience may have, and putting in SWF and PDF elements in the same
HTML page, and having them all intercommunicate... is that the goal?

If so, I know that there was LiveConnect support in past versions of
Acrobat Reader, but I don't know offhand if the current Adobe Reader
7.0x has yet implemented the NPRuntime communication spec in recent
browsers.

(Background: Netscape/Mozilla have had three different
intercommunication schemes, with the most recent one also adopted by
Opera and Safari... Microsoft's Windows browsers have had a parallel
scheme... in plugins these differing approaches have generally been
papered-over with "externalEvent" or "FSCommand" or "ExternalInterface"
types of calls. In addition to these browser-provided intercommunication
methods people have hacked around browsers for years, whether through
"_javascript_:" pseudo-URLs or refreshing a small DIV or whatever. Lots of
  browser difference here.)

A lot would depend on which browsers your audience uses (brand, version
and platform), and which ways you need communication to flow. That's the
base restriction.

The Apollo project will focus on making it easier for HTML, SWF and PDF
to intercommunicate with a minimum of hassle, but right now you've got
to lock down the biggest variable, and that's the browsers your audience
has chosen. After that you can research communication methods those
browsers support. Not an easy answer, I'm afraid. :(

jd





--
John Dowdell . Adobe Developer Support . San Francisco CA USA
Weblog: http://weblogs.macromedia.com/jd
Aggregator: http://weblogs.macromedia.com/mxna
Technotes: http://www.macromedia.com/support/
Spam killed my private email -- public record is best, thanks.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to