PDA

View Full Version : flashobject.js = problems loading external movie clips



blacklight
May 10th, 2008, 11:51 AM
HI People

I am trying to use the flashobject.js for the obvious reason - I dont want to see the active x controls within my flash animation.

It works fine in all instances except for when loading an external movie clip into the existing MC.

I have tried using the allow ScriptAccess", always to see if that helps but no joy.

Please if anyone can help it would be much appreciated.

Cheers - http://www.blacklightmedia.co.uk

Below is an exmple of my script

<script type="text/javascript">
var fo = new FlashObject("flash/header.swf", "name", "860", "100", "8", "#FFFFFF");
fo.addParam("allowScriptAccess", "sameDomain");
fo.addParam("quality", "high");
fo.addParam("scale", "noscale");
fo.addParam("loop", "false");
fo.write("flash1");
</script>

glosrfc
May 10th, 2008, 07:23 PM
Have you included a <div> to hold the flashobject "flash1"?

<div id="flash1">
Put alternate text or a link to the Flash Player download here
</div>

Alternatively, go to this link and it will create all of the code for you:
http://www.kirupa.com/developer/flash8/flash_fix.htm