Archive for April, 2009

Shockwave 3D vs. Google

Google introduced a new way to create 3D content for the web. Looks interesting.

Most content on the web today is in 2D, but a lot of information is more fun and useful in 3D. Projects like Google Earth and SketchUp demonstrate our passion and commitment to enabling users to create and interact with 3D content. We’d like to see the web offering the same type of 3D experiences that can be found on the desktop. That’s why, a few weeks ago, we announced our plans to contribute our technology and web development expertise to the discussions about 3D for the web within Khronos and the broader developer community.

4 comments April 21st, 2009

Firefox 3 and Mac: Solution to Vanishing Content

Ever since Firefox 3 came out there has been a problem on Macs where chunks/regions of the the displayed dcr file would would just “vanish” and show the background color of the html page you were viewing. [Note: With FF 3.0.1 I would rarely see this on a PC as well.] On Direct-L Valentin posted a possible solution that could be used to deal with this problem by adding some javascript to the html page.

You can see the code that was used below, read the entire thread (it is a long thread), and see it in action here.

HTML code that helps to properly display Shockwave-content on Macs that are using Firefox 3.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""> <html xmlns="" lang="en" xml:lang="en"> <head> <title>FF3 mac sw bug fix</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript"> <!-- function init(){ var isFFMac=(navigator.platform.indexOf('Mac')>-1&&navigator.userAgent.indexOf('Firefox')>-1); if(isFFMac){ var sw=document.getElementById('sw'); sw.onmousedown=function(){return false};; } } //--> </script> </head> <body onload="init()">

<div> <!--[if IE]> <object classid="clsid:233C1507-6A77-46A4-9443-F871F945D258" width="320" height="240"> <param name="src" value="myFileName.dcr" /> <![endif]--> <!--[if !IE]>--> <object id="sw" type="application/x-director" data="myFileName.dcr" width="320" height="240"> <!--<![endif]--> <param name="PlayerVersion" value="11" />

</object> </div>

<script type="text/javascript">document.write('<'+'div style="color:green">JAVASCRIPT IS ACTIVATED!<'+'/div>');</script> <noscript><div style="color:red">YOU DON'T HAVE JAVASCRIPT ACTIVATED!</div></noscript> </body> </html>

Update (July 20, 2009). Note: Using the method has proven to have problems with editable text members that are displayed in the content. So as of now, nothing seems to work reliably. Firefox 3.5.1 is now the current release, and it continues to have the same problem. Adobe has stated that FF is not included on the list of approved Mac browsers.

Add comment April 12th, 2009

Director Sites


April 2009
« Mar   Sep »


Recent Posts

Recent Comments