# Script to correct "click to active&use this control" : can´t manage to make it work

**URL:** <https://forum.kirupa.com/t/script-to-correct-click-to-active-use-this-control-can-t-manage-to-make-it-work/187710>\
**Category:** Uncategorized\
**Created:** [May 1, 2006, 7:27pm UTC](https://forum.kirupa.com/t/script-to-correct-click-to-active-use-this-control-can-t-manage-to-make-it-work/187710 "2006-05-01T19:27:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![multimediamkt](https://avatars.discourse-cdn.com/v4/letter/m/e9c0ed/32.png) [@multimediamkt](https://forum.kirupa.com/u/multimediamkt)\
**Post date:** [May 1, 2006, 7:27pm UTC](https://forum.kirupa.com/t/script-to-correct-click-to-active-use-this-control-can-t-manage-to-make-it-work/187710/1 "2006-05-01T19:27:54Z")

</div>

\*\*script to correct “click to active&use this control” : can´t manage to make it work \*\*

I´ve tried to switch the flash embed code as per Kirupa´s tutorial

([kirupa.com - Fixing the Flash/Embed Issue](http://www.kirupa.com/developer/flash8/flash_fix.htm))

but I´ve got an error message:

\*Line 2 , character 2 , error : invalid character code : 0 \*

The flash file does not even load ;

I´ve pasted the script below as it is on my page just for you to take a look  
ANy hint ?  
thanks

obs 1: Line 2 is the \<head\> tag in my case

obs 2: = I have a doubt on how to address this line, flashobjects/pool\_mc\_mouseon.swf.js \> , it seems to be a blend of js and swf ; in my case the .swf file is in a folder and .js in another ;

Quote:

> …  
> \<head\>  
> \<script src=“flashobjects/pool\_mc\_mouseon.swf.js”\>\</script\>  
> \</head\>

\<body\>

\<script type=“text/javascript” src=“flashobject/pool\_mc\_mouseon.js”\>\</script\>

\<div id=“flashcontent” style=“width: 255px; height: 190px”\>\</div\>

\<script type=“text/javascript”\>  
var fo = new FlashObject(“flashobjects/pool\_mc\_mouseon.swf”, “animationName”, “255”, “190”, “8”, “#FFFFFF”);  
fo.addParam(“allowScriptAccess”, “sameDomain”);  
fo.addParam(“quality”, “high”);  
fo.addParam(“scale”, “noscale”);  
fo.addParam(“loop”, “false”);  
fo.write(“flashcontent”);  
\</script\>

\</body\>…

Eolus : damn it

![](http://multi-media-mkt.sites.uol.com.br/mmktavatar.gif)
