Hi There,
Im looking to use a variable as the path when I launch shadowbox from flash, but I cant seem to get it working, does anyone know how? The button code is...
on (release) {
getURL("javascript:openshadowbox('_root.campaignVideoFlv', 'flv','title', '288', '512');", "_self");
}
where _root.campaignVideoFlv is the variable name. But I keep getting errors. The code on the page is...
<script type="text/javascript">
function openshadowbox(content, player, title, height, width){
Shadowbox.open({
content: content,
player: player,
title: title,
height: height,
width: width,
});
}
</script>
Any help appreciated!