You should have the entire mjijackson package uploaded to your server, and request them in the html page where your flash object is, you dont need to change any code in the shadowbox files, just add some code to your html.
For example this is what i use to have shadowbox ready for whenever i need to call it:
<!-- Shadowbox //-->
<script type="text/javascript" src="shadowbox/jquery-1.2.6.js"></script>
<script type="text/javascript" src="shadowbox/adapter/shadowbox-jquery.js"></script>
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
Then you must configure the skin, language, and player!, we use the var openShadowbox to call it from flash, that var, has the properties that you send from flash (AS3.0).
<script type="text/javascript">
Shadowbox.loadSkin('classic', 'shadowbox/skin');
Shadowbox.loadLanguage('es', 'shadowbox/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'shadowbox/player');
var openShadowbox = function(content, player, title, width, height){
Shadowbox.open({
content: content,
player: player,
title: title,
width: width,
height: height
});
};
window.onload = Shadowbox.init;
</script>
<!-- End of shadobox //-->
Of course your code might be different depending on where your shadowbox files are.
As for the actionscript, you don't need to install anything, the only thing that you need is to send a call to "openShadowbox" with the properties that you need so that shadowbox understands that you are calling it, and what type of player should be used to open the url or file that you request.
and that is done with the code i sent you before.
So just to get things clear, your html should be like:
<html>
<head>
<title>Your title</title>
<script type="text/javascript" src="shadowbox/jquery-1.2.6.js"></script>
<script type="text/javascript" src="shadowbox/adapter/shadowbox-jquery.js"></script>
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.loadSkin('classic', 'shadowbox/skin');
Shadowbox.loadLanguage('es', 'shadowbox/lang');
Shadowbox.loadPlayer(['flv', 'html', 'iframe', 'img', 'qt', 'swf', 'wmp'], 'shadowbox/player');
var openShadowbox = function(content, player, title, width, height){
Shadowbox.open({
content: content,
player: player,
title: title,
width: width,
height: height
});
};
window.onload = Shadowbox.init;
</script>
</head>
<body>
your flash here.
</body>
</html>
And your AS in the button of your flash movie should be like this:
url_btn.addEventListener(MouseEvent.CLICK, shadowbox_open_url);
function shadowbox_open_url(e:MouseEvent):void {
ExternalInterface.call("openShadowbox",'
http://http://www.youtube.com/watch?v=ucq0gmBNHrI','iframe','Youtube video', '425', '344');
}
Where url_btn is the instance of the button or movieclip you are using.
and that would be it.