Expand my Community achievements bar.

SWF in XFA Form?

Avatar

Level 1

Hi everybody,

I'm trying to insert an SWF-file (Flex-Application) in a PDF-Form, which was created with LCD ES.

  1. Is it correct, that the only way to do this, is the new Flash-Tool in Acrobat 9?
  2. When I try it with Acrobat 9, I can't insert the SWF because of the security limitations created by LCD although I didn't specify any limitations. I can't change the document at all in Acrobat 9...how can I get the SWF inside the XFA form?

Thanks in advance...

5 Replies

Avatar

Level 10

Hi,

Thom Parker has a good example of deploying an AVI in an XFA form (http://www.windjack.com/DownLoads/MultimediaXFA.pdf). This is a large file so you might want to rick click the link and download. Also check http://www.windjack.com/resources/howto.html

This is the only solution I have come aross that comes anyway close to what you want.

Good luck,

Niall

Avatar

Level 1

Thanks for the answer.

I already found this example, but it's not exactly what I want.

The first step is to insert the Flex application in the form, the next step would be to transfer data from the application (e.g. after a button click) in a form field...

Any ideas, why Acrobat doesn't let me include the SWF file (the multimedia tool button is grayed out)?

Avatar

Level 10

Sorry,

That is the closest I have seen for having multimedia in a XFA form.

LiveCycle generates an XFA form, which is "wrapped" in a PDF structure. While an XFA form opens in Acrobat, it is fundamentally different from an AcroForm (Acrobat form) and a normal PDF.

When you open an XFA form in Acrobat there are a lot of (normal) PDF functionality that is not available. Inserting a Flash movie is just one of them.

There is no way around this. You will not be able to use the insert SWF command when in an XFA form.

Good luck,

N.

Avatar

Level 1

OK, thanks, I think I got this now...

Do you know if it is possible for AcroForm form fields to interact with an embedded Flex-App?

Avatar

Level 10

Hi,

I think that the app.media method allows you to script for play/pause buttons etc. I have not used it for that purpose, so you would have to look at the Acrobat SDK: http://www.adobe.com/devnet/acrobat/

Good lick,

N.