I cannot get my swf to work inside the shadowbox! I've tried everything posted here and then some! Could anyone help me? I know this thread is long dead but its so close.
I've got shadowbox appearing but I cannot get the swf video to play inside it. It just appears empty. I am trying to launch it from another flash file. Sorry to be annoying... just my hand is starting to hurt from messing with it for so long. Heh. Its not much at the moment (and I don't know if its helpful), but what I've got so far can be seen @
http://www.williamtylerbuser.com/test.html (the bottom left image is the broken button I'm trying to fix)
Anyways, thanks in advance.
Here is my flash button:
----------------------------------------------------------------------------------
stop();
import flash.external.ExternalInterface;
button1.onRelease = function() {
ExternalInterface.call("openShadowbox",'wtbFO3trail1','swf','');
};
----------------------------------------------------------------------------------
Here is my HTML:
----------------------------------------------------------------------------------
<!-- Some CSS Style for the demo -->
<link rel="stylesheet" type="text/css" href="css/style.css" />
<link rel="stylesheet" type="text/css" href="javascript/shadowbox.css" />
<!-- Required scripts -->
<!-- SWFOBJECT -->
<script type="text/javascript" src="javascript/libraries/swfobject/swfobject.js"></script>
<!-- Shadowbox injector -->
<script type="text/javascript" src="javascript/flashShadowboxInjector.js"></script>
<!-- Shadowbox -->
<script type="text/javascript" src="javascript/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
language : "en",
continuous : true,
counterType : 'skip',
players : ['img', 'html', 'iframe', 'qt', 'wmp', 'swf', 'flv']
});
var openShadowbox = function(content, player, title){
Shadowbox.open({
content: content,
player: player,
title: title
});
};
window.onload = Shadowbox.init;
</script>
----------------------------------------------------------------------------------