zoukankan      html  css  js  c++  java
  • FlexPaper查看Flash文件

    HTML 代码:

    <head>

      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <title>Flash在线阅览</title>
      <script type="text/javascript" src="../static/widgets/flashpaper/flexpaper_flash.js"></script>
    </head>

    <body>
      <div id="viewerPlaceHolder" style=" 80%; height: 800px;"></div>
    </body>

    JavaScript 代码:

    var FP = new FlexPaperViewer(     
    		flexPaperViewer,
    	  'viewerPlaceHolder'
    	  , { 
    	  config : {  
    	       SwfFile : escape(flashUrl),  
    	       Scale : 0.6,   	// 初始缩放比例
    	       ZoomTransition : 'easeOut',  	// 缩放样式
    	       ZoomTime : 0.5,  	// 缩放所使用的时间
    	       ZoomInterval : 0.1,  
    	       FitPageOnLoad : true,  	// true 页面自适应
    	       FitWidthOnLoad : false,  	// true 自适应宽度
    	       FullScreenAsMaxWindow : false,  
    	       ProgressiveLoading : false,  
    	       MinZoomSize : 0.2,  
    	       MaxZoomSize : 5,  
    	       SearchMatchAll : false,  
    	       InitViewMode : 'SinglePage',
    	       ViewModeToolsVisible : true,  
    	       ZoomToolsVisible : true,  
    	       NavToolsVisible : true,  
    	       CursorToolsVisible : true,  
    	       SearchToolsVisible : true,  
    	        
    	       localeChain: 'en_US'  
    	   }
    	});
    

      

  • 相关阅读:
    代码编辑
    作业7
    实验 13 综合练习三
    模版 实验二 概要设计
    在线评测系统(OJ)使用方法
    作业 6 结构体
    结构体简介
    实验 10 指针2
    (第一周)软件工程四人组
    (第一周)读《构建之法》
  • 原文地址:https://www.cnblogs.com/hapday/p/6396581.html
Copyright © 2011-2022 走看看