flash not working in mac-safari

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • alamodgal
    New Member
    • Dec 2008
    • 38

    flash not working in mac-safari

    hiiiiiii
    flash of my site is not working in mac-safari


    My code is in javascript function

    function popupflash(obj)
    {
    document.write( "<object classid='clsid: D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://download.macrom edia.com/pub/shockwave/cabs/flash/swflash.cab#ver sion=5,0,0,0' width='899' height='138'>") ;
    document.write( "<param name='movie' value='/images/menu.swf'/>");
    document.write( "<param name=FlashVars value='page=" + obj + "'>");
    document.write( "<param name='quality' value='high' />");
    document.write( "<embed src='/images/menu.swf' FlashVars='page =" + obj + "' width='899' height='138' quality='high' pluginspage='ht tp://www.macromedia. com/shockwave/download/index.cgi?P1_Pr od_Version=Shoc kwaveFlash' type='applicati on/x-shockwave-flash' ></embed>");

    document.write( "</object>");
    }

    Please reply .Its urgent
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    That is a very unhealthy way of displaying flash.

    Anyway, have you tried emptying your cache? I know it sounds dumb, but it's a common error.

    Comment

    • gopan
      New Member
      • Apr 2009
      • 41

      #3
      Hey Pal,
      You've coded for a pretty old flash player...

      Try using the swfObject.

      Comment

      Working...