Open GoogleCodeExporter opened 8 years ago
Try the following example of how to create a viewer:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
width="100%" height="100%" initialize="init()">
<mx:Script>
import com.devaldi.controls.flexpaper.FlexPaperViewer;
import com.devaldi.controls.flexpaper.FlexPaperViewer_Base;
private function init() : void {
var fp : com.devaldi.controls.flexpaper.FlexPaperViewer = new com.devaldi.controls.flexpaper.FlexPaperViewer();
mycontainer.addChild(fp)
fp.x = 0;
fp.y = 0;
fp.SwfFile = "Paper.pdf.swf";
}
</mx:Script>
<mx:VBox width="100%" height="100%" id="mycontainer">
</mx:VBox>
</mx:Application>
Original comment by erik.eng...@devaldi.com
on 9 Jun 2013 at 9:18
Good Day,
the code you provide doesn't resolve the issue.
Thanks.
Original comment by mhhechan...@gmail.com
on 11 Jun 2013 at 6:51
Original issue reported on code.google.com by
mhhechan...@gmail.com
on 29 May 2013 at 5:22