Using FlowPaper in Adobe Flex

  1. Download the FlowPaper SWC from Google Code and add the FlowPaper library to your Flex project.
  2. Copy the SWF you created with PDF2SWF to your bin-debug directory and add the FlowPaper component to your flex application as in the following example (update the SwfFile property on the component to point to your SWF file):
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" width="100%" height="100%" xmlns:fp="com.devaldi.controls.flowpaper.*">
     <fp:FlowPaperViewer width="520" height="450" Scale="0.6" SwfFile="{escape('Paper.swf')}" />
</mx:Application>