<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css">
<!--
body { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: .7em; margin: 5px 5px 5px 5px; background-color: #FFFFFF; }
a:link { color: #005FA9; text-decoration: none; }
a:visited { color: #A367B1; text-decoration: none; }
a:hover, a:visited:hover { background-color: #DDEEFF; }
h4 a, .index a { color: #005FA9; }
h4 a:visited, .index a:visited { color: #005FA9; }
h1 { font-size: 130%; margin-top: 0em; margin-bottom: .7em; }
h2 { font-size: 120%; margin-top: 1.4em; margin-bottom: .7em; }
h3 { font-size: 110%; margin-top: 1.2em; margin-bottom: .7em; }
h4 { font-size: 100%; font-weight: bold; margin-top: 1.2em; margin-bottom: .6em; }
p, table, pre { margin-top: .6em; margin-bottom: .6em; }
p.index { text-align: center; margin-bottom: 0em; }
table p, table pre { margin: 0px; }
table ul, table ul ul, table li { margin-top: 0px; margin-bottom: 0px; }
table.index { margin-top: 0em; border: 0px; }
table.index th, table.index td { border: 0px; padding: 2px 3px; }
table.index th { background-color: #E8F0F1; }
ol p, ul p { margin-top: .7em; margin-bottom: 0; }
ol { font-size: 100%; margin-top: .5em; margin-bottom: 0em; }
ul { font-size: 100%; margin-top: .5em; margin-bottom: 0em; }
ol ul, ul ul { list-style: square; margin-top: .5em; }
ol ol { list-style: lower-alpha; margin-top: .5em; }
li { margin-bottom: .7em; }
pre, .code { font-family: Courier, mono; font-size: 100%; }
.code { white-space: nowrap; }
ol pre, ul pre { margin-top: .5em; margin-bottom: 0em; }
code { font-family: Courier, mono; font-size: 100%; }
table { font-size: 100%; border-spacing: 0px 0px; border-collapse: collapse; border-bottom: solid 1px #B6C0C3; border-right: solid 1px #B6C0C3; }
th { font-weight: bold; color: #000000; background-color: #DEDEDE; text-align: left; border-top: solid 1px #B6C0C3; border-left: solid 1px #B6C0C3; }
td { border-top: solid 1px #B6C0C3; border-left: solid 1px #B6C0C3; }
table th, table td { padding: 0.4em 10px; vertical-align: top; }
img { margin: 0px 5px 0px 0px; border: none; }
}
-->
</style>
</head>
<body>
<h1>Converting Active Content </h1>
<p>The Convert Active Content feature repairs web pages containing active content that requires users to click on the content in order to interact with it in the latest versions of Internet Explorer. Active content can include:</p>
<ul>
  <li>Flash, Flash video, or FlashPaper content</li>
  <li>Shockwave or Authorware content</li>
  <li>Java applets</li>
  <li>Real Media content</li>
  <li>QuickTime content</li>
  <li>Custom ActiveX controls</li>
  <li>Other ActiveX controls or plug-ins</li>
</ul>
<p><br>
  For more information on active content, visit <a href="http://www.macromedia.com/devnet/activecontent/" target="mm_window">http://www.macromedia.com/devnet/activecontent/</a>.</p>
<p>This file contains the following two sections:</p>
<ul>
  <li><a href="#how">How the feature works</a></li>
  <li><a href="#custom">Converting custom content</a></li>
</ul>
<h2><a name="how"></a>How the feature works </h2>
<p>Whenever you open a page in Dreamweaver, Dreamweaver scans the page for active content. Dreamweaver then presents you with one of three options, depending on the type of active content in your page.</p>
<ul>
  <li>If your page includes active content embedded with  <code>object</code> tags, and those <code>object</code> tags contain ONLY <code>param</code> tags and/or <code>embed</code> tags, then Dreamweaver offers to convert all of the active content on the page for you. </li>
  <li>If your page is the same as the above, but also includes active content embedded with <code>object</code> tags that contain other kinds of tags, then Dreamweaver offers to convert ONLY the <code>object</code> tags that contain <code>param</code> tags and/or <code>embed</code> tags.</li>
  <li>If your page includes only active content  embedded with <code>object</code> tags that contain more than just <code>param</code> tags or <code>embed</code> tags, then Dreamweaver gives you a warning message and tells you that it cannot convert these tags. </li>
</ul>
<p>Clicking Yes in either of the first two Convert Active Content dialog boxes causes Dreamweaver to locate existing <code><code>object</code></code> tags that contain <code>param</code> tags and/or <code>embed</code> tags, wrap those <code><code>object</code></code> tags in <code>noscript</code> tags, and add <code>script</code> tags that enable the expected functioning of active content by calling JavaScript functions in an external file. Dreamweaver creates this external file (AC_RunActiveContent.js), and places it in a new folder (called Scripts, placed at the root of your site) when you save the updated file. It is extremely important that you upload the AC_RunActiveContent.js file when you upload the updated page, either manually or by clicking Yes in the Dependent Files dialog box. </p>
<p><strong>NOTE</strong> When inserting an Active X object in a document, Dreamweaver creates two external files: AC_RunActiveContent.js and AC_ ActiveX.js. You must upload both files when you upload the updated page, either manually or by clicking Yes in the Dependent Files dialog box.</p>
<p>Dreamweaver only adjusts <code><code>object</code></code> tags, and does not adjust independent <code>embed</code> or <code>applet</code> tags that might have been used to insert active content in older pages (though <code>embed</code> tags wrapped inside <code><code>object</code></code> tags are adjusted by virtue of Dreamweaver wrapping the <code><code>object</code></code> tag). If your web pages contain <code>embed</code> or <code>applet</code> tags, Adobe recommends that you convert those tags to <code><code>object</code></code> tags, and then open those pages so that Dreamweaver can perform the conversion for you. You can easily locate <code>embed</code> and <code>applet</code> tags in your web pages by conducting a search. For more information, see &quot;Searching and replacing tags and attributes&quot; in Dreamweaver Help.</p>
<p>The feature is extensible and allows you to use third-party extensions to convert web pages that might use specific kinds of plug-ins (for example, RealPlayer or Windows Media Player content).</p>
<p>You can also access the Convert Active Content feature by selecting File &gt; Convert &gt; Active Content. </p>
<p><strong>NOTE</strong> There is no way to update all of the pages in a Dreamweaver site at once. Active content must be updated on a page-by-page basis. Adobe recommends that you do a site-wide search for <code>object</code> tags, open the pages containing those tags, and let Dreamweaver repair the pages. For more information, see &quot;Searching and replacing tags and attributes&quot; in Dreamweaver Help.</p>
<h2><a name="custom"></a>Converting custom content </h2>
<p>It is important to keep in mind that Dreamweaver only converts <code>param</code> and <code>embed</code> tags that are contained within the identified <code>object</code> tags. If you've customized your code (for example, if you've added an <code>img</code> tag, or any other kind of tag inside your <code>object</code> tag), the JavaScript functions do not write out the appropriate strings for that content at run-time because Dreamweaver's JavaScript function only generates attribute-value pairs for <code>param</code> and <code>embed</code> tags. If you want your custom code to render properly at run-time and still work as expected in Internet Explorer, you will need to do one of the following:</p>
<ul>
  </li>
  <li>Write your own JavaScript function that deals with custom code. (If you wish, you can also turn off the Dreamweaver Convert Active Content feature by selecting Edit &gt; Preferences &gt; Code Rewriting.)</li>
  <li>Develop an extension that lets the generateScript() function look for other kinds of information within the <code>object</code> tag, and that passes that information along to a JavaScript function for the processing of different kinds of arguments.</li>
</ul>
<p>For more information on active content, visit <a href="http://www.macromedia.com/devnet/activecontent/" target="mm_window">http://www.macromedia.com/devnet/activecontent/</a>.</p>
</body>
</html>
