Hi,
I have problem replacing the .swf intro file at [url]http://www.bethcameronvo.com/
you can view the source (view->source).
This is what I understand (probably not enough).
There is a script that selects the b2-s2.swf file and places it in the <div id= flashcontainer>
<div id=”flashcontainer”> </div>
<script type=”text/javascript”>
var s1 = new SWFObject(“images/b2-s2.swf”,”ply”,”679″,”414″,”9″,”#FFFFFF”);
s1.addParam(“allowfullscreen”,”true”);
s1.addParam(“allowscriptaccess”,”always”);
s1.addParam(“wmode”,”transparent”);
//s1.addParam(“flashvars”,”file=video.flv&image=preview.jpg”);
s1.write(“flashcontainer”);
</script>
There is a script that once the flash intro is finished should hide it and replace it with other content:
<script type=”text/javascript”>
function hideDivs(){
$(“#flashcontainer”).hide();
$(“#centerhome”).fadeIn(“slow”);
}
</script>
I have replaced the b2-s2.swf file with a new one, it plays and stop at the end but then the content for centerhome does not appear. Is there something I am missing in the the flash file? a link?
or there is something I do not understand about the scripts?
Thanks
alessandra