http://www.adobe.com/devnet/activecontent/articles/devletter.html
Download the JavaScript files (ZIP, 124K)
http://download.macromedia.com/p ... content_samples.zip
Note: This sample archive contains six files:
AC_RunActiveContent.js: This is the file you use for the workaround for Flash and Shockwave content described in External JavaScript Solution 2: For Multiple Occurrences of Embedded Content.
AC_ActiveX.js: Use this file for the fix described in the section, Solution for Other Active Content Types.
SampleActiveContent.html: This file provides an example of the code you would use in your HTML page when using the AC_RunActiveContent.js and AC_ActiveX.js files.
button1.fla: This file is the source file for the SWF.
button1.swf: This file is the SWF that is embedded in the page.
readme.txt: This is the Readme file that contains a description of the ZIP contents
----------------------------------------------<script src="[path]/AC_ActiveX.js" type="text/javascript"></script>
<script src="[path]/AC_RunActiveContent.js" type="text/javascript"></script>
<script type="text/javascript">
AC_AX_RunContent( 'classid','clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFB','width','150','height','100','src','fakefile.foo' );
</script> |