Skip to main content
1-Visitor
July 6, 2010
Question

Embedding SWFs in PDF via Arbortext

  • July 6, 2010
  • 1 reply
  • 573 views


Hi,



I use Arbortext to XML-based online courses using a custom Flash engine for publishing. I often have the need to embed smaller SWF files within the XML for display in the course player. But I also have a need to publish these courses in PDF format for reviewers. I use the Compose PDF option of the File menu, not the Arbortext Publishing Engine.



I want to be able to embed SWFs in the PDF so that they are interactive and will play within the PDF. I have seen an example of a SWF in a PDF like this. Does anyone know how to set up a stylesheet so that the SWF will be embedded in the PDF? I have an element that contains a path to the SWF file in an attribute. The best I have been able to do is specify the path to an html file that launches the SWF in the attribute and then define the element as a link. But this gives me a clickable link in the PDF file that launches the SWF in a separate window. I would like to have the SWF embedded within the PDF rather than linked.



Does anyone know how to do this?



Thanks,

Carolyn Herlin


    1 reply

    16-Pearl
    July 7, 2010
    Hi Carolyn,

    I'm pretty sure this is not automatable in Arbortext, eg. you would need
    to embed the SWF "by hand" in Acrobat. However, I would love to hear if
    what you want is possible to achieve with automated PDF generation
    (direct to PDF or otherwise).

    Just thinking, a clever workaround might be to roll your sleeves up and
    write some clever Acrobat scripting that would find and replace certain
    special images in your original PDF with the SWFs. You would need to be
    pretty sharp with Acrobat scripting though I think.

    Cheers,
    Gareth