# Active X Control

**URL:** https://forum.kirupa.com/t/active-x-control/194411
**Category:** flash
**Created:** [July 23, 2006, 2:56am UTC](https://forum.kirupa.com/t/active-x-control/194411 "2006-07-23T02:56:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![VaLL](https://avatars.discourse-cdn.com/v4/letter/v/4491bb/32.png) [@VaLL](https://forum.kirupa.com/u/VaLL)
#### Post date: [July 23, 2006, 2:56am UTC](https://forum.kirupa.com/t/active-x-control/194411/1 "2006-07-23T02:56:57Z")

</div>

I’ve tried the following tutorial:  
[http://www.kirupa.com/developer/flash8/flash\_fix.htm](http://www.kirupa.com/developer/flash8/flash_fix.htm)  
(I notice its in the Flash 8, Im using MX; does that make any difference ?)

Generated the code:[INDENT]\<script type=“text/javascript” src=“flashobject.js”\>\</script\>

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

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

[/INDENT]I’ve added the ‘flashobject.js’ to the same directory as the .swf file and HTML file, but it still wont work Ⓜ

Heres an example page of what i’ve done:  
[http://www.seventhguild.net/Test/test.htm](http://www.seventhguild.net/Test/test.htm)  
"/bar.swf  
"/flashobject.js

Anyone have any ideas ?
