在flex中使用flexpaper

来源:互联网 发布:python 中使用aes加密 编辑:程序博客网 时间:2024/04/29 12:20

1. 下载FlexPaper SWC,添加到你的Flex项目libs中

2. 复制你用PDF2SWF(下载swftools)创建的SWF到你的bin-debug目录,如Paper3.swf,添加FlexPaper组 件到你的flex代码中Xml代码

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
    layout="absolute"
    width="800" height="500"
    xmlns:flexpaper="com.devaldi.controls.flexpaper.*">
    
    <flexpaper:FlexPaperViewer width="800" height="500" 
        Scale="1" SwfFile="Paper3.swf" />
    
</mx:Application>

原创粉丝点击