I have 2 javascripts in my head section. Now I want to place the embedSWF function inside the first script. Only I am not sure where..
<!-- JQUERY Functions -->
<script type="text/javascript">
jQuery.noConflict();
jQuery(document).ready(function() {
// alert('DOM ready');
});
window.onload = function() {
// alert('page completely loaded');
}
</script>
<!-- write SWF -->
<script type="text/javascript">
function outputStatus(e) {
if (!e.success) { // alert('NO flash, alternative content');
}
else { // alert('flash embedded successfully');
}
}
var flashvars = {};
var params = {}
swfobject.embedSWF("test.swf", "album-wrap", "930", "530", "9.0.0", "js/expressInstall.swf", flashvars, params, null, outputStatus);
</script>