flashpaper模板DefaultViewer2_Source
过FlashPaper的朋友可能会发现FlashPaper生成的swf文件左上角有Adobe的商标,非常不雅观,而且swf还可以下载,当然这就和百度文库的在线阅读相悖了。如何隐藏商标和取消打印按钮, 其关键点是Interface目录下的DefaultViewer2.swf文件.
此文件提供了DefaultViewer2.swf反编译后的FLA的源码, 需要的朋友可以下载后自己进行修改, 修改的方式如下:
1. 利用falsh制作工具(如Adobe Flash Professional CS5),打开此fla文件
2. 找到第3个帧
3. 添加代码或修改代码:(隐藏即false,显示即true,请根据需要自行修改)
gMainView.showUIElement("PrevNext", true);
gMainView.showUIElement("Print", false);
gMainView.showUIElement("Find", true);
gMainView.showUIElement("Tool", false);
gMainView.showUIElement("Pop", false);
gMainView.showUIElement("Zoom", true);
gMainView.showUIElement("Page", true);
gMainView.showUIElement("Overflow", true);