The "click to activate and use this control" issue

Why do I see a message prompting me to “click to activate and use this control” when I roll my mouse over a Flash animation?

There is a quick and dirty fix which can be found here

If you are interested in the Macromedia solution, which is technically more challenging, but definitely better, please continue to read on. We have tried to make this solution as digestible as possible.

The Macromedia solution

First a rough synopsis of what need to be done to fix the problem. MM's solution requires you add a Javascript file to your web server, and to add two sections of javascript code to your existing web page. One part of javascript code replaces the current HTML code, and a new part of Javascript need to be added to the header of your html file, so there are three changes that need to be made.

Step 1: Just save the following javascript file to your web site directory.
Click on this link and select "save", then unzip the file and put AC_RunActiveContent.js in your website directory.

Step 2: Add the following code to the header of your html page.

<script language="javascript">AC_FL_RunContent = 0;</script>
<script src="AC_RunActiveContent.js" language="javascript"></script>

This code must be put between the <HEAD> and </HEAD> tags , which can be found near the top of your html page. Click here to see a sample

Step3: Now we must update the current HTML code used to view the Flash animations, this code starts with <Object> and ends with </Object>. To do this simply put the green code (see below) above and below your current <Object></Object> code.

<script language="javascript">
if (AC_FL_RunContent == 0) {
alert("This page requires AC_RunActiveContent.js");
} else {
AC_FL_RunContent(
'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '200',
'height', '200',
'src', 'yourswffile',
'quality', 'high',
'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'false',
'scale', 'noscale',
'wmode', 'window',
'devicefont', 'false',
'id', 'flash-animations',
'bgcolor', '#eeeeee',
'name', 'yourswffile',
'menu', 'false',
'allowScriptAccess','sameDomain',
'movie', 'yourswffile',
'salign', ''
);
}
</script>

<noscript>

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="200" height="200" id="flash-animations" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="flash-animations.swf" />
<param name="loop" value="false" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#eeeeee" />
<embed src="flash-animations.swf" loop="false" menu="false" quality="high" bgcolor="#eeeeee" width="200" height="200" name="flash-animations" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" />
</object>

</noscript>

Step4: Now you must update some of the parameters in the above code, normally these parameters are the dimensions (RED) and the name of the SWF file (BLUE). If you want to learn more about each parameter please click here.

Step5: Finally you can upload the files, please note that you must upload the HTML page, SWF file and the javascript file that you saved in step one to your website directory

A sample created by reading thru the above steps can be found here

News Ticker

To read more about the MM solution, please visit:

http://www.macromedia.com/devnet/activecontent/articles/devletter.html
_____________________________________________________________________

Amara Animation Software develops easy-to-use Flash Player compatible web design software. We currently have 5 software applications: Amara news ticker, Amara menu builder, Amara intro and banner builder, Amara Slideshow builder, and Amara Photo Animation Software.



Amara Software | Sitemap | Volume Pricing | Testimonials | Contact us | About us |
Updates | HTML Editor Tutorials | Copyright

If you have any queries about our software please feel free to
drop us an email at Amara(nospam)@amarasoftware.com © 2002- May 28, 2011 Amara Software

FLASH is a registered trademark of Adobe Systems Incorporated in the United States and/or other countries.