2012-10-17 84 views
1

我試圖使用FlexPaper來顯示PDF文件。我也將pdf轉換爲swf,並通過按下按鈕將其加載到flexpaper控件中。它顯示100%,文檔無法在FlexPaper控件中顯示。無法在FlexPaper中加載swf文件

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> 

回答