When you generate a new flash panorama .swf and the Flash Helper HTML file it contains some revised detection code as well as a REVISED p2q_embed_object.js file.
First thing we did was forward to our client the new p2q_embed_object.js file to be use with a set of html pages we created last year thinking all was well. All they needed to do is upload the new .js file and it should work with the old HTML files. Well I got it 50% correct.
YES you do have to use the new .js file because it contains Adobe Flash Detection recommended coding.
AND here is the matching code that you should use in the old html pages
Code: Select all
<!--
if ((window.p2q_Version) && (window.p2q_Version>=1.3)) {
// Check to see if the version meets the requirements for playback
if (DetectFlashVer(8,0,0)) {
p2q_EmbedFlash('yourpano.swf','700','433');
} else { // flash is too old or we can't detect the plugin
document.write('<b>This content requires Adobe Flash Player Version 8 or higher. '
+ '<a href=http://www.adobe.com/go/getflash/>Get Flash</a></b><br>');
}
} else {
document.writeln('<br><b>p2q_embed_object.js is not included or it is too old! Please copy this file into your html directory.</b><br>');
}
//-->
</script>
<noscript>
<br><b>Please enable Javascript!</b></br>
</noscript>
ARE WE HAVING FUN YET ??