Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 93032

How do i resolve Error #2032 ? Could anyone help on this?

$
0
0

@Hi,

 

I am using the following code to launch SWF file. When i launch the page, getting "Error #2032" from GUI.

Could you please advise if any changes needs to be done in the following file?

Do you think this is environmental issue?

Please let us know how to troubleshoot the issue.

 

--------------------------------

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

<head>

<title>Reports</title>

<meta name="google" value="notranslate" />      

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

 

<!-- Include CSS to eliminate any default margins/padding and set the height of the html element and

the body element to 100%, because Firefox, or any Gecko based browser, interprets percentage as

the percentage of the height of its parent container, which has to be set explicitly. Fix for

Firefox 3.6 focus border issues. Initially, don't display flashContent div so it won't show

if JavaScript disabled.

-->

<style type="text/css" media="screen">

html, body { height:100%; }

body { margin:0; padding:0; overflow:auto; text-align:center;

background-color: #ffffff; }

object:focus { outline:none; }

#flashContent { display:none; }

</style>

 

<script type="text/javascript" src="swfobject.js"></script>

</head>

<body>

<script type="text/javascript">

var swfVersionStr = "10.2.0";

// To use express install, set to playerProductInstall.swf, otherwise the empty string.

var xiSwfUrlStr = "playerProductInstall.swf";

var flashvars = {};

var params = {};

  1. params.quality = "high";
  2. params.bgcolor = "#ffffff";
  3. params.allowscriptaccess = "sameDomain";
  4. params.allowfullscreen = "true";
  5. params.wmode="transparent"; // set proper z-index so swf won't go on top of mega menu

var attributes = {};

  1. attributes.id = "TestMain";
  2. attributes.name = "TestMain";
  3. attributes.align = "middle";
  4. swfobject.embedSWF(

"/acsview/pages/flex/TestMain.swf", "flashContent",

"100%", "100%",

swfVersionStr, xiSwfUrlStr,

flashvars, params, attributes);

// JavaScript enabled so display the flashContent div in case it is not replaced with a swf object.

  1. swfobject.createCSS("#flashContent", "display:block;text-align:left;");

if (swfobject.ua.ie && swfobject.ua.win)

{

  1. swfobject.addLoadEvent(

function()

{

var app = swfobject.getObjectById("TestMain");

if (app)

{

  1. app.focus();

}

}

);

}

</script>

<!-- SWFObject's dynamic embed method replaces this alternative HTML content with Flash content when enough

JavaScript and Flash plug-in support is available. The div is initially hidden so that it doesn't show

when JavaScript is disabled.

-->

<div id="flashContent">

<p>

To view this page ensure that Adobe Flash Player version

10.2.0 or greater is installed.

</p>

</div>

 

<noscript>

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="100%" height="100%" id="index">

<param name="movie" value="TestMain.swf" />

<param name="quality" value="high" />

<param name="bgcolor" value="#ffffff" />

<param name="allowScriptAccess" value="sameDomain" />

<param name="allowFullScreen" value="true" />

<!--[if !IE]>-->

<object type="application/x-shockwave-flash" data="TestMain.swf" width="100%" height="100%">

<param name="quality" value="high" />

<param name="bgcolor" value="#ffffff" />

<param name="allowScriptAccess" value="sameDomain" />

<param name="allowFullScreen" value="true" />

<!--<![endif]-->

<!--[if gte IE 6]>-->

<p>

Either scripts and active content are not permitted to run or Adobe Flash Player version

  1. 11.1.0 or greater is not installed.

</p>

<!--<![endif]-->

 

 

<!--

<a href="http://www.adobe.com/go/getflashplayer">

<img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash Player" />

</a>

-->

 

<!--[if !IE]>-->

</object>

<!--<![endif]-->

</object>

</noscript>

 

</body>

</html>

-------------------------------------

 

We added crossdomain.xml file in the web application and still not working. The following is content of the crossdomian.xml file.

 

<?xml version="1.0"?>

<cross-domain-policy>

<allow-http-request-headers-from domain="" headers="" secure="false" />

<allow-access-from domain="*" secure="false" />

</cross-domain-policy>

 

Thanks in advance,

Parimala

 

Message was edited by: Parimaladevi Vadivel


Viewing all articles
Browse latest Browse all 93032

Trending Articles