我是用fiexpaper来展现.swf文件的。但是右击里面有个打印我来禁用不了。弄了好久没搞定。求大神帮忙。

解决方案 »

  1.   

    只能禁用浏览器的右键。禁用不了fiexpaper的啊。
      

  2.   

    我会啊。。你找到这个文件:FlexPaperViewer.mxml  把:<st:GradientImageButton icon="{MenuIcons.PRINT_ICON}" styleName="toolbttn" width="20" click="printPaper(event)" toolTip="@Resource(key='Print', bundle='FlexPaper')" visible="{!ReadOnly}" includeInLayout="{!ReadOnly}" enabled="{PrintEnabled}" />
    <mx:Image source="{MenuIcons.BAR}" width="3" height="21" visible="{!ReadOnly}" includeInLayout="{!ReadOnly}"  />这个注释掉就行了。