Expand my Community achievements bar.

Running another Flex app in iFrame?

Avatar

Level 1

We developed a control in Flex 4.0 (using Spark components). We do not want to convert it to older version of Flex because it's pretty complex.

Now, if LiveCycle has really been "stuck" with Flex 3.4.1 (or is it?), we are considering to display it in iFrame (the same iFrame that LC uses to display PDF with AdobeReader plugin). We would like to push XMLs between LC and the control.

This way we could use the control with Flex 3.4.1., and someday when LC runs on Flex 4.0 we could implement SwfConnector and use the control 'the native way'.

Questions:

1) Is it possible?

2) Is there any API for manipulating the LC iFrame?

Thanks in advance

Danko Kozar

1 Reply

Avatar

Former Community Member

You must use the 3.4.1 SDK that is provided on LiveCycle DVD or from an installation of Workbench (See the Customizing LiveCycle Workspace ES2 at at  http://help.adobe.com/en_US/livecycle/9.0/customizeworkspaceui.pdf or the Creating Flex applications enabled for LiveCycle Workspace ES2 guide http://help.adobe.com/en_US/livecycle/9.0/createflexapps.pdf guide).

There are functions in the SwfConnector component that allows you to communicate with the IFrame but as far as I know, there are no APIs that are exposed.

I'll defer to others if they know about it.

Hope that helps!