homepage Welcome to WebmasterWorld Guest from 54.234.147.84
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
DCR File/Shockwave Version Problem
DCR File won't work with Shockwave.
EricEC




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

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.

 

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved