...

Flash/Director game not working in IE

cjwsb
06-29-2005, 10:37 PM
Hello all,

First things first, I must say that I know very, VERY little about Flash, and nothing at all of Director.

I found a shockwave blackjack game on the web a few years ago that I liked, and implemented it on my own site HERE (http://www.bartlett-family.net/chrisbartlett/blackjack/play.html) . Now, it works fine in every browser, but what I wanted to do was change the code to make it validate as XHTML 1.0 Strict.

With help of some tutorials, I was able to accomplish this, but I don't know anything about Director, either. The NEW, valid-code game is HERE (http://www.bartlett-family.net/chrisbartlett/blackjack/play2.html)

Same game, same "dcr" file, just valid code. BUT, the second game does NOT work in IE. Could someone help me figure out why?

Thank you very, very much.

Chris

_Aerospace_Eng_
06-30-2005, 05:15 AM
IE fudges up using some mime types. You could still be "valid" by using some javascript to write the embed tag in FF within the object tag.

cjwsb
06-30-2005, 12:41 PM
IE fudges up using some mime types. You could still be "valid" by using some javascript to write the embed tag in FF within the object tag.
Huh?! I don't know JS, either. What exactly would I be putting there?

Chris

_Aerospace_Eng_
06-30-2005, 06:45 PM
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://active.macromedia.com/director/cabs/sw.cab#version=6,0,1,0" width="512" height="384" name="Shockwave_Blackjack">
<param name="SRC" value="./gcc_bj_loader.dcr" />
<param name="BGCOLOR" value="#000000" />
<script type="text/javascript">
<!--
document.write('<embed src="./gcc_bj_loader.dcr" pluginspage="http://www.macromedia.com/shockwave/download/" type="application/x-director" name="Shockwave Blackjack" width="512" height="384" bgcolor="#000000" border="0" vspace="0" hspace="0"></embed>');
//-->
</script>
</object>

cjwsb
06-30-2005, 07:42 PM
YEAH!!!!!!!!!!!!!!

You did it!

That's it!!!!

Thank you so, so much.

Chris.

PS. My brother's an Aerospace Engineer at Patuxent Naval Air Base in MD. Fun shizzle!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum