0
Welcome Guest! Login
0 items Join Now

GlobalBiz - bug in my modification

    • Kevin F ODonnell's Avatar

    GlobalBiz - bug in my modification

    Posted 18 years 3 weeks ago
    • I modified GlobalBiz to play a flash movie. The movie plays in Explorer, but I have errors when attempting to render the template (as modified) in Firefox. The site is http://www.bankruptcymisconduct.com  I've attempted to fix myself but obviously don't see what's wrong with the syntax. Any suggestions? Thanks in advance for your tip(s).
  • Re: GlobalBiz - bug in my modification

    Posted 18 years 3 weeks ago
    • In Firefox, it looks like it is trying to verify if Flash is installed on user's browser.

      This is the error I found: DetectFlashVer is not defined
      www.bankruptcymisconduct.com/site/
      Line 192


      Try uncommenting this section in the index.php to see if it works.
      <!--
      192 var hasRightVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);
      193 if(hasRightVersion) { // if we've detected an acceptable version
      194 var oeTags = '<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"'
      195 + 'width="256" height="139"'
      196 + 'codebase=" download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab ">'
      197 + '<param name="movie" value="slideshow.swf" /><param name="menu" value="false" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" />'
      198 + '<embed src="slideshow.swf" menu="false" quality="high" bgcolor="#ffffff" '
      199 + 'width="256" height="139" name="slideshow" align="middle"'
      200 + 'play="true"'
      201 + 'loop="false"'
      202 + 'quality="high"'
      203 + 'allowScriptAccess="sameDomain"'
      204 + 'type="application/x-shockwave-flash"'
      205 + 'pluginspage=" www.macromedia.com/go/getflashplayer ">'
      206 + '<\/embed>'
      207 + '<\/object>';
      208 document.write(oeTags); // embed the flash movie
      209 } else { // flash is too old or we can't detect the plugin
      210 var alternateContent = 'Alternate HTML content should be placed here.'
      211 + 'This content requires the Macromedia Flash Player.'
      212 + '<a href=http://www.macromedia.com/go/getflash/>Get Flash</a>';
      213 document.write(alternateContent); // insert non-flash content
      214 }
      215 // -->

      Hope this helps. :'(

      Mike
    • Last Edit: 18 years 3 weeks ago by Mike VanKirk.
    • Mack's Avatar
    • Mack
    • Elite Rocketeer
    • Posts: 535
    • Thanks: 0

    Re: GlobalBiz - bug in my modification

    Posted 18 years 3 weeks ago
    • Same here.

      IE6 this wasn't a problem. In FF2.0 it blew chunks, got the same error Mike described.

      There were some text formatting issues with IE6 in the bottom of the page. The header text: .... Matters of interest to viewers of this site: and [ Under Construction - Prototype Below: ] ...

      was wrapping around to 2 lines and the second line overwrites the top one.

Time to create page: 0.065 seconds