Welcome to WebmasterWorld Guest from 54.166.87.123

Forum Moderators: open

Message Too Old, No Replies

DCR File/Shockwave Version Problem

DCR File won't work with Shockwave.

   
9:19 pm on Apr 3, 2009 (gmt 0)

5+ Year Member



Hello,

I'm having a small problem when I try to run a DCR file on my site.

My code is as follows:

"<center>
<script type=\"text/javascript\">\n
document.write('<OBJECT CLASSID=\"clsid:166B1BCA-3F9C-11CF-8075-444553540000\"');
document.write('CODEBASE=\"http://active.macromedia.com/director/cabs/sw.cab\"');
document.write('WIDTH=\"".$gamewidth."\" HEIGHT=\"".$gameheight."\" NAME=\"shocked\" ID=\"swmovie1\">');
document.write('<PARAM NAME=\"SRC\" VALUE=\"".$gamefilepath."\">');
document.write('<embed src=\"".$gamefilepath."\" width=\"".$gamewidth."\" height=\"".$gameheight."\">');
document.write('</OBJECT>');\n
</script>\n
<noscript>
<OBJECT CLASSID=\"clsid:166B1BCA-3F9C-11CF-8075-444553540000\"
CODEBASE=\"http://active.macromedia.com/director/cabs/sw.cab\"
WIDTH=\"".$gamewidth."\" HEIGHT=\"".$gameheight."\" NAME=\"shocked\" ID=\"swmovie1\">
<PARAM NAME=\"SRC\" VALUE=\"".$gamefilepath."\">
<embed src=\"".$gamefilepath."\" width=\"".$gamewidth."\" height=\"".$gameheight."\">
</OBJECT>')
</noscript>
</center>"

When I try to run a page with a DCR file on it, I get the following message:

"The page you are trying to open contains a movie that is in reference to an incorrect version of the shockwave player."

I did some research and it looks like I need to specify that I want to use shockwave player 11. I'm not totally sure how to fix this or what to do. Any advice would be wonderful.

Thanks in advance.