Menu

[r11]: / trunk / SWFInvestigator / src / viewer / viewerWrapper.html  Maximize  Restore  History

Download this file

55 lines (44 with data), 2.1 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html lang="en">
<!--
/****************************************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2012 Adobe Systems Incorporated and it’s licensors
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
* ****************************************************************************/
-->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Viewer Wrapper</title>
<script type="text/javascript">
if(typeof childSandboxBridge=='undefined')
childSandboxBridge={};
</script>
<style>
body { margin: 0px; overflow:hidden }
</style>
</head>
<body scroll="no">
<div id="viewer"></div>
<script language="JavaScript" type="text/javascript">
function viewer_DoFScommand(command, args) {
alert ("FSCommand Call -- Command: " + command + " -- Args: " + args);
}
function rewriteDiv(bI) {
var htmlString = "<object id='viewer' classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' height='80%' width='80%'>";
htmlString += "<param name='src' value='" + bI.src + "'/>";
htmlString += "<param name='allowScriptAccess' value='" + bI.allowScriptAccess + "'/>";
htmlString += "<param name='allowNetworking' value='" + bI.allowNetworking + "'/>";
htmlString += "<param name='wmode' value='opaque'/>";
htmlString += "<param name='FlashVars' value='" + bI.flashVars + "'/>";
htmlString += "<embed name='viewer' wmode='opaque' pluginspage='/go/getflashplayer' src='" + bI.src + "' height='80%' width='80%' allowScriptAccess='" + bI.allowScriptAccess + "' allowNetworking='" + bI.allowNetworking + "' FlashVars='" + bI.flashVars + "'/>";
htmlString += "</object>";
var div = document.getElementById("viewer");
viewer.innerHTML = htmlString;
}
window.childSandboxBridge.rewriteDiv = rewriteDiv;
</script>
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.