This sample shows how to integrate a user interface component built in Adobe Flash (Flex) into a IBM® WebSphere® Portlet Factory model. The key technique shown is the use of flashvars to communicate a URL to be used for data access, allowing the Flash component to get its data from a Portlet Factory service operation.
This model (samples/flash_integration/FlashOrders) pulls in a Flash swf file that is located in the servable content area (samples/flash/flexOrders.swf) - this was generated from a Flex source file (flexOrders.mxml) that is located in the same directory, using the Adobe Flex SDK. You should, however, be able to use the tool of your choice to generate an swf file and embed it in this manner.
Notes on running the sample and prerequisites
This sample uses the Orders service provider model that is shipped with Portlet Factory in the Tutorials and Samples / Applications feature set - please add this feature set to your project before installing this sample.
To install, import the attached zip file into your project using the Import WebSphere Portlet Factory Archive command.