我正在尝试使用FlexPaper来显示Pdf文件。我将pdf格式转换为swf格式,并通过按下按钮将其加载到flexpaper控件中。它显示100%,且文档无法在FlexPaper控件中显示。
protected function button1_clickHandler(event:MouseEvent):void
{
myViewer.SwfFile="test1.swf";
}
<s:Button x="84" y="491" label="Button" click="button1_clickHandler(event)"/>
<flexpaper:FlexPaperViewer id="myViewer" x="10" y="26" width="892" height="284" >
</flexpaper:FlexPaperViewer>发布于 2012-12-20 17:50:43
你的代码正在为我工作。我认为问题可能出在test1.swf文件中。
请参考以下网址并将pdf正确转换为swf。
http://flexpaper.devaldi.com/docs_converting.jsp
如果你有什么问题,尽管问我。
https://stackoverflow.com/questions/12928967
复制相似问题